60 G4int G4fissionEvent::delayoption=0;
61 G4int G4fissionEvent::correlationoption=0;
62 G4int G4fissionEvent::nudistoption=3;
63 G4int G4fissionEvent::Cf252ndistoption=0;
64 G4int G4fissionEvent::Cf252nengoption=0;
68 :neutronNu(0), neutronEnergies(0), neutronVelocities(0), neutronDircosu(0),
69 neutronDircosv(), neutronDircosw(), neutronAges(0),
70 photonNu(0), photonEnergies(0), photonVelocities(0), photonDircosu(0),
71 photonDircosv(0), photonDircosw(0), photonAges(0)
81 neutronNu = G4SmpSpNuDistData(isotope, Cf252ndistoption);
82 photonNu = G4SmpSpNugDistData(isotope);
85 if (nudistoption == 0 || nudistoption == 1) {
88 neutronNu = G4SmpNuDistDataU235(eng,nudistoption);
91 neutronNu = G4SmpNuDistDataU238(eng);
94 neutronNu = G4SmpNuDistDataPu239(eng);
97 neutronNu = (
G4int) G4SmpTerrell(nubar);
100 }
else if (nudistoption == 2) {
106 neutronNu = G4SmpNuDistDataU232_234_236_238(nubar);
110 neutronNu = (
G4int) G4SmpNuDistDataU233_235(nubar);
114 neutronNu = G4SmpNuDistDataPu239_241(nubar);
117 neutronNu = (
G4int) G4SmpTerrell(nubar);
120 }
else if (nudistoption == 3) {
126 neutronNu = G4SmpNuDistDataU232_234_236_238_MC(nubar);
130 neutronNu = (
G4int) G4SmpNuDistDataU233_235_MC(nubar);
134 neutronNu = G4SmpNuDistDataPu239_241_MC(nubar);
137 neutronNu = (
G4int) G4SmpTerrell(nubar);
141 photonNu = G4SmpNugDist(isotope, nubar);
144 neutronEnergies =
new G4double[ neutronNu ];
145 neutronVelocities =
new G4double[ neutronNu ];
146 neutronDircosu =
new G4double[ neutronNu ];
147 neutronDircosv =
new G4double[ neutronNu ];
148 neutronDircosw =
new G4double[ neutronNu ];
149 neutronAges =
new G4double[neutronNu];
150 for (i=0; i<neutronNu; i++) {
151 if (isotope == 98252) neutronEnergies[i] = G4SmpNEngCf252(Cf252nengoption);
152 else neutronEnergies[i] = G4SmpWatt(eng, isotope);
153 neutronVelocities[i] = G4SmpNVel(
155 &(neutronDircosu[i]),
156 &(neutronDircosv[i]),
159 neutronAges[i] = time;
163 photonEnergies =
new G4double[photonNu];
164 photonVelocities =
new G4double[photonNu];
165 photonDircosu =
new G4double[photonNu];
166 photonDircosv =
new G4double[photonNu];
167 photonDircosw =
new G4double[photonNu];
168 photonAges =
new G4double[photonNu];
169 for (i=0; i<photonNu; i++) {
170 photonEnergies[i] = G4SmpGEng();
171 photonVelocities[i] = G4SmpPVel(
177 photonAges[i] = time;
184 delete [] neutronEnergies;
185 delete [] neutronVelocities;
186 delete [] neutronDircosu;
187 delete [] neutronDircosv;
188 delete [] neutronDircosw;
189 delete [] neutronAges;
193 delete [] photonEnergies;
194 delete [] photonVelocities;
195 delete [] photonDircosu;
196 delete [] photonDircosv;
197 delete [] photonDircosw;
198 delete [] photonAges;
G4fissionEvent(G4int isotope, G4double time, G4double nubar, G4double eng)