Class name:
G4Material
Category: Materials
Documentation:
Materials defined via the G4Material class are used to
define the composition of Geant4 volumes. Materials can
be defined either from scratch, specifying Z, A,
density, and state information (and a name), or in
terms of constituent elements with specified weights
(fractional composition specified either by fractional
weight or atom counts).
The class contains as a private static member tha table
of defined materials (an ordered vector of materials).
Export Control: Public
Cardinality: 0..n
Hierarchy:
Superclasses: none
Public Interface:
Operations:
AddElement (G4Element*, G4double)
AddElement (G4Element*, G4int)
DumpInfo ( )
GetA ( )
GetAtomicNumDensityVector ( )
GetDensity ( )
GetElementVector ( )
GetFractionVector ( )
GetIndex ( )
GetMaterialTable ( )
GetName ( )
GetNumberOfElements ( )
GetNumberOfMaterials ( )
GetOpticalPropertiesTable ( )
GetPressure ( )
GetRadlen ( )
GetState ( )
GetTemperature ( )
GetZ ( )
SelectRandomAtom ( )
SetOpticalPropertiesTable (G4OpticalPropertiesTable)
Private Interface:
Has-A Relationships:
G4double fAeff
The effective atomic weight A.
G4double fAtomicNumDensityVector
Array of number of atoms in unit volume.
G4int fAtomsVector
The proportions by atom count.
G4double fDensity
The material density.
G4double fFractionVector
The proportions by fractional weight.
size_t fIndexInTable
The index of the material in the material
table.
G4String fName
The material name.
size_t fNumberOfElements
The number of constituents.
G4OpticalPropertiesTable fOpticalPropertiesTable
The Optical Properties table.
G4double fPressure
The pressure (defaults to STP).
G4double fRadlen
The radiation length.
G4State fState
The material state, undefined by default
and determined internally based on
density.
G4double fSumDensities
The sum of the atomic numerical
densities.
G4double fTemp
The temperature (defaults to STP).
G4double fZeff
The effective atomic number Z.
G4ElementVector theElementVector
The vector of constituent elements.
G4MaterialTable theMaterialTable
The table of materials.
Operations:
G4gfcoul (G4double)
G4gxsi (G4double)
State machine: No
Concurrency: Sequential
Persistence: Transient
Operation name:
AddElement
Public member of: G4Material
Return Class: void
Arguments:
G4Element* element
G4double fraction
Concurrency: Sequential
Operation name:
AddElement
Public member of: G4Material
Return Class: void
Arguments:
G4Element* element
G4int nAtoms
Concurrency: Sequential
Operation name:
DumpInfo
Public member of: G4Material
Return Class: void
Documentation:
Dumps the material table.
Qualification: static
Concurrency: Sequential
Operation name:
G4gfcoul
Private member of: G4Material
Return Class: G4double
Arguments:
G4double z
Documentation:
Computes Coulomb correction for pair production and
Brem.
Concurrency: Sequential
Operation name:
G4gxsi
Private member of: G4Material
Return Class: G4double
Arguments:
G4double z
Documentation:
Computes the screening factor for pair production and
Brem.
Concurrency: Sequential
Operation name:
GetA
Public member of: G4Material
Return Class: G4double
Documentation:
Returns the effective atomic weight A.
Qualification: const
Concurrency: Sequential
Operation name:
GetAtomicNumDensityVector
Public member of: G4Material
Return Class: const G4double*
Documentation:
Returns the array of atomic number density for each
component.
Qualification: const
Concurrency: Sequential
Operation name:
GetDensity
Public member of: G4Material
Return Class: G4double
Documentation:
Returns the material density.
Qualification: const
Concurrency: Sequential
Operation name:
GetElementVector
Public member of: G4Material
Return Class: const G4ElementVector*
Documentation:
Returns the array of elements.
Qualification: const
Concurrency: Sequential
Operation name:
GetFractionVector
Public member of: G4Material
Return Class: const G4double*
Documentation:
Returns the array of proportions by fractional weight.
Qualification: const
Concurrency: Sequential
Operation name:
GetIndex
Public member of: G4Material
Return Class: size_t
Documentation:
Returns the index of the material in the material
table.
Qualification: const
Concurrency: Sequential
Operation name:
GetMaterialTable
Public member of: G4Material
Return Class: const G4MaterialTable*
Documentation:
Returns a pointer to the material table.
Qualification: static
Concurrency: Sequential
Operation name:
GetName
Public member of: G4Material
Return Class: G4String
Documentation:
Returns the name of the material.
Qualification: const
Concurrency: Sequential
Operation name:
GetNumberOfElements
Public member of: G4Material
Return Class: size_t
Documentation:
Returns the number of elements for the current
material.
Qualification: const
Concurrency: Sequential
Operation name:
GetNumberOfMaterials
Public member of: G4Material
Return Class: size_t
Documentation:
Returns tha number of materials defined in the table of
materials.
Qualification: static
Concurrency: Sequential
Operation name:
GetOpticalPropertiesTable
Public member of: G4Material
Return Class: G4OpticalPropertiesTable*
Documentation:
Returns a pointer to the Optical Properties table.
Qualification: const
Concurrency: Sequential
Operation name:
GetPressure
Public member of: G4Material
Return Class: G4double
Documentation:
Returns the pressure value.
Qualification: const
Concurrency: Sequential
Operation name:
GetRadlen
Public member of: G4Material
Return Class: G4double
Documentation:
Returns the radiation length.
Qualification: const
Concurrency: Sequential
Operation name:
GetState
Public member of: G4Material
Return Class: G4State
Documentation:
Returns the material state.
Qualification: const
Concurrency: Sequential
Operation name:
GetTemperature
Public member of: G4Material
Return Class: G4double
Documentation:
Returns the temperature value.
Qualification: const
Concurrency: Sequential
Operation name:
GetZ
Public member of: G4Material
Return Class: G4double
Documentation:
Returns the effective atomic number Z.
Qualification: const
Concurrency: Sequential
Operation name:
SelectRandomAtom
Public member of: G4Material
Return Class: G4Element*
Documentation:
Returns randomly one of the elements constituting the
material.
Qualification: const
Concurrency: Sequential
Operation name:
SetOpticalPropertiesTable
Public member of: G4Material
Return Class: void
Arguments:
G4OpticalPropertiesTable *anOPT
Documentation:
Sets the Optical Properties table.
Concurrency: Sequential
Class name:
G4Element
Category: Materials
Documentation:
A G4Element represents a chemical element either
directly defined in terms of its characteristics (Z, A,
N, density), or in terms of a collection of constituent
isotopes with specified weights.
The class contains as a private static member the table
of defined elements (an ordered vector of elements).
Elements can be assembled singly or in mixtures into
materials used in volume definitions via the G4Material
class.
Export Control: Public
Cardinality: 0..n
Hierarchy:
Superclasses: none
Public Interface:
Operations:
AddIsotope (G4Isotope*, G4double)
DumpInfo ( )
GetA ( )
GetElementTable ( )
GetIndex ( )
GetIsotopeVector ( )
GetN ( )
GetName ( )
GetNumberOfElements ( )
GetNumberOfIsotopes ( )
GetSymbol ( )
GetWeightVector ( )
GetZ ( )
Private Interface:
Has-A Relationships:
G4double fAeff
The effective atomic weight A.
size_t fIndexInTable
The position of the element in the
elements table.
G4String fName
The name of the element.
G4double fNeff
The effective nucleons number N.
size_t fNumberOfIsotopes
The number of isotopes added to the
element.
G4String fSymbol
The chemical symbol.
G4double fWeightVector
Fraction by weight for each constituent.
G4double fZeff
The effective atomic number Z.
G4ElementTable theElementTable
The table of elements.
G4IsotopeVector theIsotopeVector
The isotope vector containing the
constituent isotopes of the element.
State machine: No
Concurrency: Sequential
Persistence: Transient
Operation name:
AddIsotope
Public member of: G4Element
Return Class: void
Arguments:
G4Isotope* isotope
G4double weight
Documentation:
Adds an isotope to the element.
Concurrency: Sequential
Operation name:
DumpInfo
Public member of: G4Element
Return Class: void
Documentation:
Dumps the table of elements.
Qualification: static
Concurrency: Sequential
Operation name:
GetA
Public member of: G4Element
Return Class: G4double
Documentation:
Returns the atomic weight A.
Qualification: const
Concurrency: Sequential
Operation name:
GetElementTable
Public member of: G4Element
Return Class: const G4ElementTable*
Documentation:
Returns a pointer to the table of elements.
Qualification: static
Concurrency: Sequential
Operation name:
GetIndex
Public member of: G4Element
Return Class: size_t
Documentation:
Returns the index in the element table.
Qualification: const
Concurrency: Sequential
Operation name:
GetIsotopeVector
Public member of: G4Element
Return Class: G4IsotopeVector*
Documentation:
Returns a pointer to the isotope vector.
Qualification: const
Concurrency: Sequential
Operation name:
GetN
Public member of: G4Element
Return Class: G4double
Documentation:
Returns the nucleons number N.
Qualification: const
Concurrency: Sequential
Operation name:
GetName
Public member of: G4Element
Return Class: G4String
Documentation:
Returns the element name.
Qualification: const
Concurrency: Sequential
Operation name:
GetNumberOfElements
Public member of: G4Element
Return Class: size_t
Documentation:
Returns the number of elements in the elements table.
Qualification: static
Concurrency: Sequential
Operation name:
GetNumberOfIsotopes
Public member of: G4Element
Return Class: size_t
Documentation:
Returns the number of isotopes of the element.
Qualification: const
Concurrency: Sequential
Operation name:
GetSymbol
Public member of: G4Element
Return Class: G4String
Documentation:
Returns the element symbol.
Qualification: const
Concurrency: Sequential
Operation name:
GetWeightVector
Public member of: G4Element
Return Class: G4double*
Documentation:
Returns a vector of the fractions by weight for each
constituent.
Qualification: const
Concurrency: Sequential
Operation name:
GetZ
Public member of: G4Element
Return Class: G4double
Documentation:
Returns the atomic number Z.
Qualification: const
Concurrency: Sequential
Class name:
G4MaterialTable
Category: Materials
Documentation:
The table of defined materials.
Export Control: Public
Cardinality: 1
Hierarchy:
Superclasses: none
Instantiates class: RWTPtrOrderedVector
Generic parameters:
class G4Material
Associations:
RWTPtrOrderedVector
Private Interface:
Has-A Relationships:
G4Material
State machine: No
Concurrency: Sequential
Persistence: Transient
Class name:
G4ElementTable
Category: Materials
Documentation:
The table of defined elements.
Export Control: Public
Cardinality: 1
Hierarchy:
Superclasses: none
Instantiates class: RWTPtrOrderedVector
Generic parameters:
class G4Element
Associations:
RWTPtrOrderedVector
Private Interface:
Has-A Relationships:
G4Element
State machine: No
Concurrency: Sequential
Persistence: Transient
Class name:
G4IsotopeTable
Category: Materials
Documentation:
The table of defined isotopes.
Export Control: Public
Cardinality: 1
Hierarchy:
Superclasses: none
Instantiates class: RWTPtrOrderedVector
Generic parameters:
class G4Isotope
Associations:
RWTPtrOrderedVector
Private Interface:
Has-A Relationships:
G4Isotope
State machine: No
Concurrency: Sequential
Persistence: Transient
Class name:
G4ElementVector
Category: Materials
Documentation:
The vector of constituents elements.
Export Control: Public
Cardinality: 0,1
Hierarchy:
Superclasses: none
Instantiates class: RWTPtrVector
Generic parameters:
class G4Element
Associations:
RWTPtrVector
Private Interface:
Has-A Relationships:
G4Element
State machine: No
Concurrency: Sequential
Persistence: Transient
Class name:
G4IsotopeVector
Category: Materials
Documentation:
The isotope vector containing constituent isotopes of
the element.
Export Control: Public
Cardinality: 0,1
Hierarchy:
Superclasses: none
Instantiates class: RWTPtrVector
Generic parameters:
class G4Isotope
Associations:
RWTPtrVector
Private Interface:
Has-A Relationships:
G4Isotope
State machine: No
Concurrency: Sequential
Persistence: Transient
The table of elements.
The isotope vector containing the constituent isotopes of
the element.
Class name:
G4Isotope
Category: Materials
Documentation:
A G4Isotope represents a chemical isotope defined by
its Z,A,N, and name.
The class contains as a private static member the table
of defined isotopes (an ordered vector of isotopes).
Isotopes can be assembled into elements via the
G4Element class.
Export Control: Public
Cardinality: 0..n
Hierarchy:
Superclasses: none
Public Interface:
Operations:
DumpInfo ( )
GetA ( )
GetIndex ( )
GetIsotopeTable ( )
GetN ( )
GetName ( )
GetNumberOfIsotopes ( )
GetZ ( )
Private Interface:
Has-A Relationships:
G4double fA
The atomic weight.
size_t fIndexInTable
The index in the isotope table.
G4int fN
The number of nucleons.
G4String fName
The Isotope name.
G4int fZ
The atomic number.
G4IsotopeTable theIsotopeTable
The table of defined isotpes.
State machine: No
Concurrency: Sequential
Persistence: Transient
Operation name:
DumpInfo
Public member of: G4Isotope
Return Class: void
Documentation:
Dump the isotope table.
Qualification: static
Concurrency: Sequential
Operation name:
GetA
Public member of: G4Isotope
Return Class: G4double
Documentation:
Returns the atomic weight A.
Qualification: const
Concurrency: Sequential
Operation name:
GetIndex
Public member of: G4Isotope
Return Class: size_t
Documentation:
Returns the index in the Isotope table.
Qualification: const
Concurrency: Sequential
Operation name:
GetIsotopeTable
Public member of: G4Isotope
Return Class: const G4IsotopeTable*
Documentation:
Returns a pointer to the isotope table.
Qualification: static
Concurrency: Sequential
Operation name:
GetN
Public member of: G4Isotope
Return Class: G4int
Documentation:
Returns the number of nucleons N.
Qualification: const
Concurrency: Sequential
Operation name:
GetName
Public member of: G4Isotope
Return Class: G4String
Documentation:
Returns the Isotope name.
Qualification: const
Concurrency: Sequential
Operation name:
GetNumberOfIsotopes
Public member of: G4Isotope
Return Class: size_t
Documentation:
Returns the number of isotopes in the table.
Qualification: static
Concurrency: Sequential
Operation name:
GetZ
Public member of: G4Isotope
Return Class: G4int
Documentation:
Returns the atomic number Z.
Concurrency: Sequential