Geant4-11
|
#include <G4EmElementSelector.hh>
Public Member Functions | |
void | Dump (const G4ParticleDefinition *p=nullptr) |
G4EmElementSelector (const G4EmElementSelector &)=delete | |
G4EmElementSelector (G4VEmModel *, const G4Material *, G4int bins, G4double emin, G4double emax, G4bool spline=true) | |
const G4Material * | GetMaterial () const |
void | Initialise (const G4ParticleDefinition *, G4double cut=0.0) |
G4EmElementSelector & | operator= (const G4EmElementSelector &right)=delete |
const G4Element * | SelectRandomAtom (const G4double kineticEnergy, const G4double logEKin) const |
const G4Element * | SelectRandomAtom (G4double kineticEnergy) const |
~G4EmElementSelector () | |
Private Attributes | |
G4double | cutEnergy |
G4double | highEnergy |
G4double | lowEnergy |
const G4Material * | material |
G4VEmModel * | model |
G4int | nbins |
G4int | nElmMinusOne |
const G4ElementVector * | theElementVector |
std::vector< G4PhysicsLogVector * > | xSections |
Definition at line 62 of file G4EmElementSelector.hh.
G4EmElementSelector::G4EmElementSelector | ( | G4VEmModel * | mod, |
const G4Material * | mat, | ||
G4int | bins, | ||
G4double | emin, | ||
G4double | emax, | ||
G4bool | spline = true |
||
) |
Definition at line 54 of file G4EmElementSelector.cc.
References G4Material::GetElementVector(), G4Material::GetNumberOfElements(), highEnergy, lowEnergy, material, CLHEP::detail::n, nbins, nElmMinusOne, theElementVector, and xSections.
G4EmElementSelector::~G4EmElementSelector | ( | ) |
Definition at line 84 of file G4EmElementSelector.cc.
References nElmMinusOne, and xSections.
|
delete |
void G4EmElementSelector::Dump | ( | const G4ParticleDefinition * | p = nullptr | ) |
Definition at line 192 of file G4EmElementSelector.cc.
References G4cout, G4endl, G4Material::GetName(), G4VEmModel::GetName(), G4ParticleDefinition::GetParticleName(), material, model, nElmMinusOne, and xSections.
|
inline |
Definition at line 126 of file G4EmElementSelector.hh.
References material.
void G4EmElementSelector::Initialise | ( | const G4ParticleDefinition * | part, |
G4double | cut = 0.0 |
||
) |
Definition at line 93 of file G4EmElementSelector.cc.
References G4VEmModel::ComputeCrossSectionPerAtom(), cutEnergy, G4Material::GetVecNbOfAtomsPerVolume(), material, model, nbins, nElmMinusOne, G4VEmModel::SetupForMaterial(), theElementVector, and xSections.
|
delete |
const G4Element * G4EmElementSelector::SelectRandomAtom | ( | const G4double | kineticEnergy, |
const G4double | logEKin | ||
) | const |
Definition at line 156 of file G4EmElementSelector.cc.
References G4UniformRand, nElmMinusOne, and xSections.
Definition at line 108 of file G4EmElementSelector.hh.
References G4UniformRand, nElmMinusOne, and xSections.
|
private |
Definition at line 97 of file G4EmElementSelector.hh.
Referenced by Initialise().
|
private |
Definition at line 99 of file G4EmElementSelector.hh.
Referenced by G4EmElementSelector().
|
private |
Definition at line 98 of file G4EmElementSelector.hh.
Referenced by G4EmElementSelector().
|
private |
Definition at line 91 of file G4EmElementSelector.hh.
Referenced by emcalc_gui.MainWindow::cb_select_material(), emcalc_gui.MainWindow::cb_show_plot(), Dump(), G4EmElementSelector(), GetMaterial(), and Initialise().
|
private |
Definition at line 90 of file G4EmElementSelector.hh.
Referenced by Dump(), and Initialise().
|
private |
Definition at line 95 of file G4EmElementSelector.hh.
Referenced by G4EmElementSelector(), and Initialise().
|
private |
Definition at line 94 of file G4EmElementSelector.hh.
Referenced by Dump(), G4EmElementSelector(), Initialise(), SelectRandomAtom(), and ~G4EmElementSelector().
|
private |
Definition at line 92 of file G4EmElementSelector.hh.
Referenced by G4EmElementSelector(), and Initialise().
|
private |
Definition at line 101 of file G4EmElementSelector.hh.
Referenced by Dump(), G4EmElementSelector(), Initialise(), SelectRandomAtom(), and ~G4EmElementSelector().