59G4int G4fissionEvent::delayoption=0;
60G4int G4fissionEvent::correlationoption=0;
61G4int G4fissionEvent::nudistoption=3;
62G4int G4fissionEvent::Cf252ndistoption=0;
63G4int G4fissionEvent::Cf252nengoption=0;
67 :neutronNu(0), neutronEnergies(0), neutronVelocities(0), neutronDircosu(0),
68 neutronDircosv(), neutronDircosw(), neutronAges(0),
69 photonNu(0), photonEnergies(0), photonVelocities(0), photonDircosu(0),
70 photonDircosv(0), photonDircosw(0), photonAges(0)
80 neutronNu = G4SmpSpNuDistData(isotope, Cf252ndistoption);
81 photonNu = G4SmpSpNugDistData(isotope);
84 if (nudistoption == 0 || nudistoption == 1) {
87 neutronNu = G4SmpNuDistDataU235(eng,nudistoption);
90 neutronNu = G4SmpNuDistDataU238(eng);
93 neutronNu = G4SmpNuDistDataPu239(eng);
96 neutronNu = (
G4int) G4SmpTerrell(nubar);
99 }
else if (nudistoption == 2) {
105 neutronNu = G4SmpNuDistDataU232_234_236_238(nubar);
109 neutronNu = (
G4int) G4SmpNuDistDataU233_235(nubar);
113 neutronNu = G4SmpNuDistDataPu239_241(nubar);
116 neutronNu = (
G4int) G4SmpTerrell(nubar);
119 }
else if (nudistoption == 3) {
125 neutronNu = G4SmpNuDistDataU232_234_236_238_MC(nubar);
129 neutronNu = (
G4int) G4SmpNuDistDataU233_235_MC(nubar);
133 neutronNu = G4SmpNuDistDataPu239_241_MC(nubar);
136 neutronNu = (
G4int) G4SmpTerrell(nubar);
140 photonNu = G4SmpNugDist(isotope, nubar);
143 neutronEnergies =
new G4double[ neutronNu ];
144 neutronVelocities =
new G4double[ neutronNu ];
145 neutronDircosu =
new G4double[ neutronNu ];
146 neutronDircosv =
new G4double[ neutronNu ];
147 neutronDircosw =
new G4double[ neutronNu ];
148 neutronAges =
new G4double[neutronNu];
149 for (i=0; i<neutronNu; i++) {
150 if (isotope == 98252) neutronEnergies[i] = G4SmpNEngCf252(Cf252nengoption);
151 else neutronEnergies[i] = G4SmpWatt(eng, isotope);
152 neutronVelocities[i] = G4SmpNVel(
154 &(neutronDircosu[i]),
155 &(neutronDircosv[i]),
158 neutronAges[i] = time;
162 photonEnergies =
new G4double[photonNu];
163 photonVelocities =
new G4double[photonNu];
164 photonDircosu =
new G4double[photonNu];
165 photonDircosv =
new G4double[photonNu];
166 photonDircosw =
new G4double[photonNu];
167 photonAges =
new G4double[photonNu];
168 for (i=0; i<photonNu; i++) {
169 photonEnergies[i] = G4SmpGEng();
170 photonVelocities[i] = G4SmpPVel(
176 photonAges[i] = time;
183 delete [] neutronEnergies;
184 delete [] neutronVelocities;
185 delete [] neutronDircosu;
186 delete [] neutronDircosv;
187 delete [] neutronDircosw;
188 delete [] neutronAges;
192 delete [] photonEnergies;
193 delete [] photonVelocities;
194 delete [] photonDircosu;
195 delete [] photonDircosv;
196 delete [] photonDircosw;
197 delete [] photonAges;
G4fissionEvent(G4int isotope, G4double time, G4double nubar, G4double eng)