29 #ifndef G4NeutronHPNeutronYield_h
30 #define G4NeutronHPNeutronYield_h 1
46 hasPromptData =
false;
47 hasDelayedData =
false;
56 aDataFile >> targetMass >>iflag;
57 if(iflag == 1) simpleMean=
false;
60 theSimpleMean.
Init(aDataFile, CLHEP::eV);
64 theMean.
Init(aDataFile);
72 aDataFile >> targetMass >>iflag;
73 if(iflag == 2) spontPrompt =
false;
76 aDataFile >> theSpontPrompt;
80 thePrompt.
Init(aDataFile, CLHEP::eV);
86 hasDelayedData =
true;
88 aDataFile >> targetMass >>iflag;
89 thePrecursorDecayConstants.
Init(aDataFile, 1./CLHEP::s);
90 if(iflag == 2) spontDelayed =
false;
93 aDataFile >> theSpontDelayed;
97 theDelayed.
Init(aDataFile, CLHEP::eV);
105 return theSimpleMean.
GetY(anEnergy);
112 if(!hasPromptData)
return 0;
115 return theSpontPrompt;
117 return thePrompt.
GetY(anEnergy);
122 if(!hasDelayedData)
return 0;
125 return theSpontDelayed;
127 return theDelayed.
GetY(anEnergy);
132 return thePrecursorDecayConstants.
GetValue(i);