34 #define INCLXX_IN_GEANT4_MODE 1
38 #ifndef G4INCLCascade_hh
39 #define G4INCLCascade_hh 1
123 if(aPR && aPR->
getA()>0) {
171 const G4double newKineticEnergy = (*iE) * rescale;
173 (*i)->setMomentum(*iP);
174 (*i)->setEnergy(mass + newKineticEnergy);
175 (*i)->adjustMomentumFromEnergy();
177 pBalance -= (*i)->getMomentum();
183 const G4double recoilEnergy = pRem2/
184 (std::sqrt(pRem2+remnantMass*remnantMass) + remnantMass);
208 if(aPR && aPR->
getA()>0) {
256 (*i)->setMomentum(*iP * rescale);
257 (*i)->adjustEnergyFromMomentum();
260 remnantMomentum -= (*i)->getMomentum();
266 const G4double recoilEnergy = pRem2/
267 (std::sqrt(pRem2+remnantMass*remnantMass) + remnantMass);
279 #ifndef INCLXX_IN_GEANT4_MODE
289 void globalConservationChecks(
G4bool afterRecoil);