20#ifndef ROOT_GM_MATERIAL_H
21#define ROOT_GM_MATERIAL_H
25#include "TGeoMaterial.h"
35 double radlen,
double intlen);
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 static const double fgkVacuumDensity;
85 static const double fgkVacuumTemperature;
86 static const double fgkVacuumPressure;
88 TGeoMaterial* fMaterial;
VGM implementation for Root material.
virtual double Density() const
Return the density in g/cm3.
virtual double NuclearInterLength() const
Return the nuclear interaction length in mm.
virtual double Temperature() const
Return the temperature in kelvins.
virtual std::string Name() const
Return the name of this element.
virtual double Pressure() const
Return the density in atmosphere.
virtual double RadiationLength() const
Return the radiation length in mm.
virtual VGM::MaterialState State() const
Return the material state.
virtual VGM::IElement * Element(int iel) const
Return 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.
virtual int NofElements() const
Return the number of elements constituing this material.
virtual double MassFraction(int iel) const
Return the mass fraction of the i-th element constituing this material.
The VGM interface to elements.
The VGM interface to materials.
VGM implementation for Root.
std::vector< int > AtomCountVector
std::vector< double > MassFractionVector
std::vector< IElement * > ElementVector