2 #ifndef GEAR_SimpleMaterialImpl_H
3 #define GEAR_SimpleMaterialImpl_H 1
5 #include "gear/SimpleMaterial.h"
38 virtual const std::string &
getName()
const {
return _name ; }
41 virtual double getA()
const {
return _A ; }
44 virtual double getZ()
const {
return _Z ; }
67 #endif // ifndef GEAR_SimpleMaterialImpl_H
virtual double getDensity() const
Density in kg/m^3.
virtual const std::string & getName() const
The material name.
Abstract interface for a simple material description tjhat hold s the following properties: A...
virtual double getRadLength() const
Radiation length of material in mm.
virtual double getZ() const
The atomic number of the (averaged) material.
SimpleMaterialImpl(const std::string name, double A, double Z, double density, double radLen, double intLen)
Only c'tor specifying all data attributes.
virtual ~SimpleMaterialImpl()
Destructor.
virtual double getA() const
The mass number of the (averaged) material.
virtual double getIntLength() const
Interaction length of material in mm.
Implementation of gear::SimpleMaterial.