source: trunk/source/processes/hadronic/models/rpg/include/G4RPGNucleonInelastic.hh@ 1036

Last change on this file since 1036 was 1007, checked in by garnier, 17 years ago

update to geant4.9.2

File size: 3.9 KB
RevLine 
[967]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,v 1.1 2008/01/04 23:27:45 dennis Exp $
[1007]27// GEANT4 tag $Name: geant4-09-02 $
[967]28//
29// Author: D. H. Wright
30// Date: 19 December 2007
31//
32
33#ifndef G4RPGNucleonInelastic_h
34#define G4RPGNucleonInelastic_h 1
35
36// Class Description:
37// Partial cross sections, multiplicities and final state particle types
38// required for proton and neutron inelastic scattering in the
39// re-parameterized Gheisha model
40
41#include "G4RPGInelastic.hh"
42
43 class G4RPGNucleonInelastic : public G4RPGInelastic
44 {
45 public:
46
47 G4RPGNucleonInelastic(const G4String& modelName = "RPGNucleonInelastic");
48
49 ~G4RPGNucleonInelastic() { }
50
51 protected:
52
53 G4int GetMultiplicityT1(G4double KE) const;
54 G4int GetMultiplicityT0(G4double KE) const;
55
56 std::vector<G4int>
57 GetFSPartTypesForT1(G4int mult, G4double KE, G4int tindex) const;
58 std::vector<G4int>
59 GetFSPartTypesForT0(G4int mult, G4double KE) const;
60
61 std::vector<G4int> GetFSPartTypesForPP(G4int mult, G4double KE) const
62 {return GetFSPartTypesForT1(mult, KE, 0); }
63
64 std::vector<G4int> GetFSPartTypesForNN(G4int mult, G4double KE) const
65 {return GetFSPartTypesForT1(mult, KE, 1); }
66
67 std::vector<G4int> GetFSPartTypesForPN(G4int mult, G4double KE) const
68 {return GetFSPartTypesForT0(mult, KE); }
69
70 std::vector<G4int> GetFSPartTypesForNP(G4int mult, G4double KE) const
71 {return GetFSPartTypesForT0(mult, KE); }
72
73
74 static const G4int pPindex[8][2];
75 static const G4int pNindex[8][2];
76
77 static const G4int T1_2bfs[2][1][2];
78 static const G4int T1_3bfs[2][6][3];
79 static const G4int T1_4bfs[2][18][4];
80 static const G4int T1_5bfs[2][32][5];
81 static const G4int T1_6bfs[2][7][6];
82 static const G4int T1_7bfs[2][8][7];
83 static const G4int T1_8bfs[2][10][8];
84 static const G4int T1_9bfs[2][11][9];
85
86 static const G4int T0_2bfs[1][2];
87 static const G4int T0_3bfs[9][3];
88 static const G4int T0_4bfs[22][4];
89 static const G4int T0_5bfs[38][5];
90 static const G4int T0_6bfs[7][6];
91 static const G4int T0_7bfs[9][7];
92 static const G4int T0_8bfs[10][8];
93 static const G4int T0_9bfs[12][9];
94
95 static G4double pPtot[30];
96 static G4double pNtot[30];
97 static G4double t1_dSigma_dMult[8][30];
98 static G4double t0_dSigma_dMult[8][30];
99
100 static const G4float pPCrossSections[93][30];
101 static const G4float pNCrossSections[108][30];
102
103 };
104#endif
Note: See TracBrowser for help on using the repository browser.