Geant4
10.00.p01
|
#include <CCalAMaterial.hh>
Public Member Functions | |
CCalAMaterial (G4String mat, double dens, int nelem, CCalAMaterial **constituents, double *weights) | |
CCalAMaterial (G4String elemat, double Aeff, double dens) | |
CCalAMaterial (const CCalAMaterial &) | |
virtual | ~CCalAMaterial () |
G4double | Aeff () const |
CCalAMaterial & | operator= (const CCalAMaterial &) |
Public Member Functions inherited from CCalMaterial | |
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 | |
void | computeAeff (G4int nconst, CCalAMaterial **constituents, double *weights) |
Protected Member Functions inherited from CCalMaterial | |
CCalMaterial () | |
void | computeDensity (int nconst, CCalMaterial **constituents, double *weights, FractionType ft) |
void | closeMaterial () |
Protected Attributes | |
double | aEff |
Protected Attributes inherited from CCalMaterial | |
G4String | name |
double | density |
int | nElem |
G4String * | theElements |
double * | theWeights |
Friends | |
std::ostream & | operator<< (std::ostream &, const CCalAMaterial &) |
Additional Inherited Members | |
Public Types inherited from CCalMaterial | |
enum | FractionType { FTWeight, FTVolume } |
Definition at line 38 of file CCalAMaterial.hh.
CCalAMaterial::CCalAMaterial | ( | G4String | mat, |
double | dens, | ||
int | nelem, | ||
CCalAMaterial ** | constituents, | ||
double * | weights | ||
) |
Definition at line 33 of file CCalAMaterial.cc.
References Aeff(), CCalMaterial::closeMaterial(), computeAeff(), CCalMaterial::computeDensity(), CCalMaterial::density, CCalMaterial::Element(), CCalMaterial::FTVolume, CCalMaterial::name, CCalMaterial::nElem, CCalMaterial::NElements(), CCalMaterial::theElements, CCalMaterial::theWeights, and CCalMaterial::Weight().
CCalAMaterial::CCalAMaterial | ( | G4String | elemat, |
double | Aeff, | ||
double | dens | ||
) |
Definition at line 64 of file CCalAMaterial.cc.
References aEff, CCalMaterial::density, CCalMaterial::name, CCalMaterial::nElem, CCalMaterial::theElements, and CCalMaterial::theWeights.
CCalAMaterial::CCalAMaterial | ( | const CCalAMaterial & | mat | ) |
Definition at line 81 of file CCalAMaterial.cc.
References CCalMaterial::density, CCalMaterial::name, CCalMaterial::nElem, CCalMaterial::theElements, and CCalMaterial::theWeights.
|
virtual |
Definition at line 77 of file CCalAMaterial.cc.
|
inline |
Definition at line 51 of file CCalAMaterial.hh.
References aEff.
Referenced by CCalAMaterial(), and computeAeff().
|
protected |
Definition at line 114 of file CCalAMaterial.cc.
Referenced by CCalAMaterial().
CCalAMaterial & CCalAMaterial::operator= | ( | const CCalAMaterial & | mat | ) |
Definition at line 94 of file CCalAMaterial.cc.
References aEff, CCalMaterial::density, CCalMaterial::name, CCalMaterial::nElem, CCalMaterial::theElements, and CCalMaterial::theWeights.
|
friend |
Definition at line 122 of file CCalAMaterial.cc.
|
protected |
Definition at line 59 of file CCalAMaterial.hh.
Referenced by Aeff(), CCalAMaterial(), computeAeff(), operator<<(), and operator=().