69 residualA <= residualZ ||
73 G4cout <<
"G4BENeutronChannel : calculateProbability = 0 " <<
G4endl;
84 const G4double eye0 = std::exp( slevel ) * ( slevel - 1 ) / ( 2 * levelParam );
85 const G4double eye1 = ( slevel*slevel - 3*slevel +3 ) * std::exp( slevel ) / ( 4 * levelParam*levelParam ) ;
90 G4cout <<
"G4BENeutronChannel : calculateProbability " <<
G4endl
91 <<
" res A = " << residualA <<
G4endl
92 <<
" res Z = " << residualZ <<
G4endl
93 <<
" alpha = " << alpha() <<
G4endl
94 <<
" beta = " << beta() <<
G4endl
97 <<
" eye1 = " << eye1 <<
G4endl
98 <<
" eye0 = " << eye0 <<
G4endl
99 <<
" levelParam = " << levelParam <<
G4endl
121 const G4double xProb = ( - 1 + std::sqrt ( 1 + 4 * levelParam * xMax ) ) / ( 2 * levelParam );
122 const G4double maxProb = xProb * std::exp ( 2 * std::sqrt ( levelParam * ( xMax - xProb ) ) );
134 while ( r1 * std::exp ( 2 * std::sqrt ( levelParam * ( xMax - r1 ) ) ) < r2 );
137 G4double kineticEnergy = r1 - beta();
140 G4cout <<
" G4BENeutronChannel : sampleKineticEnergy() " <<
G4endl
141 <<
" kinetic n e = " << kineticEnergy <<
G4endl
142 <<
" levelParam = " << levelParam <<
G4endl
144 <<
" beta= " << beta() <<
G4endl;
146 return kineticEnergy;
160 pParticle -> SetMomentumDirection( u , v , w );
166 G4double G4BENeutronChannel::alpha()
169 return 0.76 + 1.93 * std::pow( residualA, -0.33333 );
176 return ( 1.66 * std::pow ( residualA, -0.66666 ) - 0.05 )/alpha()*
MeV;