56 residualA <= residualZ ||
60 G4cout <<
"G4BEChargedChannel : calculateProbability for " <<
getName() <<
" = 0 " <<
G4endl;
71 G4double eye1 = ( slevel*slevel - 3 * slevel + 3 ) / ( 4 * levelParam*levelParam ) * std::exp( slevel );
77 <<
" res A = " << residualA <<
G4endl
78 <<
" res Z = " << residualZ <<
G4endl
79 <<
" c*(c_i+1) = "<< constant <<
G4endl
84 <<
" eye1 = " << eye1 <<
G4endl
85 <<
" levelParam = " << levelParam <<
G4endl
100 const G4double xProb = ( - 1 + std::sqrt ( 1 + 4 * levelParam * xMax ) ) / ( 2 * levelParam );
101 const G4double maxProb = xProb * std::exp ( 2 * std::sqrt ( levelParam * ( xMax - xProb ) ) );
113 while ( r1 * std::exp ( 2 * std::sqrt ( levelParam * ( xMax - r1 ) ) ) < r2 );
119 G4cout <<
" G4BENeutronChannel : sampleKineticEnergy() " <<
G4endl
120 <<
" kinetic n e = " << kineticEnergy <<
G4endl
121 <<
" levelParam = " << levelParam <<
G4endl
124 return kineticEnergy;
133 G4double t[7] = { 0.08 , 0 , -0.06 , -0.1 , -0.1 , -0.1 , -0.1 };
136 if ( Z >= 70.0 )
return t[6];
137 if ( Z <= 10.0 )
return t[0];
142 G4double ret_val = x * t[n - 2] + ( 1.0 -
x ) * t[n-1];
153 G4double t[7] = { 0.36, 0.51, 0.60, 0.66, 0.68, 0.69, 0.69 };
156 if ( Z >= 70.0 )
return t[6];
157 if ( Z <= 10.0 )
return t[0];
162 return x * t[n - 2] + ( 1.0 -
x ) * t[n-1];
171 G4double t[7] = { 0.77, 0.81, 0.85, 0.89, 0.93, 0.97, 1.00 };
174 if ( Z >= 70.0 )
return t[6];
175 if ( Z <= 10.0 )
return t[0];
180 return x * t[n - 2] + ( 1.0 -
x ) * t[n-1];