Ignore:
Timestamp:
May 28, 2009, 4:26:57 PM (15 years ago)
Author:
garnier
Message:

maj sur la beta de geant 4.9.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/cross_sections/src/G4IonsShenCrossSection.cc

    r819 r1055  
    4747
    4848// Apply energy check, if less than lower limit then 0 value is returned
    49    if (  ke_per_N < lowerLimit )
    50       return xsection;
     49   // if (  ke_per_N < lowerLimit ) return xsection;
    5150
    5251   G4int At = G4int(AA);
     
    6362   G4double r = Rt + Rp + 3.2;   // in fm
    6463   G4double b = 1.0;   // in MeV/fm
     64   G4double targ_mass = G4ParticleTable::GetParticleTable()->GetIonTable()->GetIonMass( Zt , At );
     65   G4double proj_mass = aParticle->GetMass();
     66   G4double proj_momentum = aParticle->GetMomentum().mag();
     67
     68   G4double Ecm = calEcmValue ( proj_mass , targ_mass , proj_momentum );
    6569
    6670   G4double B = 1.44 * Zt * Zp / r - b * Rt * Rp / ( Rt + Rp );
    67 
     71   if(Ecm <= B) return xsection;
    6872   //G4double ke_per_N = aParticle->GetKineticEnergy() / Ap;
    6973
     
    7478   G4double R2 = 1.0 * ( At - 2 * Zt ) * Zp / ( Ap * At );
    7579
    76    G4double targ_mass = G4ParticleTable::GetParticleTable()->GetIonTable()->GetIonMass( Zt , At );
    77    G4double proj_mass = aParticle->GetMass();
    78    G4double proj_momentum = aParticle->GetMomentum().mag();
    79 
    80    G4double Ecm = calEcmValue ( proj_mass , targ_mass , proj_momentum );
    8180
    8281   G4double R3 = 0.176 / std::pow ( G4double(Ecm) , G4double(one_third) ) * cubicrAt * cubicrAp / ( cubicrAt + cubicrAp );
Note: See TracChangeset for help on using the changeset viewer.