42 using namespace G4InuclSpecialFunctions;
43 using namespace G4InuclParticleNames;
51 G4cout << theName <<
"::GetMomentum: ptype " << ptype <<
" ekin " << ekin
64 for(
G4int im = 0; im < 3; im++) {
66 PS += C * theG4Pow->
powN(ekin, im);
68 if (verboseLevel >3) {
69 G4cout <<
" im " << im <<
" : coeffPS[JK][im] " << C
70 <<
" ekin^im " << theG4Pow->
powN(ekin, im) <<
G4endl;
77 G4cout <<
" PS " << PS <<
" Spow = sqrt(S)*(PR+(1-PQ)*S^4) " << Spow
78 <<
" PRA = PS*Spow " << PRA <<
G4endl;
80 return std::fabs(PRA);
static G4Pow * GetInstance()
G4double powN(G4double x, G4int n) const
G4GLOB_DLL std::ostream G4cout
G4double randomInuclPowers(G4double ekin, const G4double(&coeff)[4][4])
virtual G4double GetMomentum(G4int ptype, const G4double &ekin) const