- Timestamp:
- Dec 22, 2010, 3:52:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/cross_sections/src/G4UInelasticCrossSection.cc
r1340 r1347 30 30 // 06.03.07 V.Ivanchenko - add Initialise function 31 31 // 32 //33 32 34 33 … … 48 47 #include "G4NistManager.hh" 49 48 50 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......51 49 52 50 G4UInelasticCrossSection::G4UInelasticCrossSection(const G4ParticleDefinition*) … … 55 53 hasGlauber = false; 56 54 thEnergy = 90.*GeV; 55 for (G4int i = 0; i < 93; i++) theFac[i] = 0.0; 57 56 fGlauber = new G4GlauberGribovCrossSection(); 58 57 fGheisha = G4HadronCrossSections::Instance(); … … 61 60 } 62 61 63 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......64 62 65 63 G4UInelasticCrossSection::~G4UInelasticCrossSection() … … 75 73 const G4Element* elm) 76 74 { 77 return Is ZAApplicable(dp, elm->GetZ(), elm->GetN());75 return IsIsoApplicable(dp, G4lrint(elm->GetZ()), G4lrint(elm->GetN())); 78 76 } 79 77 … … 102 100 G4int Z = G4lrint(elm->GetZ()); 103 101 G4int N = G4lrint(elm->GetN()); 104 return Get IsoZACrossSection(dp, Z, N, temp);102 return GetZandACrossSection(dp, Z, N, temp); 105 103 } 106 104 … … 121 119 cross = theFac[Z]*fGlauber->GetInelasticGlauberGribov(dp, Z, A); 122 120 } else { 123 cross = fNucleon->Get IsoZACrossSection(dp, Z, A);121 cross = fNucleon->GetZandACrossSection(dp, Z, A); 124 122 } 125 123 … … 195 193 // proton and neutron 196 194 if(fNucleon) { 197 csdn = fNucleon->Get IsoZACrossSection(&dp, iz, A);195 csdn = fNucleon->GetZandACrossSection(&dp, iz, A); 198 196 199 197 // pions
Note: See TracChangeset
for help on using the changeset viewer.