Ignore:
Timestamp:
Jun 18, 2010, 11:42:07 AM (14 years ago)
Author:
garnier
Message:

update geant4-09-04-beta-cand-01 interfaces-V09-03-09 vis-V09-03-08

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/cross_sections/src/G4QTauNuclearCrossSection.cc

    r1228 r1315  
    2525//
    2626//
    27 // $Id: G4QTauNuclearCrossSection.cc,v 1.1 2009/11/16 18:15:43 mkossov Exp $
    28 // GEANT4 tag $Name: geant4-09-03 $
     27// $Id: G4QTauNuclearCrossSection.cc,v 1.2 2010/06/02 09:08:25 mkossov Exp $
     28// GEANT4 tag $Name: geant4-09-04-beta-cand-01 $
    2929//
    3030//
     
    295295  // --------- Splitting thresholds
    296296  G4double mP= infEn;
    297   if(Z&&G4NucleiProperties::IsInStableTable(A-1,Z-1))
     297  if(A>1&&Z&&G4NucleiProperties::IsInStableTable(A-1,Z-1))
    298298          mP = G4NucleiProperties::GetNuclearMass(A-1,Z-1)/MeV; // ResNucMass for a proton
    299299
    300300  G4double mN= infEn;
    301   if(N&&G4NucleiProperties::IsInStableTable(A-1,Z))
     301  if(A>1&&G4NucleiProperties::IsInStableTable(A-1,Z))
    302302          mN = G4NucleiProperties::GetNuclearMass(A-1,Z)/MeV;  // ResNucMass for a neutron
    303303
    304304  G4double mA= infEn;
    305   if(N>1&&Z>1&&G4NucleiProperties::IsInStableTable(A-4,Z-2))
     305  if(A>4&&Z>1&&G4NucleiProperties::IsInStableTable(A-4,Z-2))
    306306          mA = G4NucleiProperties::GetNuclearMass(A-4,Z-2)/MeV; // ResNucMass for an alpha
    307307
Note: See TracChangeset for help on using the changeset viewer.