#include <AGDDMixture.h>
Definition at line 16 of file AGDDMixture.h.
◆ AGDDMixture()
Definition at line 25 of file AGDDMixture.cxx.
25 :
27{
29}
AGDDSimpleMaterial(AGDDMaterialStore &ms, const std::string &n, double d)
◆ AddMaterial()
Definition at line 31 of file AGDDMixture.cxx.
32{
35}
std::vector< AGDDSimpleMaterial * > m_theMaterials
◆ Composition()
| double AGDDMixture::Composition |
( |
int | i | ) |
const |
|
inline |
Definition at line 24 of file AGDDMixture.h.
std::vector< double > m_theComposition
◆ Created()
| void AGDDSimpleMaterial::Created |
( |
bool | b | ) |
|
|
inlineinherited |
◆ Extant()
| bool AGDDSimpleMaterial::Extant |
( |
| ) |
const |
|
inlineinherited |
◆ Fraction()
| void AGDDMixture::Fraction |
( |
double | d | ) |
|
◆ GetDensity()
| double AGDDSimpleMaterial::GetDensity |
( |
| ) |
const |
|
inlineinherited |
◆ GetMaterial()
| void * AGDDSimpleMaterial::GetMaterial |
( |
| ) |
|
|
inlineinherited |
◆ GetMaterialType()
◆ GetName()
| const std::string & AGDDSimpleMaterial::GetName |
( |
| ) |
const |
|
inherited |
◆ Material()
◆ NComponents()
| int AGDDMixture::NComponents |
( |
| ) |
const |
|
inline |
◆ RegisterToStore()
◆ SetMaterial()
| void AGDDSimpleMaterial::SetMaterial |
( |
void * | mat | ) |
|
|
inlineinherited |
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const AGDDMixture & | obj ) |
|
friend |
Definition at line 12 of file AGDDMixture.cxx.
13{
14 os<<
"- Material "<<
obj.m_name<<
" type=Mixture density="<<
obj.m_density<<std::endl;
15 os<<
"\tcomponents"<<std::endl;
16 for (
unsigned int i=0;
i<
obj.m_theMaterials.size();
i++)
17 {
18 const std::string
ss=
obj.m_theMaterials[
i]->GetName();
19 const double ii=
obj.m_theComposition[
i];
20 os<<
"\t\t material "<<
ss<<
" fraction="<<ii<<std::endl;
21 }
23}
◆ m_created
| bool AGDDSimpleMaterial::m_created |
|
protectedinherited |
◆ m_density
| double AGDDSimpleMaterial::m_density |
|
protectedinherited |
◆ m_mType
◆ m_name
| std::string AGDDSimpleMaterial::m_name |
|
protectedinherited |
◆ m_theComposition
| std::vector<double> AGDDMixture::m_theComposition |
|
private |
◆ m_theMaterial
| void* AGDDSimpleMaterial::m_theMaterial |
|
protectedinherited |
◆ m_theMaterials
The documentation for this class was generated from the following files: