Geant4  10.01.p03
CCalAMaterial Class Reference

#include <CCalAMaterial.hh>

+ Inheritance diagram for CCalAMaterial:
+ Collaboration diagram for CCalAMaterial:

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
 
CCalAMaterialoperator= (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
 
CCalMaterialoperator= (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
 
G4StringtheElements
 
double * theWeights
 

Friends

std::ostream & operator<< (std::ostream &, const CCalAMaterial &)
 

Additional Inherited Members

- Public Types inherited from CCalMaterial
enum  FractionType { FTWeight, FTVolume }
 

Detailed Description

Definition at line 38 of file CCalAMaterial.hh.

Constructor & Destructor Documentation

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(), factor, CCalMaterial::FTVolume, CCalMaterial::name, CCalMaterial::nElem, CCalMaterial::NElements(), CCalMaterial::theElements, CCalMaterial::theWeights, and CCalMaterial::Weight().

+ Here is the call graph for this function:

CCalAMaterial::CCalAMaterial ( G4String  elemat,
double  Aeff,
double  dens 
)
CCalAMaterial::CCalAMaterial ( const CCalAMaterial mat)
CCalAMaterial::~CCalAMaterial ( )
virtual

Definition at line 77 of file CCalAMaterial.cc.

Member Function Documentation

G4double CCalAMaterial::Aeff ( ) const
inline

Definition at line 51 of file CCalAMaterial.hh.

References aEff.

Referenced by CCalAMaterial(), and computeAeff().

+ Here is the caller graph for this function:

void CCalAMaterial::computeAeff ( G4int  nconst,
CCalAMaterial **  constituents,
double *  weights 
)
protected

Definition at line 114 of file CCalAMaterial.cc.

References Aeff(), and aEff.

Referenced by CCalAMaterial().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

CCalAMaterial & CCalAMaterial::operator= ( const CCalAMaterial mat)

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CCalAMaterial mat 
)
friend

Definition at line 122 of file CCalAMaterial.cc.

Member Data Documentation

double CCalAMaterial::aEff
protected

Definition at line 59 of file CCalAMaterial.hh.

Referenced by Aeff(), CCalAMaterial(), computeAeff(), operator<<(), and operator=().


The documentation for this class was generated from the following files: