48#ifndef G4EmElementSelector_h
49#define G4EmElementSelector_h 1
101 std::vector<G4PhysicsLogVector*> xSections;
110 const G4Element* element = (*theElementVector)[nElmMinusOne];
111 if (nElmMinusOne > 0) {
114 for(
G4int i=0; i<nElmMinusOne; ++i) {
115 if (x <= (xSections[i])->Value(e, idx)) {
116 element = (*theElementVector)[i];
std::vector< const G4Element * > G4ElementVector
G4EmElementSelector(const G4EmElementSelector &)=delete
void Initialise(const G4ParticleDefinition *, G4double cut=0.0)
G4EmElementSelector & operator=(const G4EmElementSelector &right)=delete
void Dump(const G4ParticleDefinition *p=nullptr)
const G4Material * GetMaterial() const
const G4Element * SelectRandomAtom(const G4double kineticEnergy, const G4double logEKin) const