ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
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=nullptr) |
const G4Element * | SelectRandomAtom (G4double kineticEnergy) const |
const G4Element * | SelectRandomAtom (const G4double kineticEnergy, const G4double logEKin) const |
const G4Material * | GetMaterial () const |
Private Member Functions | |
G4EmElementSelector & | operator= (const G4EmElementSelector &right)=delete |
G4EmElementSelector (const G4EmElementSelector &)=delete | |
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 62 of file G4EmElementSelector.hh.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 54 of file G4EmElementSelector.cc
References G4Material::GetElementVector(), G4Material::GetNumberOfElements(), highEnergy, lowEnergy, material, n, nbins, nElmMinusOne, G4PhysicsVector::SetSpline(), theElementVector, v, and xSections.
G4EmElementSelector::~G4EmElementSelector | ( | ) |
Definition at line 85 of file G4EmElementSelector.cc.
View newest version in sPHENIX GitHub at line 85 of file G4EmElementSelector.cc
References nElmMinusOne, and xSections.
|
privatedelete |
void G4EmElementSelector::Dump | ( | const G4ParticleDefinition * | p = nullptr | ) |
Definition at line 151 of file G4EmElementSelector.cc.
View newest version in sPHENIX GitHub at line 151 of file G4EmElementSelector.cc
References G4cout, G4endl, G4Material::GetName(), G4ParticleDefinition::GetParticleName(), material, nElmMinusOne, and xSections.
|
inline |
Definition at line 160 of file G4EmElementSelector.hh.
View newest version in sPHENIX GitHub at line 160 of file G4EmElementSelector.hh
References material.
void G4EmElementSelector::Initialise | ( | const G4ParticleDefinition * | part, |
G4double | cut = 0.0 |
||
) |
Definition at line 94 of file G4EmElementSelector.cc.
View newest version in sPHENIX GitHub at line 94 of file G4EmElementSelector.cc
References Acts::VectorHelpers::cross(), cutEnergy, e, G4Material::GetVecNbOfAtomsPerVolume(), material, nbins, nElmMinusOne, theElementVector, x, and xSections.
|
privatedelete |
Definition at line 107 of file G4EmElementSelector.hh.
View newest version in sPHENIX GitHub at line 107 of file G4EmElementSelector.hh
References G4UniformRand, incremental_prev_tag::idx, nElmMinusOne, x, and xSections.
|
inline |
Definition at line 125 of file G4EmElementSelector.hh.
View newest version in sPHENIX GitHub at line 125 of file G4EmElementSelector.hh
References a, G4UniformRand, incremental_prev_tag::idx, max, min, nElmMinusOne, x1, x2, xSections, y1, and y2.
|
private |
Definition at line 96 of file G4EmElementSelector.hh.
View newest version in sPHENIX GitHub at line 96 of file G4EmElementSelector.hh
Referenced by Initialise().
|
private |
Definition at line 98 of file G4EmElementSelector.hh.
View newest version in sPHENIX GitHub at line 98 of file G4EmElementSelector.hh
Referenced by G4EmElementSelector().
|
private |
Definition at line 97 of file G4EmElementSelector.hh.
View newest version in sPHENIX GitHub at line 97 of file G4EmElementSelector.hh
Referenced by G4EmElementSelector().
|
private |
Definition at line 90 of file G4EmElementSelector.hh.
View newest version in sPHENIX GitHub at line 90 of file G4EmElementSelector.hh
Referenced by Dump(), G4EmElementSelector(), GetMaterial(), and Initialise().
|
private |
Definition at line 89 of file G4EmElementSelector.hh.
View newest version in sPHENIX GitHub at line 89 of file G4EmElementSelector.hh
|
private |
Definition at line 94 of file G4EmElementSelector.hh.
View newest version in sPHENIX GitHub at line 94 of file G4EmElementSelector.hh
Referenced by G4EmElementSelector(), and Initialise().
|
private |
Definition at line 93 of file G4EmElementSelector.hh.
View newest version in sPHENIX GitHub at line 93 of file G4EmElementSelector.hh
Referenced by Dump(), G4EmElementSelector(), Initialise(), SelectRandomAtom(), and ~G4EmElementSelector().
|
private |
Definition at line 91 of file G4EmElementSelector.hh.
View newest version in sPHENIX GitHub at line 91 of file G4EmElementSelector.hh
Referenced by G4EmElementSelector(), and Initialise().
|
private |
Definition at line 100 of file G4EmElementSelector.hh.
View newest version in sPHENIX GitHub at line 100 of file G4EmElementSelector.hh
Referenced by Dump(), G4EmElementSelector(), Initialise(), SelectRandomAtom(), and ~G4EmElementSelector().