Geant4.10
|
#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 |
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(), n, G4PhysicsVector::SetSpline(), and test::v.
G4EmElementSelector::~G4EmElementSelector | ( | ) |
Definition at line 87 of file G4EmElementSelector.cc.
void G4EmElementSelector::Dump | ( | const G4ParticleDefinition * | p = 0 | ) |
Definition at line 148 of file G4EmElementSelector.cc.
References G4cout, G4endl, G4Material::GetName(), and G4ParticleDefinition::GetParticleName().
|
inline |
Definition at line 121 of file G4EmElementSelector.hh.
void G4EmElementSelector::Initialise | ( | const G4ParticleDefinition * | part, |
G4double | cut = 0.0 |
||
) |
Definition at line 92 of file G4EmElementSelector.cc.
References G4Material::GetVecNbOfAtomsPerVolume(), and test::x.
Definition at line 106 of file G4EmElementSelector.hh.
References G4UniformRand, and test::x.