G4QPhotonNuclearCrossSection.hh

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 //
00027 // GEANT4 tag $Name: not supported by cvs2svn $
00028 //
00029 //
00030 // GEANT4 physics class: G4QPhotonNuclearCrossSection -- header file
00031 // Created: M.V. Kossov, CERN/ITEP(Moscow), 20-Dec-01
00032 // The last update: M.V. Kossov, CERN/ITEP (Moscow) 17-May-02
00033 //
00034 // ****************************************************************************************
00035 // ********* This HEADER is temporary moved from the photolepton_hadron directory *********
00036 // ******* DO NOT MAKE ANY CHANGE! With time it'll move back to photolepton...(M.K.) ******
00037 // ****************************************************************************************
00038 // Short description: This is an original CHIPS process for photo-nuclear
00039 // interactions, which does not include "fast and dirty" corrections for
00040 // reactions near threshold, with respect to the GHAD application of CHIPS.
00041 // ------------------------------------------------------------------------
00042 
00043 #ifndef G4QPhotonNuclearCrossSection_h
00044 #define G4QPhotonNuclearCrossSection_h 1
00045 
00046 #include "G4ParticleTable.hh"
00047 #include "G4NucleiProperties.hh"
00048 #include <vector>
00049 #include "G4VQCrossSection.hh"
00050 
00051 class G4QPhotonNuclearCrossSection : public G4VQCrossSection
00052 {
00053 protected:
00054 
00055   G4QPhotonNuclearCrossSection()  {}
00056 
00057 public:
00058 
00059   ~G4QPhotonNuclearCrossSection();
00060 
00061   static G4VQCrossSection* GetPointer(); // Gives a pointer to this singletone
00062 
00063   // At present momentum (pMom) must be in GeV (@@ Units)
00064   virtual G4double GetCrossSection(G4bool fCS, G4double pMom, G4int tgZ, G4int tgN,
00065                                                                              G4int pPDG=0);
00066 
00067   G4double CalculateCrossSection(G4bool CS, G4int F, G4int I, G4int PDG, G4int Z, G4int N,
00068                                                                         G4double Momentum);
00069 
00070   G4double ThresholdEnergy(G4int Z, G4int N, G4int PDG=22);
00071 
00072 private:
00073   G4int    GetFunctions(G4double A, G4double* y, G4double* z);// y&z are pointers to arrays
00074 
00075 // Body
00076 private:
00077   static G4bool    onlyCS;  // flag to calculate only CrossSection
00078   static G4double  lastSig; // Last value of the Cross Section
00079   static G4double* lastGDR; // Pointer to the last array of GDR cross sections
00080   static G4double* lastHEN; // Pointer to the last array of HEn cross sections
00081   static G4double  lastE;   // Last used in the cross section Energy
00082   static G4double  lastSP;  // Last value of the ShadowingPomeron (A-dependent)
00083   static G4int     lastPDG;  // The last projectile PDG
00084   static G4int     lastN;    // The last N of calculated nucleus
00085   static G4int     lastZ;    // The last Z of calculated nucleus
00086   static G4double  lastP;    // Last used in the cross section Momentum
00087   static G4double  lastTH;   // Last value of the Momentum Threshold
00088   static G4double  lastCS;   // Last value of the Cross Section
00089   static G4int     lastI;    // The last position in the DAMDB
00090   static std::vector <G4double*>* GDR; // Vector of pointers to GDRPhotonuclearCrossSection
00091   static std::vector <G4double*>* HEN; // Vector of pointers to HighEnPhotonuclearCrossSect
00092 };
00093 
00094 #endif

Generated on Mon May 27 17:49:39 2013 for Geant4 by  doxygen 1.4.7