Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4RPGPionInelastic.hh
Go to the documentation of this file.
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
26 // $Id: G4RPGPionInelastic.hh 94553 2015-11-24 09:05:06Z gcosmo $
27 //
28 // Author: D. H. Wright
29 // Date: 15 August 2007
30 //
31 
32 #ifndef G4RPGPionInelastic_h
33 #define G4RPGPionInelastic_h 1
34 
35 // Class Description:
36 // Partial cross sections, multiplicities and final state particle types
37 // required for pi+ and pi- inelastic scattering in the re-parameterized
38 // Gheisha model
39 
40 #include "G4RPGInelastic.hh"
41 
43  {
44  public:
45 
46  G4RPGPionInelastic(const G4String& modelName = "RPGPionInelastic");
47 
49 
50  // void printCrossSections() const;
51 
52  protected:
53 
56 
57  std::vector<G4int>
58  GetFSPartTypesForT32(G4int mult, G4double KE, G4int tindex) const;
59  std::vector<G4int>
60  GetFSPartTypesForT12(G4int mult, G4double KE, G4int tindex) const;
61 
62  std::vector<G4int> GetFSPartTypesForPipP(G4int mult, G4double KE) const
63  {return GetFSPartTypesForT32(mult, KE, 0); }
64 
65  std::vector<G4int> GetFSPartTypesForPimN(G4int mult, G4double KE) const
66  {return GetFSPartTypesForT32(mult, KE, 1); }
67 
68  std::vector<G4int> GetFSPartTypesForPipN(G4int mult, G4double KE) const
69  {return GetFSPartTypesForT12(mult, KE, 1); }
70 
71  std::vector<G4int> GetFSPartTypesForPimP(G4int mult, G4double KE) const
72  {return GetFSPartTypesForT12(mult, KE, 0); }
73 
74  static const G4int pipPindex[8][2];
75  static const G4int pimPindex[8][2];
76 
77  static const G4int T32_2bfs[2][2][2];
78  static const G4int T32_3bfs[2][7][3];
79  static const G4int T32_4bfs[2][15][4];
80  static const G4int T32_5bfs[2][24][5];
81  static const G4int T32_6bfs[2][5][6];
82  static const G4int T32_7bfs[2][6][7];
83  static const G4int T32_8bfs[2][7][8];
84  static const G4int T32_9bfs[2][8][9];
85 
86  static const G4int T12_2bfs[2][5][2];
87  static const G4int T12_3bfs[2][13][3];
88  static const G4int T12_4bfs[2][22][4];
89  static const G4int T12_5bfs[2][31][5];
90  static const G4int T12_6bfs[2][6][6];
91  static const G4int T12_7bfs[2][7][7];
92  static const G4int T12_8bfs[2][8][8];
93  static const G4int T12_9bfs[2][9][9];
94 
99 
100  static const G4float pipPCrossSections[74][30];
101  static const G4float pimPCrossSections[101][30];
102 
103  };
104 #endif
static const G4int T32_3bfs[2][7][3]
static const G4int T12_2bfs[2][5][2]
static const G4int T12_3bfs[2][13][3]
float G4float
Definition: G4Types.hh:77
static const G4int T32_4bfs[2][15][4]
static const G4int pipPindex[8][2]
static G4ThreadLocal G4double pipPtot[30]
static const G4int T12_8bfs[2][8][8]
#define G4ThreadLocal
Definition: tls.hh:89
int G4int
Definition: G4Types.hh:78
std::vector< G4int > GetFSPartTypesForPimN(G4int mult, G4double KE) const
G4RPGPionInelastic(const G4String &modelName="RPGPionInelastic")
static const G4int T32_5bfs[2][24][5]
static const G4int pimPindex[8][2]
std::vector< G4int > GetFSPartTypesForPipP(G4int mult, G4double KE) const
static const G4int T12_4bfs[2][22][4]
static const G4int T32_6bfs[2][5][6]
static const G4int T12_6bfs[2][6][6]
std::vector< G4int > GetFSPartTypesForT32(G4int mult, G4double KE, G4int tindex) const
static const G4float pipPCrossSections[74][30]
static const G4float pimPCrossSections[101][30]
std::vector< G4int > GetFSPartTypesForPipN(G4int mult, G4double KE) const
static const G4int T32_8bfs[2][7][8]
static G4ThreadLocal G4double t12_dSigma_dMult[8][30]
static G4ThreadLocal G4double t32_dSigma_dMult[8][30]
static const G4int T32_7bfs[2][6][7]
std::vector< G4int > GetFSPartTypesForT12(G4int mult, G4double KE, G4int tindex) const
G4int GetMultiplicityT12(G4double KE) const
static const G4int T12_7bfs[2][7][7]
double G4double
Definition: G4Types.hh:76
static const G4int T12_9bfs[2][9][9]
static const G4int T32_2bfs[2][2][2]
static G4ThreadLocal G4double pimPtot[30]
static const G4int T32_9bfs[2][8][9]
std::vector< G4int > GetFSPartTypesForPimP(G4int mult, G4double KE) const
static const G4int T12_5bfs[2][31][5]
G4int GetMultiplicityT32(G4double KE) const