Import Geant4 5.2.0 source tree
This commit is contained in:
@@ -21,9 +21,9 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4PhotoNuclearCrossSection.cc,v 1.9 2002/12/12 19:16:52 gunter Exp $
|
||||
// $Id: G4PhotoNuclearCrossSection.cc,v 1.11 2003/06/16 17:03:07 gunter Exp $
|
||||
// The lust update: M.V. Kossov, CERN/ITEP(Moscow) 17-June-02
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
// G4 Physics class: G4PhotoNuclearCrossSection for gamma+A cross sections
|
||||
@@ -50,7 +50,7 @@ G4double G4PhotoNuclearCrossSection::lastSP=0.; // Last value of the ShadowingP
|
||||
|
||||
// The main member function giving the gamma-A cross section (E in GeV, CS in mb)
|
||||
G4double G4PhotoNuclearCrossSection::GetCrossSection(const G4DynamicParticle* aPart,
|
||||
const G4Element* anEle, G4double T)
|
||||
const G4Element* anEle, G4double )
|
||||
{
|
||||
static const G4double THmin=2.; // minimum Energy Threshold
|
||||
static const G4double dE=1.; // step for the GDR table
|
||||
@@ -71,12 +71,12 @@ G4double G4PhotoNuclearCrossSection::GetCrossSection(const G4DynamicParticle* aP
|
||||
//static const G4double shp=1.075; // HE PomShadowing(P)
|
||||
//
|
||||
// Associative memory for acceleration
|
||||
static G4std::vector <G4int> colN; // N of calculated nuclei
|
||||
static G4std::vector <G4int> colZ; // Z of calculated nuclei
|
||||
static G4std::vector <G4double> spA; // shadowing coefficients (A-dependent)
|
||||
static G4std::vector <G4double> eTH; // energy threshold (A-dependent)
|
||||
static G4std::vector <G4double*> GDR; // Vector of pointers to the GDRPhotonuclearCrossSection
|
||||
static G4std::vector <G4double*> HEN; // Vector of pointers to the HighEnPhotonuclearCrossSect
|
||||
static std::vector <G4int> colN; // N of calculated nuclei
|
||||
static std::vector <G4int> colZ; // Z of calculated nuclei
|
||||
static std::vector <G4double> spA; // shadowing coefficients (A-dependent)
|
||||
static std::vector <G4double> eTH; // energy threshold (A-dependent)
|
||||
static std::vector <G4double*> GDR; // Vector of pointers to the GDRPhotonuclearCrossSection
|
||||
static std::vector <G4double*> HEN; // Vector of pointers to the HighEnPhotonuclearCrossSect
|
||||
//
|
||||
const G4double Energy = aPart->GetKineticEnergy()/MeV;
|
||||
const G4int targetAtomicNumber = static_cast<int>(anEle->GetN()+.499); //@@ Nat mixture (?!)
|
||||
|
||||
Reference in New Issue
Block a user