34 #define INCLXX_IN_GEANT4_MODE 1
47 :theParticle(p), incidentDirection(dir)
56 if(m > 1500.0) gg = 200.0;
59 const G4double psf = std::pow(qqq, 3)/(std::pow(qqq, 3) + 5832000.0);
61 if( m > 1400)
return tdel * 1./(1. + std::pow((m-1400)/g0,2));
67 unsigned long loopCounter = 0;
68 const unsigned long maxLoopCounter = 10000000;
73 }
while(loopCounter<maxLoopCounter &&
Random::shoot() > ((1.0 + 3.0 * hel * (*ctet_par) * (*ctet_par)) /(1.0 + 3.0 * hel)));
74 (*stet_par) = std::sqrt(1.-(*ctet_par)*(*ctet_par));
125 q1=(b1*t1+b2*t2*cfi)/beta;
126 q2=(b2*t1-b1*t2*cfi)/beta;
127 q3=(b3*t1/beta-t2*sfi);