403 G4Element* anElement = (*theElementVector)[0];
409 for(
G4int i=0; i<nElements; ++i) {
410 if(cross <= xsecelm[i]) {
411 anElement = (*theElementVector)[i];
420 G4int i = nDataSetList-1;
421 if (dataSetList[i]->IsElementApplicable(part, Z, mat)) {
430 <<
" has no isotopes " <<
G4endl;
432 " Isotope vector is not defined");
437 iso = (*isoVector)[0];
455 <<
" has no isotopes " <<
G4endl;
457 " Isotope vector is not defined");
463 iso = (*isoVector)[0];
468 if(
G4int(xseciso.size()) < nIso) { xseciso.resize(nIso); }
472 if(abundVector[j] > 0.0) {
473 iso = (*isoVector)[j];
474 xsec = abundVector[j]*
475 GetIsoCrossSection(part, Z, iso->GetN(), iso, anElement, mat, i);
482 if(cross <= xseciso[j]) {
483 iso = (*isoVector)[j];
size_t GetNumberOfIsotopes() const
void SetIsotope(const G4Isotope *iso)
std::vector< G4Isotope * > G4IsotopeVector
std::vector< G4Element * > G4ElementVector
G4double GetKineticEnergy() const
const G4ElementVector * GetElementVector() const
G4GLOB_DLL std::ostream G4cout
G4double GetCrossSection(const G4DynamicParticle *, const G4Material *)
G4double * GetRelativeAbundanceVector() const
G4IsotopeVector * GetIsotopeVector() const
size_t GetNumberOfElements() const
const G4String & GetName() const