63 #define alphanegbin 26
100 2.71340310844251e+01,
101 2.79737817391769e+01,
102 2.87847119553932e+01,
103 2.95688309141589e+01,
104 3.03279360625106e+01,
105 3.10636428574894e+01,
106 3.17774093252521e+01,
107 3.24705565058120e+01,
108 3.31442856005149e+01,
109 3.37996924530920e+01,
110 3.44377798564689e+01,
111 3.50594680730467e+01,
112 3.56656038766170e+01,
113 3.62569683628670e+01,
114 3.68342837279018e+01,
115 3.73982191769817e+01,
116 3.79493960962713e+01,
117 3.84883925970040e+01,
118 3.90157475227212e+01,
119 3.95319639951220e+01,
120 4.00375125617872e+01,
121 4.05328339990172e+01,
134 A = (
G4int) (isotope-1000*((
G4int)(isotope/1000)));
135 Z = (
G4int) ((isotope-A)/1000);
136 nubarg = ((2.51-1.13e-5*std::pow(
G4double(Z),2.)*std::sqrt(
G4double(A)))*nubar+4.0)
140 cpi[0] = std::exp(logcoeff[0]+26.*std::log(p));
141 for (i=1; i<=
nfissg; i++) cpi[i] = cpi[i-1] + std::exp(logcoeff[i]+26.*std::log(p)+i*std::log(q));
142 for (i=0; i<=
nfissg; i++) cpi[i] = cpi[i]/cpi[
nfissg-1];
146 for(i=0; i<=
nfissg; i++)
if (r <= cpi[i])
return i;
152 G4cout <<
" SmpNugDist: random number " << r <<
" out of range " <<
G4endl;
static G4double fisslibrng(void)
G4GLOB_DLL std::ostream G4cout
G4int G4SmpNugDist(G4int isotope, G4double nubar)
static const G4double A[nN]