77 const char* dataDirVariable)
80 theIsotopeWiseData[index].
Init(
A, Z,
M, abundance, projectile, dataDirVariable);
82 theBuffer = theIsotopeWiseData[index].MakeElasticData();
86 theBuffer = theIsotopeWiseData[index].MakeInelasticData();
90 theBuffer = theIsotopeWiseData[index].MakeCaptureData();
94 theBuffer = theIsotopeWiseData[index].MakeFissionData();
101 if (theNew ==
nullptr) {
104 G4int s_tmp = 0, n = 0, m_tmp = 0;
107 && s_tmp < theStore->GetVectorLength())
109 theMerge->SetData(m_tmp++, theStore->
GetEnergy(s_tmp), theStore->
GetXsec(s_tmp));
115 G4int a = s_tmp, p = n, t;
116 while (a < active->GetVectorLength()
117 && p < passive->GetVectorLength())
121 G4double x = theMerge->GetEnergy(m_tmp);
123 theMerge->SetData(m_tmp, x, theMerge->GetXsec(m_tmp) + y);
145 theMerge->SetData(m_tmp++, x, passive->
GetXsec(p) + y);
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)
G4bool Init(G4int A, G4int Z, G4double abun, const G4String &dirName, const G4String &aFSType)
G4double GetXsec(G4int i)
G4double GetEnergy(G4int i) const
G4int GetVectorLength() const