Changeset 1340 for trunk/source/processes/hadronic/cross_sections/include/G4PhotoNuclearCrossSection.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/G4PhotoNuclearCrossSection.hh
r1337 r1340 25 25 // 26 26 // 27 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // GEANT4 tag $Name: hadr-cross-V09-03-12 $ 28 28 // 29 29 // … … 53 53 G4bool IsApplicable(const G4DynamicParticle* particle, const G4Element* ) 54 54 { 55 return Is ZAApplicable(particle, 0, 0);55 return IsIsoApplicable(particle, 0, 0); 56 56 } 57 57 58 G4bool Is ZAApplicable(const G4DynamicParticle* particle,59 G4double /*ZZ*/, G4double/*AA*/)58 G4bool IsIsoApplicable(const G4DynamicParticle* particle, 59 G4int /*ZZ*/, G4int /*AA*/) 60 60 { 61 61 G4bool result = false; … … 68 68 const G4Element* element, G4double temp = 0.); 69 69 70 G4double GetIsoZACrossSection(const G4DynamicParticle* particle, 71 G4double ZZ, G4double AA,72 G4 double /*aTemperature*/);70 71 G4double GetZandACrossSection(const G4DynamicParticle* particle, 72 G4int ZZ, G4int AA, G4double /*aTemperature*/); 73 73 74 74 … … 78 78 79 79 private: 80 G4int GetFunctions(G4double a, G4double* y, G4double* z); 81 G4double EquLinearFit(G4double X, G4int N,const G4double X0,const G4double XD, const G4double* Y); 80 81 G4int GetFunctions(G4double a, G4double* y, G4double* z); 82 G4double EquLinearFit(G4double X, G4int N, const G4double X0, 83 const G4double XD, const G4double* Y); 82 84 G4double ThresholdEnergy(G4int Z, G4int N); 83 85 84 86 // Body 85 87 private: 88 86 89 static G4int lastN; // The last N of calculated nucleus 87 90 static G4int lastZ; // The last Z of calculated nucleus … … 93 96 static G4double lastSP; // Last value of the ShadowingPomeron (A-dependent) 94 97 95 static std::vector <G4double*> GDR; // Vector of pointers to the GDRPhotonuclearCrossSection 96 static std::vector <G4double*> HEN; // Vector of pointers to the HighEnPhotonuclearCrossSect 98 // Vector of pointers to the GDRPhotonuclearCrossSection 99 static std::vector <G4double*> GDR; 100 101 // Vector of pointers to the HighEnPhotonuclearCrossSect 102 static std::vector <G4double*> HEN; 97 103 98 104 };
Note: See TracChangeset
for help on using the changeset viewer.