64 #define TWOPI 6.283185307
65 #define SQRT2 1.414213562
66 #define BSHIFT -0.43287
93 std::string errMsg =
"fission nubar out of range, nubar=" + o.str();
101 expo =
G4Exp(-temp2);
102 cshift = temp1 +
BSHIFT * WIDTH * expo/(1. - expo);
105 G4int icounter_max = 1024;
109 sampleg = width * rw * std::cos(theta) + cshift;
111 if ( icounter > icounter_max ) {
112 G4cout <<
"Loop-counter exceeded the threshold value at " << __LINE__ <<
"th line of " << __FILE__ <<
"." <<
G4endl;
115 }
while (sampleg < 0.0);
118 return std::floor(sampleg);
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
G4double G4Log(G4double x)
void G4fissionerr(G4int iSever, std::string chSubNam, std::string chMsg)
G4GLOB_DLL std::ostream G4cout
G4double G4SmpTerrell(G4double nubar)
static G4double fisslibrng(void)