Ignore:
Timestamp:
Nov 5, 2010, 3:45:55 PM (14 years ago)
Author:
garnier
Message:

update ti head

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/electromagnetic/standard/src/G4WaterStopping.cc

    r1337 r1340  
    2424// ********************************************************************
    2525//
    26 // $Id: G4WaterStopping.cc,v 1.21 2010/04/26 17:44:34 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-04-beta-01 $
     26// $Id: G4WaterStopping.cc,v 1.22 2010/10/26 10:06:12 vnivanch Exp $
     27// GEANT4 tag $Name: emstand-V09-03-24 $
    2828
    2929//---------------------------------------------------------------------------
     
    6868{
    6969  G4double res = 0.0;
    70   if((iz > 26) || (iz < 3) || (iz > 18 && iz < 26)) { return res; }
    7170  G4int idx = iz - 3;
     71
     72  if(iz == 26) { idx = 16; }
     73  else if (iz < 3 || iz > 18) { return res; }
     74
    7275  G4double scaledEnergy = energy/A[idx];
    7376  if(scaledEnergy < emin) {
Note: See TracChangeset for help on using the changeset viewer.