29 #ifndef G4ParticleHPParticleYield_h
30 #define G4ParticleHPParticleYield_h 1
46 hasPromptData =
false;
47 hasDelayedData =
false;
52 theSpontDelayed = 0.0;
61 aDataFile >> targetMass >>iflag;
62 if(iflag == 1) simpleMean=
false;
69 theMean.
Init(aDataFile);
77 aDataFile >> targetMass >>iflag;
78 if(iflag == 2) spontPrompt =
false;
81 aDataFile >> theSpontPrompt;
91 hasDelayedData =
true;
93 aDataFile >> targetMass >>iflag;
95 if(iflag == 2) spontDelayed =
false;
98 aDataFile >> theSpontDelayed;
110 return theSimpleMean.
GetY(anEnergy);
117 if(!hasPromptData)
return 0;
120 return theSpontPrompt;
122 return thePrompt.
GetY(anEnergy);
127 if(!hasDelayedData)
return 0;
130 return theSpontDelayed;
132 return theDelayed.
GetY(anEnergy);
137 return thePrecursorDecayConstants.
GetValue(i);
G4double GetDecayConstant(G4int i)
void Init(std::istream &aDataFile, G4int nPar, G4double unit=1.)
G4double GetPrompt(G4double anEnergy)
void Init(std::istream &aDataFile, G4int total, G4double ux=1., G4double uy=1.)
void InitDelayed(std::istream &aDataFile)
G4double GetY(G4double x)
static constexpr double s
static constexpr double eV
G4ParticleHPParticleYield()
G4double GetValue(G4double anEnergy)
void InitMean(std::istream &aDataFile)
G4double GetValue(G4int i)
void Init(std::istream &theData)
G4double GetDelayed(G4double anEnergy)
G4double GetMean(G4double anEnergy)
~G4ParticleHPParticleYield()
void InitPrompt(std::istream &aDataFile)