#include <DetectorDescription/Core/src/Material.h>
Public Member Functions | |
double & | a () |
double | a () const |
int | addMaterial (const DDMaterial &m, double fm) |
DDMaterial::FractionV::value_type & | constituent (int i) |
const DDMaterial::FractionV::value_type & | constituent (int i) const |
double & | density () |
double | density () const |
Material (double d) | |
Material (double z, double a, double d) | |
Material () | |
int | noOfConsituents () const |
int | noOfConstituents () const |
double & | z () |
double | z () const |
virtual | ~Material () |
Protected Attributes | |
double | a_ |
DDMaterial::FractionV | composites_ |
double | density_ |
double | z_ |
Definition at line 12 of file Material.h.
DDI::Material::Material | ( | ) | [inline] |
DDI::Material::Material | ( | double | z, | |
double | a, | |||
double | d | |||
) | [inline] |
DDI::Material::Material | ( | double | d | ) | [inline] |
virtual DDI::Material::~Material | ( | ) | [inline, virtual] |
double& DDI::Material::a | ( | ) | [inline] |
double DDI::Material::a | ( | ) | const [inline] |
int DDI::Material::addMaterial | ( | const DDMaterial & | m, | |
double | fm | |||
) | [inline] |
Definition at line 31 of file Material.h.
References composites_, and noOfConstituents().
00032 { composites_.push_back(std::make_pair(m,fm)); 00033 return noOfConstituents(); 00034 }
DDMaterial::FractionV::value_type& DDI::Material::constituent | ( | int | i | ) | [inline] |
const DDMaterial::FractionV::value_type& DDI::Material::constituent | ( | int | i | ) | const [inline] |
double& DDI::Material::density | ( | ) | [inline] |
double DDI::Material::density | ( | ) | const [inline] |
int DDI::Material::noOfConsituents | ( | ) | const |
int DDI::Material::noOfConstituents | ( | ) | const [inline] |
Definition at line 42 of file Material.h.
References composites_.
Referenced by addMaterial().
00042 { return composites_.size(); }
double& DDI::Material::z | ( | ) | [inline] |
double DDI::Material::z | ( | ) | const [inline] |
double DDI::Material::a_ [protected] |
DDMaterial::FractionV DDI::Material::composites_ [protected] |
Definition at line 46 of file Material.h.
Referenced by addMaterial(), constituent(), and noOfConstituents().
double DDI::Material::density_ [protected] |
double DDI::Material::z_ [protected] |