- Timestamp:
- Apr 6, 2009, 12:30:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/rpg/src/G4RPGTwoBody.cc
r819 r962 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4RPGTwoBody.cc,v 1. 2 2007/08/15 20:38:37dennis Exp $27 // GEANT4 tag $Name: geant4-09-0 1-patch-02 $26 // $Id: G4RPGTwoBody.cc,v 1.4 2008/05/05 21:21:55 dennis Exp $ 27 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 28 28 // 29 29 … … 81 81 2.0*targetMass*etCurrent ); // in GeV 82 82 83 if( (pCurrent < 0.1) || (cmEnergy < 0.01) ) // 2-body scattering not possible 84 { 83 if (cmEnergy < 0.01) { // 2-body scattering not possible 85 84 targetParticle.SetMass( 0.0 ); // flag that the target particle doesn't exist 86 } 87 else 88 { 85 86 } else { 89 87 // Projectile momentum in cm 90 88 … … 231 229 const G4double pnCutOff = 0.0001; // GeV 232 230 const G4double dtaCutOff = 0.0001; // GeV 233 const G4double kineticMinimum = 0.0001;234 const G4double kineticFactor = -0.010;235 G4double sprob = 0.0; // sprob = probability of self-absorption in heavy molecules231 // const G4double kineticMinimum = 0.0001; 232 // const G4double kineticFactor = -0.010; 233 // G4double sprob = 0.0; // sprob = probability of self-absorption in heavy molecules 236 234 if( epnb >= pnCutOff ) 237 235 { … … 249 247 if (npnb == 0 && ndta == 0) npnb = 1; 250 248 251 AddBlackTrackParticles(epnb, npnb, edta, ndta, sprob, kineticMinimum, 252 kineticFactor, modifiedOriginal, 249 AddBlackTrackParticles(epnb, npnb, edta, ndta, modifiedOriginal, 253 250 PinNucleus, NinNucleus, targetNucleus, 254 251 vec, vecLen);
Note: See TracChangeset
for help on using the changeset viewer.