86 theIsotope =
static_cast<G4int>(1000*Z+A);
100 G4int infoType, dataType;
102 while (theData >> infoType)
109 if(dataType==4) theNeutronAngularDis.
Init(theData);
110 if(dataType==5) thePromptNeutronEnDis.
Init(theData);
111 if(dataType==12) theFinalStatePhotons.
InitMean(theData);
112 if(dataType==14) theFinalStatePhotons.
InitAngular(theData);
113 if(dataType==15) theFinalStatePhotons.
InitEnergies(theData);
116 if(dataType==1) theFinalStateNeutrons.
InitMean(theData);
119 if(dataType==1) theFinalStateNeutrons.
InitDelayed(theData);
120 if(dataType==5) theDelayedNeutronEnDis.
Init(theData);
123 if(dataType==1) theFinalStateNeutrons.
InitPrompt(theData);
126 if(dataType==1) theEnergyRelease.
Init(theData);
129 G4cout <<
"G4FissionLibrary::Init: unknown data type"<<dataType<<
G4endl;
130 throw G4HadronicException(__FILE__, __LINE__,
"G4FissionLibrary::Init: unknown data type");
157 theNeutronAngularDis.
SetTarget(theTarget);
160 theNeutron.
Lorentz(theNeutron, -1*theTarget);
168 G4int nPrompt=0, gPrompt=0;
169 SampleMult(theTrack, &nPrompt, &gPrompt, eKinetic);
173 for(
G4int i=0; i<nPrompt; i++)
189 for(
G4int i=0; i<gPrompt; i++)
199 thePhoton->
Lorentz(*thePhoton, -1.*theTarget);
226 promptNeutronMulti = theFinalStateNeutrons.
GetPrompt(eKinetic);
228 delayedNeutronMulti = theFinalStateNeutrons.
GetDelayed(eKinetic);
231 if(delayedNeutronMulti==0&&promptNeutronMulti==0) {
236 genfissevt_(&theIsotope, &time, &totalNeutronMulti, &eKinetic);
239 genfissevt_(&theIsotope, &time, &promptNeutronMulti, &eKinetic);
242 if (*nPrompt == -1) *nPrompt = 0;
244 if (*gPrompt == -1) *gPrompt = 0;