Geant4_10
Public Member Functions | Static Public Member Functions | Friends | List of all members
G4Material Class Reference

#include <G4Material.hh>

Public Member Functions

 G4Material (const G4String &name, G4double z, G4double a, G4double density, G4State state=kStateUndefined, G4double temp=CLHEP::STP_Temperature, G4double pressure=CLHEP::STP_Pressure)
 
 G4Material (const G4String &name, G4double density, G4int nComponents, G4State state=kStateUndefined, G4double temp=CLHEP::STP_Temperature, G4double pressure=CLHEP::STP_Pressure)
 
 G4Material (const G4String &name, G4double density, const G4Material *baseMaterial, G4State state=kStateUndefined, G4double temp=CLHEP::STP_Temperature, G4double pressure=CLHEP::STP_Pressure)
 
void AddElement (G4Element *element, G4int nAtoms)
 
void AddElement (G4Element *element, G4double fraction)
 
void AddMaterial (G4Material *material, G4double fraction)
 
virtual ~G4Material ()
 
void SetChemicalFormula (const G4String &chF)
 
const G4StringGetName () const
 
const G4StringGetChemicalFormula () const
 
G4double GetDensity () const
 
G4State GetState () const
 
G4double GetTemperature () const
 
G4double GetPressure () const
 
size_t GetNumberOfElements () const
 
const G4ElementVectorGetElementVector () const
 
const G4doubleGetFractionVector () const
 
const G4intGetAtomsVector () const
 
const G4ElementGetElement (G4int iel) const
 
const G4doubleGetVecNbOfAtomsPerVolume () const
 
G4double GetTotNbOfAtomsPerVolume () const
 
G4double GetTotNbOfElectPerVolume () const
 
const G4doubleGetAtomicNumDensityVector () const
 
G4double GetElectronDensity () const
 
G4double GetRadlen () const
 
G4double GetNuclearInterLength () const
 
G4IonisParamMatGetIonisation () const
 
G4SandiaTableGetSandiaTable () const
 
const G4MaterialGetBaseMaterial () const
 
std::map< G4Material *, G4doubleGetMatComponents () const
 
G4double GetMassOfMolecule () const
 
G4double GetZ () const
 
G4double GetA () const
 
void SetMaterialPropertiesTable (G4MaterialPropertiesTable *anMPT)
 
G4MaterialPropertiesTableGetMaterialPropertiesTable () const
 
size_t GetIndex () const
 
G4int operator== (const G4Material &) const
 
G4int operator!= (const G4Material &) const
 
 G4Material (__void__ &)
 
void SetName (const G4String &name)
 

Static Public Member Functions

static G4MaterialTableGetMaterialTable ()
 
static size_t GetNumberOfMaterials ()
 
static G4MaterialGetMaterial (const G4String &name, G4bool warning=true)
 

Friends

std::ostream & operator<< (std::ostream &, G4Material *)
 
std::ostream & operator<< (std::ostream &, G4Material &)
 
std::ostream & operator<< (std::ostream &, G4MaterialTable)
 

Detailed Description

Definition at line 118 of file G4Material.hh.

Constructor & Destructor Documentation

G4Material::G4Material ( const G4String name,
G4double  z,
G4double  a,
G4double  density,
G4State  state = kStateUndefined,
G4double  temp = CLHEP::STP_Temperature,
G4double  pressure = CLHEP::STP_Pressure 
)

Definition at line 87 of file G4Material.cc.

Here is the call graph for this function:

G4Material::G4Material ( const G4String name,
G4double  density,
G4int  nComponents,
G4State  state = kStateUndefined,
G4double  temp = CLHEP::STP_Temperature,
G4double  pressure = CLHEP::STP_Pressure 
)

Definition at line 134 of file G4Material.cc.

Here is the call graph for this function:

G4Material::G4Material ( const G4String name,
G4double  density,
const G4Material baseMaterial,
G4State  state = kStateUndefined,
G4double  temp = CLHEP::STP_Temperature,
G4double  pressure = CLHEP::STP_Pressure 
)

Definition at line 173 of file G4Material.cc.

Here is the call graph for this function:

G4Material::~G4Material ( )
virtual

Definition at line 224 of file G4Material.cc.

G4Material::G4Material ( __void__ &  )

Definition at line 213 of file G4Material.cc.

Member Function Documentation

void G4Material::AddElement ( G4Element element,
G4int  nAtoms 
)

Definition at line 345 of file G4Material.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4Material::AddElement ( G4Element element,
G4double  fraction 
)

Definition at line 387 of file G4Material.cc.

Here is the call graph for this function:

void G4Material::AddMaterial ( G4Material material,
G4double  fraction 
)

store massFraction of material component

Definition at line 450 of file G4Material.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4double G4Material::GetA ( ) const

Definition at line 619 of file G4Material.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

const G4double* G4Material::GetAtomicNumDensityVector ( ) const
inline

Definition at line 214 of file G4Material.hh.

Here is the caller graph for this function:

