|
VGM Version 5.3.1
|
VGM implementation for Geant4 material. More...
#include <Material.h>

Public Member Functions | |
| Material (const std::string &name, double density, VGM::IElement *element, bool isVacuum=false) | |
| Material (const std::string &name, double density, VGM::IElement *element, VGM::MaterialState state, double temperature, double pressure, bool isVacuum=false) | |
| Material (const std::string &name, double density, const VGM::ElementVector &elements, const VGM::MassFractionVector &fractions) | |
| Material (const std::string &name, double density, const VGM::ElementVector &elements, const VGM::MassFractionVector &fractions, VGM::MaterialState state, double temperature, double pressure) | |
| Material (const std::string &name, double density, const VGM::ElementVector &elements, const VGM::AtomCountVector &atomCounts) | |
| Material (const std::string &name, double density, const VGM::ElementVector &elements, const VGM::AtomCountVector &atomCounts, VGM::MaterialState state, double temperature, double pressure) | |
| Material (G4Material *material) | |
| virtual | ~Material () |
| virtual std::string | Name () const |
| Return the name of this element. | |
| virtual double | Density () const |
| Return the density in g/cm3. | |
| virtual double | RadiationLength () const |
| Return the radiation length in mm. | |
| virtual double | NuclearInterLength () const |
| Return the nuclear interaction length in mm. | |
| virtual VGM::MaterialState | State () const |
| Return the material state. | |
| virtual double | Temperature () const |
| Return the temperature in kelvins. | |
| virtual double | Pressure () const |
| Return the density in atmosphere. | |
| virtual int | NofElements () const |
| Return the number of elements constituing this material. | |
| virtual VGM::IElement * | Element (int iel) const |
| Return the i-th element constituing this material. | |
| virtual double | MassFraction (int iel) const |
| Return the mass fraction of the i-th element constituing this material. | |
| virtual double | AtomCount (int iel) const |
| Return the atom count of the i-th element constituing this material. | |
Public Member Functions inherited from VGM::IMaterial | |
| virtual | ~IMaterial () |
Protected Member Functions | |
| Material () | |
| Material (const Material &rhs) | |
VGM implementation for Geant4 material.
Definition at line 31 of file Material.h.
| Geant4GM::Material::Material | ( | const std::string & | name, |
| double | density, | ||
| VGM::IElement * | element, | ||
| bool | isVacuum = false ) |
Standard constructor to define material from parameters
| name | its name (must be unique in the factory) |
| density | in g/cm3 |
| element | element constituing this material |
| isVacuum | the flag for Vacuum material |
Definition at line 31 of file Material.cxx.
| Geant4GM::Material::Material | ( | const std::string & | name, |
| double | density, | ||
| VGM::IElement * | element, | ||
| VGM::MaterialState | state, | ||
| double | temperature, | ||
| double | pressure, | ||
| bool | isVacuum = false ) |
Standard constructor to define material from parameters
| name | its name (must be unique in the factory) |
| density | in g/cm3 |
| element | element constituing this material |
| state | the material state |
| temperature | the temperature in Kelvin |
| pressure | the pressure in atmosphere |
| isVacuum | the flag for Vacuum material |
Definition at line 75 of file Material.cxx.
| Geant4GM::Material::Material | ( | const std::string & | name, |
| double | density, | ||
| const VGM::ElementVector & | elements, | ||
| const VGM::MassFractionVector & | fractions ) |
Standard constructor to define compound material from parameters
| name | its name (must be unique in the factory) |
| density | in g/cm3 |
| elements | vector of elements constituing this material |
| fractions | vector of mass fractions of elements constituing this material |
Definition at line 127 of file Material.cxx.
| Geant4GM::Material::Material | ( | const std::string & | name, |
| double | density, | ||
| const VGM::ElementVector & | elements, | ||
| const VGM::MassFractionVector & | fractions, | ||
| VGM::MaterialState | state, | ||
| double | temperature, | ||
| double | pressure ) |
Standard constructor to define compound material from parameters
| name | its name (must be unique in the factory) |
| density | in g/cm3 |
| elements | vector of elements constituing this material |
| fractions | vector of mass fractions of elements constituing this material |
| state | the material state |
| temperature | the temperature in Kelvin |
| pressure | the pressure in atmosphere |
Definition at line 177 of file Material.cxx.
| Geant4GM::Material::Material | ( | const std::string & | name, |
| double | density, | ||
| const VGM::ElementVector & | elements, | ||
| const VGM::AtomCountVector & | atomCounts ) |
Standard constructor to define compound material from parameters
| name | its name (must be unique in the factory) |
| density | in g/cm3 |
| elements | vector of elements constituing this material |
| atomCounts | vector of atom counts of elements constituing this material |
Definition at line 235 of file Material.cxx.
| Geant4GM::Material::Material | ( | const std::string & | name, |
| double | density, | ||
| const VGM::ElementVector & | elements, | ||
| const VGM::AtomCountVector & | atomCounts, | ||
| VGM::MaterialState | state, | ||
| double | temperature, | ||
| double | pressure ) |
Standard constructor to define compound material from parameters
| name | its name (must be unique in the factory) |
| density | in g/cm3 |
| elements | vector of elements constituing this material |
| atomCounts | vector of atom counts of elements constituing this material |
| state | the material state |
| temperature | the temperature in Kelvin |
| pressure | the pressure in atmosphere |
Definition at line 285 of file Material.cxx.
| Geant4GM::Material::Material | ( | G4Material * | material | ) |
Standard constructor to define material from the G4 object
Definition at line 343 of file Material.cxx.
|
virtual |
Definition at line 362 of file Material.cxx.
|
protected |
Protected default constructor
Definition at line 350 of file Material.cxx.
|
protected |
Protected copy constructor
Definition at line 356 of file Material.cxx.
|
virtual |
Return the name of this element.
Implements VGM::IMaterial.
Definition at line 427 of file Material.cxx.
|
virtual |
Return the density in g/cm3.
Implements VGM::IMaterial.
Definition at line 430 of file Material.cxx.
|
virtual |
Return the radiation length in mm.
Implements VGM::IMaterial.
Definition at line 436 of file Material.cxx.
|
virtual |
Return the nuclear interaction length in mm.
Implements VGM::IMaterial.
Definition at line 442 of file Material.cxx.
|
virtual |
|
virtual |
Return the temperature in kelvins.
Implements VGM::IMaterial.
Definition at line 454 of file Material.cxx.
|
virtual |
Return the density in atmosphere.
Implements VGM::IMaterial.
Definition at line 460 of file Material.cxx.
|
virtual |
Return the number of elements constituing this material.
Implements VGM::IMaterial.
Definition at line 466 of file Material.cxx.
|
virtual |
Return the i-th element constituing this material.
Implements VGM::IMaterial.
Definition at line 472 of file Material.cxx.
|
virtual |
Return the mass fraction of the i-th element constituing this material.
Implements VGM::IMaterial.
Definition at line 481 of file Material.cxx.
|
virtual |
Return the atom count of the i-th element constituing this material.
Implements VGM::IMaterial.
Definition at line 489 of file Material.cxx.