48 #ifndef G4EmElementSelector_h
49 #define G4EmElementSelector_h 1
114 if (x <= (
xSections[i])->Value(e, idx)) {
115 element = (*theElementVector)[i];
130 const size_t nBins = (
xSections[0])->GetVectorLength();
137 const size_t idx = (
xSections[0])->ComputeLogVectorBin(loge);
149 if (urnd <= y1 + a*(y2-y1)) {
150 element = (*theElementVector)[i];