20#ifndef GEANT4_GM_MATERIAL_H
21#define GEANT4_GM_MATERIAL_H
25#include "G4Material.hh"
35 bool isVacuum =
false);
39 bool isVacuum =
false);
41 Material(
const std::string& name,
double density,
45 Material(
const std::string& name,
double density,
48 double temperature,
double pressure);
50 Material(
const std::string& name,
double density,
53 Material(
const std::string& name,
double density,
61 virtual std::string
Name()
const;
80 void CheckIndex(
int iel)
const;
84 G4Material* fMaterial;
VGM implementation for Geant4 material.
virtual double MassFraction(int iel) const
Return the mass fraction of the i-th element constituing this material.
virtual VGM::IElement * Element(int iel) const
Return the i-th element constituing this material.
virtual double Pressure() const
Return the density in atmosphere.
virtual double Temperature() const
Return the temperature in kelvins.
virtual double Density() const
Return the density in g/cm3.
virtual std::string Name() const
Return the name of this element.
virtual double AtomCount(int iel) const
Return the atom count of the i-th element constituing this material.
virtual VGM::MaterialState State() const
Return the material state.
virtual double RadiationLength() const
Return the radiation length in mm.
virtual double NuclearInterLength() const
Return the nuclear interaction length in mm.
virtual int NofElements() const
Return the number of elements constituing this material.
The VGM interface to elements.
The VGM interface to materials.
VGM implementation for Geant4.
std::vector< int > AtomCountVector
std::vector< double > MassFractionVector
std::vector< IElement * > ElementVector