Ignore:
Timestamp:
Apr 6, 2009, 12:30:29 PM (15 years ago)
Author:
garnier
Message:

update processes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/rpg/src/G4RPGTwoBody.cc

    r819 r962  
    2424// ********************************************************************
    2525//
    26 // $Id: G4RPGTwoBody.cc,v 1.2 2007/08/15 20:38:37 dennis Exp $
    27 // GEANT4 tag $Name: geant4-09-01-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 $
    2828//
    2929
     
    8181                            2.0*targetMass*etCurrent );  // in GeV
    8282
    83   if( (pCurrent < 0.1) || (cmEnergy < 0.01) ) // 2-body scattering not possible
    84   {
     83  if (cmEnergy < 0.01) { // 2-body scattering not possible
    8584    targetParticle.SetMass( 0.0 );  // flag that the target particle doesn't exist
    86   }
    87   else
    88   {
     85
     86  } else {
    8987    // Projectile momentum in cm
    9088
     
    231229    const G4double pnCutOff = 0.0001;       // GeV
    232230    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 molecules
     231    //    const G4double kineticMinimum = 0.0001;
     232    //    const G4double kineticFactor = -0.010;
     233    //    G4double sprob = 0.0; // sprob = probability of self-absorption in heavy molecules
    236234    if( epnb >= pnCutOff )
    237235    {
     
    249247    if (npnb == 0 && ndta == 0) npnb = 1;
    250248
    251     AddBlackTrackParticles(epnb, npnb, edta, ndta, sprob, kineticMinimum,
    252                            kineticFactor, modifiedOriginal,
     249    AddBlackTrackParticles(epnb, npnb, edta, ndta, modifiedOriginal,
    253250                           PinNucleus, NinNucleus, targetNucleus,
    254251                           vec, vecLen);
Note: See TracChangeset for help on using the changeset viewer.