Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4RPGNucleonInelastic.hh
이 파일의 문서화 페이지로 가기
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: G4RPGNucleonInelastic.hh 94553 2015-11-24 09:05:06Z gcosmo $
27 //
28 // Author: D. H. Wright
29 // Date: 19 December 2007
30 //
31 
32 #ifndef G4RPGNucleonInelastic_h
33 #define G4RPGNucleonInelastic_h 1
34 
35 // Class Description:
36 // Partial cross sections, multiplicities and final state particle types
37 // required for proton and neutron inelastic scattering in the
38 // re-parameterized Gheisha model
39 
40 #include "G4RPGInelastic.hh"
41 
43  {
44  public:
45 
46  G4RPGNucleonInelastic(const G4String& modelName = "RPGNucleonInelastic");
47 
49 
50  // void printCrossSections() const;
51 
52  protected:
53 
56 
57  std::vector<G4int>
58  GetFSPartTypesForT1(G4int mult, G4double KE, G4int tindex) const;
59  std::vector<G4int>
60  GetFSPartTypesForT0(G4int mult, G4double KE) const;
61 
62  std::vector<G4int> GetFSPartTypesForPP(G4int mult, G4double KE) const
63  {return GetFSPartTypesForT1(mult, KE, 0); }
64 
65  std::vector<G4int> GetFSPartTypesForNN(G4int mult, G4double KE) const
66  {return GetFSPartTypesForT1(mult, KE, 1); }
67 
68  std::vector<G4int> GetFSPartTypesForPN(G4int mult, G4double KE) const
69  {return GetFSPartTypesForT0(mult, KE); }
70 
71  std::vector<G4int> GetFSPartTypesForNP(G4int mult, G4double KE) const
72  {return GetFSPartTypesForT0(mult, KE); }
73 
74 
75  static const G4int pPindex[8][2];
76  static const G4int pNindex[8][2];
77 
78  static const G4int T1_2bfs[2][1][2];
79  static const G4int T1_3bfs[2][6][3];
80  static const G4int T1_4bfs[2][18][4];
81  static const G4int T1_5bfs[2][32][5];
82  static const G4int T1_6bfs[2][7][6];
83  static const G4int T1_7bfs[2][8][7];
84  static const G4int T1_8bfs[2][10][8];
85  static const G4int T1_9bfs[2][11][9];
86 
87  static const G4int T0_2bfs[1][2];
88  static const G4int T0_3bfs[9][3];
89  static const G4int T0_4bfs[22][4];
90  static const G4int T0_5bfs[38][5];
91  static const G4int T0_6bfs[7][6];
92  static const G4int T0_7bfs[9][7];
93  static const G4int T0_8bfs[10][8];
94  static const G4int T0_9bfs[12][9];
95 
100 
101  static const G4float pPCrossSections[93][30];
102  static const G4float pNCrossSections[108][30];
103 
104  };
105 #endif
static const G4int T0_6bfs[7][6]
std::vector< G4int > GetFSPartTypesForPP(G4int mult, G4double KE) const
std::vector< G4int > GetFSPartTypesForNN(G4int mult, G4double KE) const
static const G4int T0_8bfs[10][8]
float G4float
Definition: G4Types.hh:77
std::vector< G4int > GetFSPartTypesForT1(G4int mult, G4double KE, G4int tindex) const
static const G4int T1_9bfs[2][11][9]
static const G4int T0_4bfs[22][4]
#define G4ThreadLocal
Definition: tls.hh:69
static const G4float pNCrossSections[108][30]
static const G4int T0_2bfs[1][2]
static const G4int T0_5bfs[38][5]
static const G4int T1_4bfs[2][18][4]
static const G4int T0_9bfs[12][9]
G4int GetMultiplicityT0(G4double KE) const
double G4double
Definition: G4Types.hh:76
static const G4int T1_3bfs[2][6][3]
G4int GetMultiplicityT1(G4double KE) const
static const G4int pNindex[8][2]
static const G4int T1_6bfs[2][7][6]
static G4ThreadLocal G4double t0_dSigma_dMult[8][30]
static const G4int T1_8bfs[2][10][8]
static G4ThreadLocal G4double pNtot[30]
static const G4int T0_7bfs[9][7]
static G4ThreadLocal G4double t1_dSigma_dMult[8][30]
int G4int
Definition: G4Types.hh:78
std::vector< G4int > GetFSPartTypesForT0(G4int mult, G4double KE) const
G4RPGNucleonInelastic(const G4String &modelName="RPGNucleonInelastic")
std::vector< G4int > GetFSPartTypesForNP(G4int mult, G4double KE) const
static const G4int T1_7bfs[2][8][7]
static const G4int pPindex[8][2]
static const G4int T1_2bfs[2][1][2]
static const G4float pPCrossSections[93][30]
std::vector< G4int > GetFSPartTypesForPN(G4int mult, G4double KE) const
static const G4int T0_3bfs[9][3]
static G4ThreadLocal G4double pPtot[30]
static const G4int T1_5bfs[2][32][5]