const G4int* G4Material::GetAtomsVector ( ) const
inline

Definition at line 196 of file G4Material.hh.

const G4Material* G4Material::GetBaseMaterial ( ) const
inline

Definition at line 231 of file G4Material.hh.

Here is the caller graph for this function:

const G4String& G4Material::GetChemicalFormula ( ) const
inline

Definition at line 177 of file G4Material.hh.

Here is the caller graph for this function:

G4double G4Material::GetDensity ( ) const
inline

Definition at line 178 of file G4Material.hh.

G4double G4Material::GetElectronDensity ( ) const
inline

Definition at line 215 of file G4Material.hh.

Here is the caller graph for this function:

const G4Element* G4Material::GetElement ( G4int  iel) const
inline

Definition at line 200 of file G4Material.hh.

Here is the caller graph for this function:

const G4ElementVector* G4Material::GetElementVector ( ) const
inline

Definition at line 188 of file G4Material.hh.

const G4double* G4Material::GetFractionVector ( ) const
inline

Definition at line 192 of file G4Material.hh.

Here is the caller graph for this function:

size_t G4Material::GetIndex ( ) const
inline

Definition at line 260 of file G4Material.hh.

Here is the caller graph for this function:

G4IonisParamMat* G4Material::GetIonisation ( ) const
inline

Definition at line 224 of file G4Material.hh.

Here is the caller graph for this function:

G4double G4Material::GetMassOfMolecule ( ) const
inline

Definition at line 240 of file G4Material.hh.

Here is the caller graph for this function:

std::map<G4Material*,G4double> G4Material::GetMatComponents ( ) const
inline

Definition at line 235 of file G4Material.hh.

Here is the caller graph for this function:

G4Material * G4Material::GetMaterial ( const G4String name,
G4bool  warning = true 
)
static

Definition at line 578 of file G4Material.cc.

Here is the call graph for this function:

G4MaterialPropertiesTable* G4Material::GetMaterialPropertiesTable ( ) const
inline

Definition at line 250 of file G4Material.hh.

Here is the caller graph for this function:

G4MaterialTable * G4Material::GetMaterialTable ( )
static

Definition at line 564 of file G4Material.cc.

const G4String& G4Material::GetName ( void  ) const
inline

Definition at line 176 of file G4Material.hh.

G4double G4Material::GetNuclearInterLength ( ) const
inline

Definition at line 221 of file G4Material.hh.

Here is the caller graph for this function:

size_t G4Material::GetNumberOfElements ( ) const
inline

Definition at line 184 of file G4Material.hh.

size_t G4Material::GetNumberOfMaterials ( )
static

Definition at line 571 of file G4Material.cc.

Here is the caller graph for this function:

G4double G4Material::GetPressure ( ) const
inline

Definition at line 181 of file G4Material.hh.

Here is the caller graph for this function:

G4double G4Material::GetRadlen ( ) const
inline

Definition at line 218 of file G4Material.hh.

Here is the caller graph for this function:

G4SandiaTable* G4Material::GetSandiaTable ( ) const
inline

Definition at line 227 of file G4Material.hh.

Here is the caller graph for this function:

G4State G4Material::GetState ( ) const
inline

Definition at line 179 of file G4Material.hh.

Here is the caller graph for this function:

G4double G4Material::GetTemperature ( ) const
inline

Definition at line 180 of file G4Material.hh.

Here is the caller graph for this function:

G4double G4Material::GetTotNbOfAtomsPerVolume ( ) const
inline

Definition at line 207 of file G4Material.hh.

Here is the caller graph for this function:

G4double G4Material::GetTotNbOfElectPerVolume ( ) const
inline

Definition at line 210 of file G4Material.hh.

Here is the caller graph for this function:

const G4double* G4Material::GetVecNbOfAtomsPerVolume ( ) const
inline

Definition at line 204 of file G4Material.hh.

Here is the caller graph for this function:

G4double G4Material::GetZ ( ) const

Definition at line 606 of file G4Material.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4int G4Material::operator!= ( const G4Material right) const

Definition at line 690 of file G4Material.cc.

G4int G4Material::operator== ( const G4Material right) const

Definition at line 683 of file G4Material.cc.

void G4Material::SetChemicalFormula ( const G4String chF)
inline

Definition at line 171 of file G4Material.hh.

Here is the caller graph for this function:

void G4Material::SetMaterialPropertiesTable ( G4MaterialPropertiesTable anMPT)
inline

Definition at line 247 of file G4Material.hh.

Here is the caller graph for this function:

void G4Material::SetName ( const G4String name)
inline

Definition at line 281 of file G4Material.hh.

Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  flux,
G4Material material 
)
friend

Definition at line 697 of file G4Material.cc.

std::ostream& operator<< ( std::ostream &  flux,
G4Material material 
)
friend

Definition at line 742 of file G4Material.cc.

std::ostream& operator<< ( std::ostream &  flux,
G4MaterialTable  MaterialTable 
)
friend

Definition at line 750 of file G4Material.cc.


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