49 #ifndef G4EmElementSelector_h
50 #define G4EmElementSelector_h 1
99 std::vector<G4PhysicsLogVector*> xSections;
108 const G4Element* element = (*theElementVector)[nElmMinusOne];
109 if (nElmMinusOne > 0) {
111 for(
G4int i=0; i<nElmMinusOne; ++i) {
112 if (x <= (xSections[i])->Value(e)) {
113 element = (*theElementVector)[i];
std::vector< G4Element * > G4ElementVector
const G4Material * GetMaterial() const
const XML_Char XML_Content * model
const G4Element * SelectRandomAtom(G4double kineticEnergy) const
void Dump(const G4ParticleDefinition *p=0)
G4EmElementSelector(G4VEmModel *, const G4Material *, G4int bins, G4double emin, G4double emax, G4bool spline=true)
void Initialise(const G4ParticleDefinition *, G4double cut=0.0)