Geant4
10.01.p03
|
#include <CCalMaterial.hh>
Public Types | |
enum | FractionType { FTWeight, FTVolume } |
Public Member Functions | |
CCalMaterial (G4String mat, double dens, int nelem, CCalMaterial **constituents, double *weights, FractionType=FTWeight) | |
CCalMaterial (const CCalMaterial &) | |
virtual | ~CCalMaterial () |
G4String | Name () const |
double | Density () const |
int | NElements () const |
G4String | Element (int i) const |
double | Weight (int i) const |
G4bool | operator== (const CCalMaterial &) const |
G4bool | operator!= (const CCalMaterial &) const |
CCalMaterial & | operator= (const CCalMaterial &) |
Protected Member Functions | |
CCalMaterial () | |
void | computeDensity (int nconst, CCalMaterial **constituents, double *weights, FractionType ft) |
void | closeMaterial () |
Protected Attributes | |
G4String | name |
double | density |
int | nElem |
G4String * | theElements |
double * | theWeights |
Friends | |
std::ostream & | operator<< (std::ostream &, const CCalMaterial &) |
Definition at line 36 of file CCalMaterial.hh.
Enumerator | |
---|---|
FTWeight | |
FTVolume |
Definition at line 41 of file CCalMaterial.hh.
CCalMaterial::CCalMaterial | ( | G4String | mat, |
double | dens, | ||
int | nelem, | ||
CCalMaterial ** | constituents, | ||
double * | weights, | ||
FractionType | ft = FTWeight |
||
) |
Definition at line 35 of file CCalMaterial.cc.
References closeMaterial(), computeDensity(), Density(), density, Element(), factor, FTWeight, nElem, NElements(), theElements, theWeights, and Weight().
CCalMaterial::CCalMaterial | ( | const CCalMaterial & | mat | ) |
Definition at line 67 of file CCalMaterial.cc.
References nElem, theElements, and theWeights.
|
virtual |
Definition at line 77 of file CCalMaterial.cc.
References theElements, and theWeights.
|
inlineprotected |
Definition at line 63 of file CCalMaterial.hh.
|
protected |
Definition at line 129 of file CCalMaterial.cc.
References G4cout, G4endl, nElem, theElements, and theWeights.
Referenced by CCalAMaterial::CCalAMaterial(), and CCalMaterial().
|
protected |
Definition at line 84 of file CCalMaterial.cc.
References Density(), density, and FTWeight.
Referenced by CCalAMaterial::CCalAMaterial(), and CCalMaterial().
|
inline |
Definition at line 52 of file CCalMaterial.hh.
References density.
Referenced by CCalMaterial(), computeDensity(), and CCalMaterialFactory::findMaterial().
|
inline |
Definition at line 54 of file CCalMaterial.hh.
References theElements.
Referenced by CCalAMaterial::CCalAMaterial(), CCalMaterial(), and CCalMaterialFactory::findMaterial().
|
inline |
Definition at line 51 of file CCalMaterial.hh.
References name.
Referenced by CCalMaterialFactory::findMaterial().
|
inline |
Definition at line 53 of file CCalMaterial.hh.
References nElem.
Referenced by CCalAMaterial::CCalAMaterial(), CCalMaterial(), and CCalMaterialFactory::findMaterial().
G4bool CCalMaterial::operator!= | ( | const CCalMaterial & | mat | ) | const |
Definition at line 125 of file CCalMaterial.cc.
References name.
CCalMaterial & CCalMaterial::operator= | ( | const CCalMaterial & | mat | ) |
Definition at line 102 of file CCalMaterial.cc.
References density, name, nElem, theElements, and theWeights.
G4bool CCalMaterial::operator== | ( | const CCalMaterial & | mat | ) | const |
Definition at line 121 of file CCalMaterial.cc.
References name.
|
inline |
Definition at line 55 of file CCalMaterial.hh.
References theWeights.
Referenced by CCalAMaterial::CCalAMaterial(), CCalMaterial(), and CCalMaterialFactory::findMaterial().
|
friend |
Definition at line 177 of file CCalMaterial.cc.
|
protected |
Definition at line 71 of file CCalMaterial.hh.
Referenced by CCalAMaterial::CCalAMaterial(), CCalMaterial(), computeDensity(), Density(), operator<<(), CCalAMaterial::operator=(), and operator=().
|
protected |
Definition at line 70 of file CCalMaterial.hh.
Referenced by CCalAMaterial::CCalAMaterial(), Name(), operator!=(), operator<<(), CCalAMaterial::operator=(), operator=(), and operator==().
|
protected |
Definition at line 72 of file CCalMaterial.hh.
Referenced by CCalAMaterial::CCalAMaterial(), CCalMaterial(), closeMaterial(), NElements(), operator<<(), CCalAMaterial::operator=(), and operator=().
|
protected |
Definition at line 73 of file CCalMaterial.hh.
Referenced by CCalAMaterial::CCalAMaterial(), CCalMaterial(), closeMaterial(), Element(), operator<<(), CCalAMaterial::operator=(), operator=(), and ~CCalMaterial().
|
protected |
Definition at line 74 of file CCalMaterial.hh.
Referenced by CCalAMaterial::CCalAMaterial(), CCalMaterial(), closeMaterial(), operator<<(), CCalAMaterial::operator=(), operator=(), Weight(), and ~CCalMaterial().