Changeset 1340 for trunk/source/processes/hadronic/cross_sections/include/G4NucleonNuclearCrossSection.hh
- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/cross_sections/include/G4NucleonNuclearCrossSection.hh
r819 r1340 52 52 virtual ~G4NucleonNuclearCrossSection(); 53 53 54 virtual G4bool IsApplicable(const G4DynamicParticle* aParticle, const G4Element* anElement); 55 56 virtual G4bool IsZAApplicable(const G4DynamicParticle* aParticle, G4double Z, G4double A); 54 virtual G4bool IsApplicable(const G4DynamicParticle* aParticle, 55 const G4Element* anElement); 56 57 virtual G4bool IsIsoApplicable(const G4DynamicParticle* aParticle, 58 G4int Z, G4int A); 57 59 58 60 G4double GetCrossSection(const G4DynamicParticle* aParticle, … … 60 62 G4double T=0.); 61 63 62 G4double Get IsoZACrossSection(const G4DynamicParticle* aParticle,63 G4 double ZZ, G4doubleAA, G4double T=0. );64 G4double GetZandACrossSection(const G4DynamicParticle* aParticle, 65 G4int ZZ, G4int AA, G4double T=0. ); 64 66 65 67 G4double GetElasticCrossSection(const G4DynamicParticle* aParticle, 66 G4 double ZZ, G4doubleAA);68 G4int ZZ, G4int AA); 67 69 68 70 G4double GetTotalXsc() { return fTotalXsc; }; … … 190 192 inline 191 193 G4double G4NucleonNuclearCrossSection::GetElasticCrossSection( 192 const G4DynamicParticle* dp, G4 double ZZ, G4doubleAA)194 const G4DynamicParticle* dp, G4int ZZ, G4int AA) 193 195 { 194 Get IsoZACrossSection(dp, ZZ, AA);196 GetZandACrossSection(dp, ZZ, AA); 195 197 return fElasticXsc; 196 198 }
Note: See TracChangeset
for help on using the changeset viewer.