1 #ifndef DDRec_Material_H
2 #define DDRec_Material_H
63 MaterialData(
const std::string& nam,
double Z_val,
double A_val,
double density_val,
double radLength,
double intLength )
148 virtual double Z()
const {
return _Z ; }
151 virtual double A()
const {
return _A ; }
virtual double radiationLength() const
radiation length - tgeo units
MaterialData & operator=(const MaterialData &m)
copy assignement
virtual std::string name() const
material name
const char * name() const
Access the object name (or "" if not supported by the object)
virtual double A() const =0
averaged atomic number
Handle class describing a material.
bool isValid() const
Check the validity of the object held by the handle.
MaterialData(const IMaterial &m)
double intLength() const
Access the interaction length of the underlying material.
virtual double density() const
density
virtual std::string name() const =0
material name
MaterialData & operator=(const Geometry::Material &m)
assignment from Geometry::Material
MaterialData & operator=(const IMaterial &m)
assignment from Geometry::Material
MaterialData(const MaterialData &m)
virtual double density() const =0
density - units ?
MaterialData(Geometry::Material m)
double radLength() const
Access the radiation length of the underlying material.
virtual double interactionLength() const
interaction length - tgeo units
double A() const
atomic number of the underlying material
virtual double Z() const =0
averaged proton number
double Z() const
proton number of the underlying material
virtual double Z() const
averaged proton number
double density() const
density of the underlying material
virtual double interactionLength() const =0
interaction length - units ?
virtual double A() const
averaged atomic number
virtual double radiationLength() const =0
radiation length - units ?
bool isValid() const
true if initialized
MaterialData(const std::string &nam, double Z_val, double A_val, double density_val, double radLength, double intLength)