Changeset 1315 for trunk/source/processes/hadronic/models/chiral_inv_phase_space/cross_sections/src/G4QPhotonNuclearCrossSection.cc
- Timestamp:
- Jun 18, 2010, 11:42:07 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/chiral_inv_phase_space/cross_sections/src/G4QPhotonNuclearCrossSection.cc
r1228 r1315 26 26 // 27 27 // The lust update: M.V. Kossov, CERN/ITEP(Moscow) 17-June-02 28 // GEANT4 tag $Name: geant4-09-0 3$28 // GEANT4 tag $Name: geant4-09-04-beta-cand-01 $ 29 29 // 30 30 // … … 276 276 //G4double mT= G4QPDGCode(111).GetNuclMass(Z,N,0); 277 277 G4double mT= 0.; 278 if( G4NucleiProperties::IsInStableTable(A,Z))278 if(Z&&G4NucleiProperties::IsInStableTable(A,Z)) 279 279 mT = G4NucleiProperties::GetNuclearMass(A,Z)/MeV; 280 else return 0.; // If it is not in the Table of Stable Nuclei, then the Threshold=0 280 281 G4double mP= infEn; 281 if( Z&&G4NucleiProperties::IsInStableTable(A-1,Z-1))282 if(A>1&&Z&&G4NucleiProperties::IsInStableTable(A-1,Z-1)) 282 283 mP = G4NucleiProperties::GetNuclearMass(A-1,Z-1)/MeV;// ResNucMass for a proton 283 284 284 285 G4double mN= infEn; 285 if( N&&G4NucleiProperties::IsInStableTable(A-1,Z))286 if(A>1&&G4NucleiProperties::IsInStableTable(A-1,Z)) 286 287 mN = G4NucleiProperties::GetNuclearMass(A-1,Z)/MeV; // ResNucMass for a neutron 287 288 288 289 G4double mA= infEn; 289 if( N>1&&Z>1&&G4NucleiProperties::IsInStableTable(A-4,Z-2))290 if(A>4&&Z>1&&G4NucleiProperties::IsInStableTable(A-4,Z-2)) 290 291 mA=G4NucleiProperties::GetNuclearMass(A-4,Z-2)/MeV; // ResNucMass for an alpha 291 292
Note: See TracChangeset
for help on using the changeset viewer.