VGM Version 5.3
|
VGM implementation for Root material. More...
#include <Material.h>
Public Member Functions | |
Material (const std::string &name, double density, VGM::IElement *element, double radlen, double intlen) | |
Material (const std::string &name, double density, VGM::IElement *element, double radlen, double intlen, VGM::MaterialState state, double temperature, double pressure) | |
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 (TGeoMaterial *material, const VGM::ElementVector &elements) | |
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 Root material.
Definition at line 31 of file Material.h.
RootGM::Material::Material | ( | const std::string & | name, |
double | density, | ||
VGM::IElement * | element, | ||
double | radlen, | ||
double | intlen ) |
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 |
radlen | radiation length in mm |
intlen | nuclear interaction length in mm |
Definition at line 33 of file Material.cxx.
RootGM::Material::Material | ( | const std::string & | name, |
double | density, | ||
VGM::IElement * | element, | ||
double | radlen, | ||
double | intlen, | ||
VGM::MaterialState | state, | ||
double | temperature, | ||
double | pressure ) |
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 |
radlen | radiation length in mm |
intlen | nuclear interaction length in mm |
state | material state (not defined in Root material) |
temperature | material temperature (not defined in Root material) |
pressure | material pressure (not defined in Root material) |
Definition at line 77 of file Material.cxx.
RootGM::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.
RootGM::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 | material state (not defined in Root material) |
temperature | material temperature (not defined in Root material) |
pressure | material pressure (not defined in Root material) |
Definition at line 172 of file Material.cxx.
RootGM::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 225 of file Material.cxx.
RootGM::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 |
Definition at line 279 of file Material.cxx.
RootGM::Material::Material | ( | TGeoMaterial * | material, |
const VGM::ElementVector & | elements ) |
Standard constructor to define material from the Root object
Definition at line 338 of file Material.cxx.
|
virtual |
Definition at line 362 of file Material.cxx.
|
protected |
Protected default constructor
Definition at line 349 of file Material.cxx.
|
protected |
Protected copy constructor
Definition at line 355 of file Material.cxx.
|
virtual |
Return the name of this element.
Implements VGM::IMaterial.
Definition at line 428 of file Material.cxx.
|
virtual |
Return the density in g/cm3.
Implements VGM::IMaterial.
Definition at line 434 of file Material.cxx.
|
virtual |
Return the radiation length in mm.
Implements VGM::IMaterial.
Definition at line 440 of file Material.cxx.
|
virtual |
Return the nuclear interaction length in mm.
Implements VGM::IMaterial.
Definition at line 446 of file Material.cxx.
|
virtual |
|
virtual |
Return the temperature in kelvins.
Implements VGM::IMaterial.
Definition at line 458 of file Material.cxx.
|
virtual |
Return the density in atmosphere.
Implements VGM::IMaterial.
Definition at line 464 of file Material.cxx.
|
virtual |
Return the number of elements constituing this material.
Implements VGM::IMaterial.
Definition at line 470 of file Material.cxx.
|
virtual |
Return the i-th element constituing this material.
Implements VGM::IMaterial.
Definition at line 479 of file Material.cxx.
|
virtual |
Return the mass fraction of the i-th element constituing this material.
Implements VGM::IMaterial.
Definition at line 487 of file Material.cxx.
|
virtual |
Return the atom count of the i-th element constituing this material.
Implements VGM::IMaterial.
Definition at line 498 of file Material.cxx.