VGM Version 5.3
Loading...
Searching...
No Matches
RootGM::Material Class Reference

VGM implementation for Root material. More...

#include <Material.h>

Inheritance diagram for RootGM::Material:

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::IElementElement (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)
 

Detailed Description

VGM implementation for Root material.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 31 of file Material.h.

Constructor & Destructor Documentation

◆ Material() [1/9]

RootGM::Material::Material ( const std::string & name,
double density,
VGM::IElement * element,
double radlen,
double intlen )

Standard constructor to define material from parameters

Parameters
nameits name (must be unique in the factory)
densityin g/cm3
elementelement constituing this material
radlenradiation length in mm
intlennuclear interaction length in mm

Definition at line 33 of file Material.cxx.

◆ Material() [2/9]

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

Parameters
nameits name (must be unique in the factory)
densityin g/cm3
elementelement constituing this material
radlenradiation length in mm
intlennuclear interaction length in mm
statematerial state (not defined in Root material)
temperaturematerial temperature (not defined in Root material)
pressurematerial pressure (not defined in Root material)

Definition at line 77 of file Material.cxx.

◆ Material() [3/9]

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

Parameters
nameits name (must be unique in the factory)
densityin g/cm3
elementsvector of elements constituing this material
fractionsvector of mass fractions of elements constituing this material

Definition at line 127 of file Material.cxx.

◆ Material() [4/9]

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

Parameters
nameits name (must be unique in the factory)
densityin g/cm3
elementsvector of elements constituing this material
fractionsvector of mass fractions of elements constituing this material
statematerial state (not defined in Root material)
temperaturematerial temperature (not defined in Root material)
pressurematerial pressure (not defined in Root material)

Definition at line 172 of file Material.cxx.

◆ Material() [5/9]

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

Parameters
nameits name (must be unique in the factory)
densityin g/cm3
elementsvector of elements constituing this material
atomCountsvector of atom counts of elements constituing this material

Definition at line 225 of file Material.cxx.

◆ Material() [6/9]

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

Parameters
nameits name (must be unique in the factory)
densityin g/cm3
elementsvector of elements constituing this material
atomCountsvector of atom counts of elements constituing this material

Definition at line 279 of file Material.cxx.

◆ Material() [7/9]

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.

◆ ~Material()

RootGM::Material::~Material ( )
virtual

Definition at line 362 of file Material.cxx.

◆ Material() [8/9]

RootGM::Material::Material ( )
protected

Protected default constructor

Definition at line 349 of file Material.cxx.

◆ Material() [9/9]

RootGM::Material::Material ( const Material & rhs)
protected

Protected copy constructor

Definition at line 355 of file Material.cxx.

Member Function Documentation

◆ Name()

std::string RootGM::Material::Name ( ) const
virtual

Return the name of this element.

Implements VGM::IMaterial.

Definition at line 428 of file Material.cxx.

◆ Density()

double RootGM::Material::Density ( ) const
virtual

Return the density in g/cm3.

Implements VGM::IMaterial.

Definition at line 434 of file Material.cxx.

◆ RadiationLength()

double RootGM::Material::RadiationLength ( ) const
virtual

Return the radiation length in mm.

Implements VGM::IMaterial.

Definition at line 440 of file Material.cxx.

◆ NuclearInterLength()

double RootGM::Material::NuclearInterLength ( ) const
virtual

Return the nuclear interaction length in mm.

Implements VGM::IMaterial.

Definition at line 446 of file Material.cxx.

◆ State()

VGM::MaterialState RootGM::Material::State ( ) const
virtual

Return the material state.

Implements VGM::IMaterial.

Definition at line 452 of file Material.cxx.

◆ Temperature()

double RootGM::Material::Temperature ( ) const
virtual

Return the temperature in kelvins.

Implements VGM::IMaterial.

Definition at line 458 of file Material.cxx.

◆ Pressure()

double RootGM::Material::Pressure ( ) const
virtual

Return the density in atmosphere.

Implements VGM::IMaterial.

Definition at line 464 of file Material.cxx.

◆ NofElements()

int RootGM::Material::NofElements ( ) const
virtual

Return the number of elements constituing this material.

Implements VGM::IMaterial.

Definition at line 470 of file Material.cxx.

◆ Element()

VGM::IElement * RootGM::Material::Element ( int iel) const
virtual

Return the i-th element constituing this material.

Implements VGM::IMaterial.

Definition at line 479 of file Material.cxx.

◆ MassFraction()

double RootGM::Material::MassFraction ( int iel) const
virtual

Return the mass fraction of the i-th element constituing this material.

Implements VGM::IMaterial.

Definition at line 487 of file Material.cxx.

◆ AtomCount()

double RootGM::Material::AtomCount ( int iel) const
virtual

Return the atom count of the i-th element constituing this material.

Implements VGM::IMaterial.

Definition at line 498 of file Material.cxx.


The documentation for this class was generated from the following files: