#include <CCalAMaterial.hh>
|
| | 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 &) |
| |
| | 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 &) |
| |
Definition at line 38 of file CCalAMaterial.hh.
Definition at line 33 of file CCalAMaterial.cc.
38 for (i=0; i<nconst; i++)
46 for (i=0; i<nconst; i++) {
47 factor=constituents[i]->
Aeff();
48 for (
int j=0; j<constituents[i]->
NElements(); j++) {
double Weight(int i) const
void computeAeff(G4int nconst, CCalAMaterial **constituents, double *weights)
void computeDensity(int nconst, CCalMaterial **constituents, double *weights, FractionType ft)
G4String Element(int i) const
| CCalAMaterial::CCalAMaterial |
( |
G4String |
elemat, |
|
|
double |
Aeff, |
|
|
double |
dens |
|
) |
| |
| CCalAMaterial::~CCalAMaterial |
( |
| ) |
|
|
virtual |
| std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const CCalAMaterial & |
mat |
|
) |
| |
|
friend |
Definition at line 122 of file CCalAMaterial.cc.
124 os <<
"Density= " << mat.
density <<
" g/cm3. Number of Elements: "
127 for (
int i=0; i<mat.
nElem; i++)
| double CCalAMaterial::aEff |
|
protected |
The documentation for this class was generated from the following files:
- source/geant4.10.03.p02/examples/advanced/composite_calorimeter/include/CCalAMaterial.hh
- source/geant4.10.03.p02/examples/advanced/composite_calorimeter/src/CCalAMaterial.cc