G4RPGPionInelastic.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:   15 August 2007
00030 //
00031 
00032 #ifndef G4RPGPionInelastic_h
00033 #define G4RPGPionInelastic_h 1
00034  
00035 // Class Description:
00036 // Partial cross sections, multiplicities and final state particle types 
00037 // required for pi+ and pi- inelastic scattering in the re-parameterized 
00038 // Gheisha model
00039 
00040 #include "G4RPGInelastic.hh"
00041  
00042  class G4RPGPionInelastic : public G4RPGInelastic
00043  {
00044  public:
00045     
00046    G4RPGPionInelastic(const G4String& modelName = "RPGPionInelastic");
00047     
00048    ~G4RPGPionInelastic() { }
00049 
00050    //   void printCrossSections() const;
00051     
00052  protected:
00053 
00054    G4int GetMultiplicityT12(G4double KE) const;
00055    G4int GetMultiplicityT32(G4double KE) const;
00056 
00057    std::vector<G4int>
00058    GetFSPartTypesForT32(G4int mult, G4double KE, G4int tindex) const;
00059    std::vector<G4int>
00060    GetFSPartTypesForT12(G4int mult, G4double KE, G4int tindex) const;
00061 
00062    std::vector<G4int> GetFSPartTypesForPipP(G4int mult, G4double KE) const
00063      {return GetFSPartTypesForT32(mult, KE, 0); }
00064 
00065    std::vector<G4int> GetFSPartTypesForPimN(G4int mult, G4double KE) const
00066      {return GetFSPartTypesForT32(mult, KE, 1); }
00067 
00068    std::vector<G4int> GetFSPartTypesForPipN(G4int mult, G4double KE) const
00069      {return GetFSPartTypesForT12(mult, KE, 1); }
00070 
00071    std::vector<G4int> GetFSPartTypesForPimP(G4int mult, G4double KE) const
00072      {return GetFSPartTypesForT12(mult, KE, 0); }
00073 
00074    static const G4int pipPindex[8][2];
00075    static const G4int pimPindex[8][2];
00076 
00077    static const G4int T32_2bfs[2][2][2];
00078    static const G4int T32_3bfs[2][7][3];
00079    static const G4int T32_4bfs[2][15][4];
00080    static const G4int T32_5bfs[2][24][5];
00081    static const G4int T32_6bfs[2][5][6];
00082    static const G4int T32_7bfs[2][6][7];
00083    static const G4int T32_8bfs[2][7][8];
00084    static const G4int T32_9bfs[2][8][9];
00085 
00086    static const G4int T12_2bfs[2][5][2];
00087    static const G4int T12_3bfs[2][13][3];
00088    static const G4int T12_4bfs[2][22][4];
00089    static const G4int T12_5bfs[2][31][5];
00090    static const G4int T12_6bfs[2][6][6];
00091    static const G4int T12_7bfs[2][7][7];
00092    static const G4int T12_8bfs[2][8][8];
00093    static const G4int T12_9bfs[2][9][9];
00094 
00095    static G4double pipPtot[30];
00096    static G4double pimPtot[30];
00097    static G4double t12_dSigma_dMult[8][30];
00098    static G4double t32_dSigma_dMult[8][30];
00099 
00100    static const G4float pipPCrossSections[74][30];
00101    static const G4float pimPCrossSections[101][30];
00102 
00103  };
00104 #endif

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