24 GeoMaterialProperty(
const std::string& name,
const std::vector<double>& energies,
const std::vector<double>& values):
ClassDef(GeoMaterialProperty, 1)
Add ROOT reflection info.
const std::vector< double > & getValues() const
get values at the given energies
const std::string & getName() const
get name of the property
std::vector< double > m_energies
energies for the property
int getN() const
get the number of values
void setEnergies(const std::vector< double > &energies)
set energies for the property
std::vector< double > m_values
values at the given energies
void setName(const std::string &name)
set name of the property
void setValues(const std::vector< double > &values)
set values at the given energies
GeoMaterialProperty(const std::string &name, const std::vector< double > &energies, const std::vector< double > &values)
full constructor
const std::vector< double > & getEnergies() const
get energies for the property
GeoMaterialProperty()=default
default constructor
std::string m_name
name of the property
Abstract base class for different kinds of events.