55 verboseLevel(0),minKinEnergy(0.0),maxKinEnergy(100*TeV),name(nam)
107 for (
G4int j = 0; j<nIso; ++j) {
108 iso = (*isoVector)[j];
111 fact += abundVector[j];
122 for (
G4int A = n0; A < n0+nn; ++A) {
130 if(fact > 0.0) { xsec /= fact; }
139 G4cout <<
"G4VCrossSectionDataSet::GetCrossSection per element ERROR: "
140 <<
" there is no cross section for "
146 "G4VCrossSectionDataSet::GetElementCrossSection is absent");
157 G4cout <<
"G4VCrossSectionDataSet::GetCrossSection per isotope ERROR: "
158 <<
" there is no cross section for "
165 "G4VCrossSectionDataSet::GetIsoCrossSection is absent");
181 for (
G4int j = 0; j<nIso; ++j) {
182 sum += abundVector[j];
184 iso = (*isoVector)[j];
200 outFile <<
"The description for this cross section data set has not been written yet.\n";
std::vector< G4Isotope * > G4IsotopeVector
G4DLLIMPORT std::ostream G4cout
void DeRegister(G4VCrossSectionDataSet *)
void Register(G4VCrossSectionDataSet *)
static G4CrossSectionDataSetRegistry * Instance()
G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() const
G4double * GetRelativeAbundanceVector() const
size_t GetNumberOfIsotopes() const
const G4String & GetName() const
G4IsotopeVector * GetIsotopeVector() const
const G4String & GetName() const
G4int GetNumberOfNistIsotopes(G4int Z) const
G4int GetNistFirstIsotopeN(G4int Z) const
static G4NistManager * Instance()
G4double GetIsotopeAbundance(G4int Z, G4int N) const
const G4String & GetParticleName() const
G4VCrossSectionDataSet(const G4String &nam="")
virtual ~G4VCrossSectionDataSet()
virtual G4Isotope * SelectIsotope(const G4Element *, G4double kinEnergy)
virtual void DumpPhysicsTable(const G4ParticleDefinition &)
G4double ComputeCrossSection(const G4DynamicParticle *, const G4Element *, const G4Material *mat=0)
virtual G4bool IsIsoApplicable(const G4DynamicParticle *, G4int Z, G4int A, const G4Element *elm=0, const G4Material *mat=0)
virtual G4double GetElementCrossSection(const G4DynamicParticle *, G4int Z, const G4Material *mat=0)
virtual void CrossSectionDescription(std::ostream &) const
virtual void BuildPhysicsTable(const G4ParticleDefinition &)
virtual G4bool IsElementApplicable(const G4DynamicParticle *, G4int Z, const G4Material *mat=0)
virtual G4double GetIsoCrossSection(const G4DynamicParticle *, G4int Z, G4int A, const G4Isotope *iso=0, const G4Element *elm=0, const G4Material *mat=0)