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

VGM implementation for Geant4 material. More...

#include <Material.h>

Inheritance diagram for Geant4GM::Material:

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::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 Geant4 material.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 31 of file Material.h.

Constructor & Destructor Documentation

◆ Material() [1/9]

Geant4GM::Material::Material ( const std::string & name,
double density,
VGM::IElement * element,
bool isVacuum = false )

Standard constructor to define material from parameters

Parameters
nameits name (must be unique in the factory)
densityin g/cm3
elementelement constituing this material
isVacuumthe flag for Vacuum material

Definition at line 31 of file Material.cxx.

◆ Material() [2/9]

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

Parameters
nameits name (must be unique in the factory)
densityin g/cm3
elementelement constituing this material
statethe material state
temperaturethe temperature in Kelvin
pressurethe pressure in atmosphere
isVacuumthe flag for Vacuum material

Definition at line 75 of file Material.cxx.

◆ Material() [3/9]

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

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]

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

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
statethe material state
temperaturethe temperature in Kelvin
pressurethe pressure in atmosphere

Definition at line 177 of file Material.cxx.

◆ Material() [5/9]

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

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 235 of file Material.cxx.

◆ Material() [6/9]

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

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
statethe material state
temperaturethe temperature in Kelvin
pressurethe pressure in atmosphere

Definition at line 285 of file Material.cxx.

◆ Material() [7/9]

Geant4GM::Material::Material ( G4Material * material)

Standard constructor to define material from the G4 object

Definition at line 343 of file Material.cxx.

◆ ~Material()

Geant4GM::Material::~Material ( )
virtual

Definition at line 362 of file Material.cxx.

◆ Material() [8/9]

Geant4GM::Material::Material ( )
protected

Protected default constructor

Definition at line 350 of file Material.cxx.

◆ Material() [9/9]

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

Protected copy constructor

Definition at line 356 of file Material.cxx.

Member Function Documentation

◆ Name()

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

Return the name of this element.

Implements VGM::IMaterial.

Definition at line 427 of file Material.cxx.

◆ Density()

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

Return the density in g/cm3.

Implements VGM::IMaterial.

Definition at line 430 of file Material.cxx.

◆ RadiationLength()

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

Return the radiation length in mm.

Implements VGM::IMaterial.

Definition at line 436 of file Material.cxx.

◆ NuclearInterLength()

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

Return the nuclear interaction length in mm.

Implements VGM::IMaterial.

Definition at line 442 of file Material.cxx.

◆ State()

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

Return the material state.

Implements VGM::IMaterial.

Definition at line 448 of file Material.cxx.

◆ Temperature()

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

Return the temperature in kelvins.

Implements VGM::IMaterial.

Definition at line 454 of file Material.cxx.

◆ Pressure()

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

Return the density in atmosphere.

Implements VGM::IMaterial.

Definition at line 460 of file Material.cxx.

◆ NofElements()

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

Return the number of elements constituing this material.

Implements VGM::IMaterial.

Definition at line 466 of file Material.cxx.

◆ Element()

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

Return the i-th element constituing this material.

Implements VGM::IMaterial.

Definition at line 472 of file Material.cxx.

◆ MassFraction()

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

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

Implements VGM::IMaterial.

Definition at line 481 of file Material.cxx.

◆ AtomCount()

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

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

Implements VGM::IMaterial.

Definition at line 489 of file Material.cxx.


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