Changeset 1347 for trunk/source/processes/hadronic/models/de_excitation/photon_evaporation/src/G4NeutronRadCapture.cc
- Timestamp:
- Dec 22, 2010, 3:52:27 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/de_excitation/photon_evaporation/src/G4NeutronRadCapture.cc
r1340 r1347 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4NeutronRadCapture.cc,v 1. 5 2010/09/09 15:40:48vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-0 3-ref-09$26 // $Id: G4NeutronRadCapture.cc,v 1.6 2010/11/17 16:21:32 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 28 28 // 29 29 // … … 45 45 #include "G4ParticleDefinition.hh" 46 46 #include "G4ParticleTable.hh" 47 #include "G4IonTable.hh" 47 48 #include "G4Deuteron.hh" 48 49 #include "G4Triton.hh" … … 108 109 109 110 lv1 -= lv2; 110 if(Z > 2 || A > 4) 111 { 112 theDef = G4ParticleTable::GetParticleTable()->FindIon(Z,A,0,Z); 113 } 114 else if (Z == 1 && A == 2) {theDef = G4Deuteron::Deuteron();} 111 if (Z == 1 && A == 2) {theDef = G4Deuteron::Deuteron();} 115 112 else if (Z == 1 && A == 3) {theDef = G4Triton::Triton();} 116 113 else if (Z == 2 && A == 3) {theDef = G4He3::He3();} 117 114 else if (Z == 2 && A == 4) {theDef = G4Alpha::Alpha();} 115 else 116 { 117 theDef = 118 G4ParticleTable::GetParticleTable()->GetIonTable()->GetIon(Z,A,0.0); 119 } 118 120 119 121 if (verboseLevel > 1) { … … 155 157 else 156 158 { 157 theDef = G4ParticleTable::GetParticleTable()->FindIon(Z,A,0,Z); 159 theDef = 160 G4ParticleTable::GetParticleTable()->GetIonTable()->GetIon(Z,A,0.0); 158 161 } 159 162
Note: See TracChangeset
for help on using the changeset viewer.