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++) {
88 for (
int i=0; i<
nElem; i++){
107 for (
int i=0; i<
nElem; i++){
118 for (
int i=0; i<nconst; i++)
119 aEff += weights[i] * constituents[i]->
Aeff();
124 os <<
"Density= " << mat.
density <<
" g/cm3. Number of Elements: "
127 for (
int i=0; i<mat.
nElem; i++)
std::ostream & operator<<(std::ostream &, const BasicVector3D< float > &)
void computeDensity(int nconst, CCalMaterial **constituents, double *weights, FractionType ft)
double Weight(int i) const
G4String Element(int i) const
CCalAMaterial(G4String mat, double dens, int nelem, CCalAMaterial **constituents, double *weights)
void computeAeff(G4int nconst, CCalAMaterial **constituents, double *weights)
CCalAMaterial & operator=(const CCalAMaterial &)