G4RPGNucleonInelastic.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 // $Id$
00027 //
00028 // Author: D. H. Wright
00029 // Date:   19 December 2007
00030 //
00031 
00032 #ifndef G4RPGNucleonInelastic_h
00033 #define G4RPGNucleonInelastic_h 1
00034  
00035 // Class Description:
00036 // Partial cross sections, multiplicities and final state particle types 
00037 // required for proton and neutron inelastic scattering in the 
00038 // re-parameterized Gheisha model
00039 
00040 #include "G4RPGInelastic.hh"
00041  
00042  class G4RPGNucleonInelastic : public G4RPGInelastic
00043  {
00044  public:
00045     
00046    G4RPGNucleonInelastic(const G4String& modelName = "RPGNucleonInelastic");
00047     
00048    ~G4RPGNucleonInelastic() { }
00049 
00050    //   void printCrossSections() const;
00051     
00052  protected:
00053 
00054    G4int GetMultiplicityT1(G4double KE) const;
00055    G4int GetMultiplicityT0(G4double KE) const;
00056 
00057    std::vector<G4int>
00058    GetFSPartTypesForT1(G4int mult, G4double KE, G4int tindex) const;
00059    std::vector<G4int>
00060    GetFSPartTypesForT0(G4int mult, G4double KE) const;
00061 
00062    std::vector<G4int> GetFSPartTypesForPP(G4int mult, G4double KE) const
00063    {return GetFSPartTypesForT1(mult, KE, 0); }
00064 
00065    std::vector<G4int> GetFSPartTypesForNN(G4int mult, G4double KE) const
00066    {return GetFSPartTypesForT1(mult, KE, 1); }
00067 
00068    std::vector<G4int> GetFSPartTypesForPN(G4int mult, G4double KE) const
00069    {return GetFSPartTypesForT0(mult, KE); }
00070 
00071    std::vector<G4int> GetFSPartTypesForNP(G4int mult, G4double KE) const
00072    {return GetFSPartTypesForT0(mult, KE); }
00073 
00074 
00075    static const G4int pPindex[8][2];
00076    static const G4int pNindex[8][2];
00077 
00078    static const G4int T1_2bfs[2][1][2];
00079    static const G4int T1_3bfs[2][6][3];
00080    static const G4int T1_4bfs[2][18][4];
00081    static const G4int T1_5bfs[2][32][5];
00082    static const G4int T1_6bfs[2][7][6];
00083    static const G4int T1_7bfs[2][8][7];
00084    static const G4int T1_8bfs[2][10][8];
00085    static const G4int T1_9bfs[2][11][9];
00086 
00087    static const G4int T0_2bfs[1][2];
00088    static const G4int T0_3bfs[9][3];
00089    static const G4int T0_4bfs[22][4];
00090    static const G4int T0_5bfs[38][5];
00091    static const G4int T0_6bfs[7][6];
00092    static const G4int T0_7bfs[9][7];
00093    static const G4int T0_8bfs[10][8];
00094    static const G4int T0_9bfs[12][9];
00095 
00096    static G4double pPtot[30];
00097    static G4double pNtot[30];
00098    static G4double t1_dSigma_dMult[8][30];
00099    static G4double t0_dSigma_dMult[8][30];
00100 
00101    static const G4float pPCrossSections[93][30];
00102    static const G4float pNCrossSections[108][30];
00103 
00104  };
00105 #endif

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