Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 const 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 88 of file G4Material.cc.

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 137 of file G4Material.cc.

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 176 of file G4Material.cc.

Here is the call graph for this function:

G4Material::~G4Material ( )
virtual

Definition at line 227 of file G4Material.cc.

G4Material::G4Material ( __void__ &  )

Definition at line 216 of file G4Material.cc.

Member Function Documentation

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

Definition at line 341 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 384 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 447 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 617 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 215 of file G4Material.hh.

Here is the caller graph for this function:

const G4int* G4Material::GetAtomsVector ( ) const
inline

Definition at line 197 of file G4Material.hh.

const G4Material* G4Material::GetBaseMaterial ( ) const
inline

Definition at line 232 of file G4Material.hh.

Here is the caller graph for this function:

const G4String& G4Material::GetChemicalFormula ( ) const
inline

Definition at line 178 of file G4Material.hh.

Here is the caller graph for this function:

G4double G4Material::GetDensity ( ) const
inline

Definition at line 179 of file G4Material.hh.

G4double G4Material::GetElectronDensity ( ) const
inline

Definition at line 216 of file G4Material.hh.

Here is the caller graph for this function:

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

Definition at line 201 of file G4Material.hh.

Here is the caller graph for this function:

const G4ElementVector* G4Material::GetElementVector ( ) const
inline

Definition at line 189 of file G4Material.hh.

const G4double* G4Material::GetFractionVector ( ) const
inline

Definition at line 193 of file G4Material.hh.

Here is the caller graph for this function:

size_t G4Material::GetIndex ( ) const
inline

Definition at line 261 of file G4Material.hh.

Here is the caller graph for this function:

G4IonisParamMat* G4Material::GetIonisation ( ) const
inline

Definition at line 225 of file G4Material.hh.

Here is the caller graph for this function:

G4double G4Material::GetMassOfMolecule ( ) const
inline

Definition at line 241 of file G4Material.hh.

Here is the caller graph for this function:

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

Definition at line 236 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 576 of file G4Material.cc.

Here is the call graph for this function:

G4MaterialPropertiesTable* G4Material::GetMaterialPropertiesTable ( ) const
inline

Definition at line 251 of file G4Material.hh.

Here is the caller graph for this function:

const G4MaterialTable * G4Material::GetMaterialTable ( )
static

Definition at line 562 of file G4Material.cc.

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

Definition at line 177 of file G4Material.hh.

G4double G4Material::GetNuclearInterLength ( ) const
inline

Definition at line 222 of file G4Material.hh.

Here is the caller graph for this function:

size_t G4Material::GetNumberOfElements ( ) const
inline

Definition at line 185 of file G4Material.hh.

size_t G4Material::GetNumberOfMaterials ( )
static

Definition at line 569 of file G4Material.cc.

Here is the caller graph for this function:

G4double G4Material::GetPressure ( ) const
inline

Definition at line 182 of file G4Material.hh.

Here is the caller graph for this function:

G4double G4Material::GetRadlen ( ) const
inline

Definition at line 219 of file G4Material.hh.

Here is the caller graph for this function:

G4SandiaTable* G4Material::GetSandiaTable ( ) const
inline

Definition at line 228 of file G4Material.hh.

Here is the caller graph for this function:

G4State G4Material::GetState ( ) const
inline

Definition at line 180 of file G4Material.hh.

Here is the caller graph for this function:

G4double G4Material::GetTemperature ( ) const
inline

Definition at line 181 of file G4Material.hh.

Here is the caller graph for this function:

G4double G4Material::GetTotNbOfAtomsPerVolume ( ) const
inline

Definition at line 208 of file G4Material.hh.

Here is the caller graph for this function:

G4double G4Material::GetTotNbOfElectPerVolume ( ) const
inline

Definition at line 211 of file G4Material.hh.

Here is the caller graph for this function:

const G4double* G4Material::GetVecNbOfAtomsPerVolume ( ) const
inline

Definition at line 205 of file G4Material.hh.

Here is the caller graph for this function:

G4double G4Material::GetZ ( ) const

Definition at line 604 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 689 of file G4Material.cc.

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

Definition at line 682 of file G4Material.cc.

void G4Material::SetChemicalFormula ( const G4String chF)
inline

Definition at line 172 of file G4Material.hh.

Here is the caller graph for this function:

void G4Material::SetMaterialPropertiesTable ( G4MaterialPropertiesTable anMPT)
inline

Definition at line 248 of file G4Material.hh.

Here is the caller graph for this function:

void G4Material::SetName ( const G4String name)
inline

Definition at line 282 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 740 of file G4Material.cc.

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

Definition at line 748 of file G4Material.cc.


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