43 theIsotopeWiseData = 0;
49 delete theFissionData;
50 delete theCaptureData;
51 delete theElasticData;
52 delete theInelasticData;
53 delete [] theIsotopeWiseData;
59 if(count == 0) count +=
69 for (
G4int i1=0; i1<nIso; i1++)
76 UpdateData(
A, Z, M, count++, frac, projectile, dataDirVariable);
90 UpdateData(
A, Z, count++, frac, projectile, dataDirVariable);
93 theElasticData->
ThinOut(precision);
96 theCaptureData->
ThinOut(precision);
97 theFissionData->
ThinOut(precision);
106 theIsotopeWiseData[index].
Init(
A, Z, M, abundance,projectile, dataDirVariable);
146 if(theNew == 0) {
return; }
147 G4int s_tmp = 0, n=0, m_tmp=0;
150 while ( theStore->
GetEnergy(s_tmp)<theNew->
GetEnergy(0)&&s_tmp<theStore->GetVectorLength() )
158 G4int a = s_tmp, p = n, t;
160 while (a<active->GetVectorLength()&&p<passive->GetVectorLength())
173 active = passive; a=p;
202 char* dataDirVariable)
205 Init ( theElement, projectile, dataDirVariable );
211 char* dataDirVariable)
214 Init ( theElement, projectile, dataDirVariable );
220 char* dataDirVariable)
223 Init ( theElement, projectile, dataDirVariable );
229 char* dataDirVariable)
232 Init ( theElement, projectile, dataDirVariable );
double A(double temperature)
G4double * GetRelativeAbundanceVector() const
const G4Isotope * GetIsotope(G4int iso) const
size_t GetNumberOfIsotopes() const
static G4Neutron * Neutron()
G4ParticleHPElementData()
G4ParticleHPVector * GetData(G4ParticleHPFissionData *)
void UpdateData(G4int A, G4int Z, G4int index, G4double abundance, G4ParticleDefinition *projectile, const char *dataDirVariable)
~G4ParticleHPElementData()
G4ParticleHPVector * MakePhysicsVector(G4Element *theElement, G4ParticleDefinition *projectile, G4ParticleHPFissionData *theSet, char *dataDirVariable)
void Harmonise(G4ParticleHPVector *&theStore, G4ParticleHPVector *theNew)
void Init(G4Element *theElement, G4ParticleDefinition *projectile, const char *dataDirVariable)
G4ParticleHPVector * MakeFissionData()
G4bool Init(G4int A, G4int Z, G4double abun, G4String dirName, G4String aFSType)
G4ParticleHPVector * MakeCaptureData()
G4ParticleHPVector * MakeInelasticData()
G4ParticleHPVector * MakeElasticData()
void SetData(G4int i, G4double x, G4double y)
G4double GetXsec(G4int i)
void ThinOut(G4double precision)
G4double GetEnergy(G4int i) const
G4int GetVectorLength() const
G4double GetAbundance(G4int number)
G4int GetFirstIsotope(G4int Z)
G4int GetNumberOfIsotopes(G4int Z)
G4int GetIsotopeNucleonCount(G4int number)