Geant4  10.00
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
G4Material Class Reference

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)
 

Private Member Functions

 G4Material (const G4Material &)
 
const G4Materialoperator= (const G4Material &)
 
void InitializePointers ()
 
void ComputeDerivedQuantities ()
 
void ComputeRadiationLength ()
 
void ComputeNuclearInterLength ()
 
void CopyPointersOfBaseMaterial ()
 

Private Attributes

G4String fName
 
G4String fChemicalFormula
 
G4double fDensity
 
G4State fState
 
G4double fTemp
 
G4double fPressure
 
G4int maxNbComponents
 
G4int fArrayLength
 
size_t fNumberOfComponents
 
size_t fNumberOfElements
 
G4ElementVectortheElementVector
 
G4bool fImplicitElement
 
G4doublefMassFractionVector
 
G4intfAtomsVector
 
G4MaterialPropertiesTablefMaterialPropertiesTable
 
size_t fIndexInTable
 
G4doubleVecNbOfAtomsPerVolume
 
G4double TotNbOfAtomsPerVolume
 
G4double TotNbOfElectPerVolume
 
G4double fRadlen
 
G4double fNuclInterLen
 
G4IonisParamMatfIonisation
 
G4SandiaTablefSandiaTable
 
const G4MaterialfBaseMaterial
 
G4double fMassOfMolecule
 
std::map< G4Material *, G4doublefMatComponents
 

Static Private Attributes

static G4MaterialTable theMaterialTable
 

Friends

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

Constructor & Destructor Documentation

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 
)
virtual ~G4Material ( )
virtual
G4Material ( __void__ &  )
G4Material ( const G4Material )
private

Member Function Documentation

void AddElement ( G4Element element,
G4int  nAtoms 
)
void AddElement ( G4Element element,
G4double  fraction 
)
void AddMaterial ( G4Material material,
G4double  fraction 
)
void SetChemicalFormula ( const G4String chF)

References fChemicalFormula.

const G4String& GetChemicalFormula ( ) const

References fChemicalFormula.

G4double GetDensity ( ) const
G4State GetState ( ) const

References fState.

G4double GetTemperature ( ) const

References fTemp.

G4double GetPressure ( ) const

References fPressure.

size_t GetNumberOfElements ( ) const
const G4double* GetFractionVector ( ) const

References fMassFractionVector.

const G4int* GetAtomsVector ( ) const

References fAtomsVector.

const G4Element* GetElement ( G4int  iel) const

References theElementVector.

const G4double* GetVecNbOfAtomsPerVolume ( ) const
G4double GetTotNbOfAtomsPerVolume ( ) const
G4double GetTotNbOfElectPerVolume ( ) const

References TotNbOfElectPerVolume.

const G4double* GetAtomicNumDensityVector ( ) const
G4double GetElectronDensity ( ) const

References TotNbOfElectPerVolume.

G4double GetRadlen ( ) const

References fRadlen.

G4double GetNuclearInterLength ( ) const

References fNuclInterLen.

G4SandiaTable* GetSandiaTable ( ) const

References fSandiaTable.

const G4Material* GetBaseMaterial ( ) const

References fBaseMaterial.

Referenced by G4VEmProcess::DefineMaterial().

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

References fMatComponents.

G4double GetMassOfMolecule ( ) const

References fMassOfMolecule.

G4double GetZ ( ) const
G4double GetA ( ) const
void SetMaterialPropertiesTable ( G4MaterialPropertiesTable anMPT)
G4MaterialPropertiesTable* GetMaterialPropertiesTable ( ) const
static G4MaterialTable* GetMaterialTable ( )
static
static size_t GetNumberOfMaterials ( )
static
static G4Material* GetMaterial ( const G4String name,
G4bool  warning = true 
)
static
G4int operator== ( const G4Material ) const
G4int operator!= ( const G4Material ) const
void SetName ( const G4String name)

References fName.

const G4Material& operator= ( const G4Material )
private
void InitializePointers ( )
private
void ComputeDerivedQuantities ( )
private
void ComputeRadiationLength ( )
private
void ComputeNuclearInterLength ( )
private
void CopyPointersOfBaseMaterial ( )
private

Friends And Related Function Documentation

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

Member Data Documentation

G4String fName
private

Referenced by GetName(), and SetName().

G4String fChemicalFormula
private
G4double fDensity
private

Referenced by GetDensity().

G4State fState
private

Referenced by GetState().

G4double fTemp
private

Referenced by GetTemperature().

G4double fPressure
private

Referenced by GetPressure().

G4int maxNbComponents
private
G4int fArrayLength
private
size_t fNumberOfComponents
private
size_t fNumberOfElements
private

Referenced by GetNumberOfElements().

G4ElementVector* theElementVector
private

Referenced by GetElement(), and GetElementVector().

G4bool fImplicitElement
private
G4double* fMassFractionVector
private

Referenced by GetFractionVector().

G4int* fAtomsVector
private

Referenced by GetAtomsVector().

G4MaterialPropertiesTable* fMaterialPropertiesTable
private
G4MaterialTable theMaterialTable
staticprivate
size_t fIndexInTable
private

Referenced by GetIndex().

G4double* VecNbOfAtomsPerVolume
private
G4double TotNbOfAtomsPerVolume
private
G4double TotNbOfElectPerVolume
private
G4double fRadlen
private

Referenced by GetRadlen().

G4double fNuclInterLen
private

Referenced by GetNuclearInterLength().

G4IonisParamMat* fIonisation
private

Referenced by GetIonisation().

G4SandiaTable* fSandiaTable
private

Referenced by GetSandiaTable().

const G4Material* fBaseMaterial
private

Referenced by GetBaseMaterial().

G4double fMassOfMolecule
private

Referenced by GetMassOfMolecule().

std::map<G4Material*,G4double> fMatComponents
private

Referenced by GetMatComponents().