Geant4
10.02.p02
|
#include <G4EmElementSelector.hh>
Public Member Functions | |
G4EmElementSelector (G4VEmModel *, const G4Material *, G4int bins, G4double emin, G4double emax, G4bool spline=true) | |
~G4EmElementSelector () | |
void | Initialise (const G4ParticleDefinition *, G4double cut=0.0) |
void | Dump (const G4ParticleDefinition *p=0) |
const G4Element * | SelectRandomAtom (G4double kineticEnergy) const |
const G4Material * | GetMaterial () const |
Private Member Functions | |
G4EmElementSelector & | operator= (const G4EmElementSelector &right) |
G4EmElementSelector (const G4EmElementSelector &) | |
Private Attributes | |
G4VEmModel * | model |
const G4Material * | material |
const G4ElementVector * | theElementVector |
G4int | nElmMinusOne |
G4int | nbins |
G4double | cutEnergy |
G4double | lowEnergy |
G4double | highEnergy |
std::vector< G4PhysicsLogVector * > | xSections |
Definition at line 63 of file G4EmElementSelector.hh.
G4EmElementSelector::G4EmElementSelector | ( | G4VEmModel * | mod, |
const G4Material * | mat, | ||
G4int | bins, | ||
G4double | emin, | ||
G4double | emax, | ||
G4bool | spline = true |
||
) |
Definition at line 55 of file G4EmElementSelector.cc.
References G4Material::GetElementVector(), G4Material::GetNumberOfElements(), highEnergy, lowEnergy, material, n, nbins, nElmMinusOne, G4PhysicsVector::SetSpline(), theElementVector, and xSections.
G4EmElementSelector::~G4EmElementSelector | ( | ) |
Definition at line 86 of file G4EmElementSelector.cc.
References nElmMinusOne, and xSections.
|
private |
void G4EmElementSelector::Dump | ( | const G4ParticleDefinition * | p = 0 | ) |
Definition at line 152 of file G4EmElementSelector.cc.
References G4cout, G4endl, G4Material::GetName(), G4VEmModel::GetName(), G4ParticleDefinition::GetParticleName(), material, model, nElmMinusOne, and xSections.
|
inline |
Definition at line 121 of file G4EmElementSelector.hh.
References material.
void G4EmElementSelector::Initialise | ( | const G4ParticleDefinition * | part, |
G4double | cut = 0.0 |
||
) |
Definition at line 95 of file G4EmElementSelector.cc.
References G4VEmModel::ComputeCrossSectionPerAtom(), cutEnergy, G4Material::GetVecNbOfAtomsPerVolume(), material, model, nbins, nElmMinusOne, G4VEmModel::SetupForMaterial(), theElementVector, x, and xSections.
|
private |
Definition at line 106 of file G4EmElementSelector.hh.
References G4UniformRand, nElmMinusOne, x, and xSections.
|
private |
Definition at line 95 of file G4EmElementSelector.hh.
Referenced by Initialise().
|
private |
Definition at line 97 of file G4EmElementSelector.hh.
Referenced by G4EmElementSelector().
|
private |
Definition at line 96 of file G4EmElementSelector.hh.
Referenced by G4EmElementSelector().
|
private |
Definition at line 89 of file G4EmElementSelector.hh.
Referenced by Dump(), G4EmElementSelector(), GetMaterial(), and Initialise().
|
private |
Definition at line 88 of file G4EmElementSelector.hh.
Referenced by Dump(), and Initialise().
|
private |
Definition at line 93 of file G4EmElementSelector.hh.
Referenced by G4EmElementSelector(), and Initialise().
|
private |
Definition at line 92 of file G4EmElementSelector.hh.
Referenced by Dump(), G4EmElementSelector(), Initialise(), SelectRandomAtom(), and ~G4EmElementSelector().
|
private |
Definition at line 90 of file G4EmElementSelector.hh.
Referenced by G4EmElementSelector(), and Initialise().
|
private |
Definition at line 99 of file G4EmElementSelector.hh.
Referenced by Dump(), G4EmElementSelector(), Initialise(), SelectRandomAtom(), and ~G4EmElementSelector().