Belle II Software
release-08-01-10
|
Property of a material. More...
#include <GeoMaterialProperty.h>
Public Member Functions | |
GeoMaterialProperty ()=default | |
default constructor | |
GeoMaterialProperty (const std::string &name, const std::vector< double > &energies, const std::vector< double > &values) | |
full constructor | |
void | setName (const std::string &name) |
set name of the property | |
void | setEnergies (const std::vector< double > &energies) |
set energies for the property | |
void | setValues (const std::vector< double > &values) |
set values at the given energies | |
const std::string & | getName () const |
get name of the property | |
const std::vector< double > & | getEnergies () const |
get energies for the property | |
const std::vector< double > & | getValues () const |
get values at the given energies | |
int | getN () const |
get the number of values | |
Private Member Functions | |
ClassDef (GeoMaterialProperty, 1) | |
Add ROOT reflection info. | |
Private Attributes | |
std::string | m_name |
name of the property | |
std::vector< double > | m_energies |
energies for the property | |
std::vector< double > | m_values |
values at the given energies | |
Property of a material.
Definition at line 19 of file GeoMaterialProperty.h.