46 if(!theNew->
Init(aDataFile))
57 for(
G4int i=0;i<nGammas;i++)
buffer[i] = theGammas[i];
61 theGammas[nGammas] = theNew;
73 for(i=0; i<nGammas; i++)
91 G4int levelCounter=-1;
92 for(i=0; i<nGammas; i++)
95 if(std::abs(currentE-nextE)>
epsilon)
115 G4double levelE, gammaE, currentLevelE;
117 for(i=0; i<nGammas; i++)
126 if(std::abs(currentLevelE-(levelE+gammaE))<
min)
128 min = std::abs(currentLevelE-(levelE+gammaE));
G4double epsilon(G4double density, G4double temperature)
static constexpr double keV
G4ParticleHPLevel * theLevels
G4double GetLevelEnergy(G4int aLevel)
void Init(std::istream &aDataFile)
G4bool Init(std::istream &aDataFile)
G4double GetLevelEnergy()
G4double GetGammaEnergy()
void SetNext(G4ParticleHPLevel *aLevel)
void SetGamma(G4int i, G4ParticleHPGamma *aGamma)
void SetNumberOfGammas(G4int aGammas)
G4double GetLevelEnergy()
T min(const T t1, const T t2)
brief Return the smallest of the two arguments