50 G4cout <<
theName <<
"::GetMomentum: ptype " << ptype <<
" ekin " << ekin
63 for(
G4int im = 0; im < 3; im++) {
65 PS +=
C * theG4Pow->
powN(ekin, im);
68 G4cout <<
" im " << im <<
" : coeffPS[JK][im] " <<
C
69 <<
" ekin^im " << theG4Pow->
powN(ekin, im) <<
G4endl;
76 G4cout <<
" PS " << PS <<
" Spow = sqrt(S)*(PR+(1-PQ)*S^4) " << Spow
77 <<
" PRA = PS*Spow " << PRA <<
G4endl;
79 return std::fabs(PRA);
G4GLOB_DLL std::ostream G4cout
const G4double(& coeffPS)[2][3]
const G4double(& coeffPR)[2][4][4]
virtual G4double GetMomentum(G4int ptype, const G4double &ekin) const
static G4Pow * GetInstance()
G4double powN(G4double x, G4int n) const
G4double randomInuclPowers(G4double ekin, const G4double(&coeff)[4][4])