Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4HadronPhysicsINCLXX.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: G4HadronPhysicsINCLXX.hh 66892 2013-01-17 10:57:59Z gunter $
27 //
28 //---------------------------------------------------------------------------
29 //
30 // ClassName: G4HadronPhysicsINCLXX
31 //
32 // Author: 2011 P. Kaitaniemi
33 //
34 // Modified:
35 // 22.05.2014 D. Mancusi: Extend INCL++ to 20 GeV
36 // 19.03.2013 A.Ribon: Replace LEP with FTFP and BERT
37 // 01.03.2013 D. Mancusi: Rename to G4HadronPhysicsINCLXX and introduce
38 // parameters for FTFP and NeutronHP
39 // 31.10.2012 A.Ribon: Use G4MiscBuilder
40 // 27.11.2011 P.Kaitaniemi: Created using QGSP_INCL_ABLA as a template
41 //
42 //----------------------------------------------------------------------------
43 //
44 #ifndef G4HadronPhysicsINCLXX_h
45 #define G4HadronPhysicsINCLXX_h 1
46 
47 #include "globals.hh"
48 #include "G4ios.hh"
49 
50 #include "G4VPhysicsConstructor.hh"
51 
52 #include "G4PionBuilder.hh"
53 #include "G4KaonBuilder.hh"
54 #include "G4QGSPPionBuilder.hh"
55 #include "G4FTFPPionBuilder.hh"
56 #include "G4QGSPKaonBuilder.hh"
57 #include "G4FTFPKaonBuilder.hh"
58 #include "G4INCLXXPionBuilder.hh"
59 #include "G4BertiniKaonBuilder.hh"
60 
61 #include "G4ProtonBuilder.hh"
62 #include "G4QGSPProtonBuilder.hh"
63 #include "G4FTFPProtonBuilder.hh"
64 #include "G4INCLXXProtonBuilder.hh"
65 
66 #include "G4NeutronBuilder.hh"
67 #include "G4QGSPNeutronBuilder.hh"
68 #include "G4FTFPNeutronBuilder.hh"
70 #include "G4NeutronPHPBuilder.hh"
71 
72 #include "G4HyperonFTFPBuilder.hh"
73 #include "G4AntiBarionBuilder.hh"
75 
87 
88 
90 {
91  public:
92  G4HadronPhysicsINCLXX(G4int verbose =1);
93  G4HadronPhysicsINCLXX(const G4String& name, const G4bool quasiElastic=true, const G4bool neutronHP=false, const G4bool ftfp=false);
94  virtual ~G4HadronPhysicsINCLXX();
95 
96  public:
97  virtual void ConstructParticle();
98  virtual void ConstructProcess();
99 
100  void SetQuasiElastic(G4bool value) {QuasiElastic = value;};
101 
102  private:
103  void CreateModels();
104 
105  struct ThreadPrivate {
106  G4NeutronBuilder * theNeutrons;
107  G4QGSPNeutronBuilder * theQGSPNeutron;
108  G4FTFPNeutronBuilder * theFTFPNeutron;
109  G4INCLXXNeutronBuilder * theINCLXXNeutron;
110  G4NeutronPHPBuilder * theNeutronHP;
111 
112  G4PionBuilder * thePion;
113  G4QGSPPionBuilder * theQGSPPion;
114  G4FTFPPionBuilder * theFTFPPion;
115  G4INCLXXPionBuilder * theINCLXXPion;
116 
117  G4KaonBuilder * theKaon;
118  G4QGSPKaonBuilder * theQGSPKaon;
119  G4FTFPKaonBuilder * theFTFPKaon;
120  G4BertiniKaonBuilder * theBertiniKaon;
121 
122  G4ProtonBuilder * thePro;
123  G4QGSPProtonBuilder * theQGSPPro;
124  G4FTFPProtonBuilder * theFTFPPro;
125  G4INCLXXProtonBuilder * theINCLXXPro;
126 
127  G4HyperonFTFPBuilder * theHyperon;
128 
129  G4AntiBarionBuilder * theAntiBaryon;
130  G4FTFPAntiBarionBuilder * theFTFPAntiBaryon;
131 
133  G4VCrossSectionDataSet * xsNeutronCaptureXS;
134  };
135  static G4ThreadLocal ThreadPrivate *tpdata;
136 
137  G4bool QuasiElastic;
138  G4bool withNeutronHP;
139  G4bool withFTFP;
140 };
141 
142 #endif
143 
const XML_Char * name
Definition: expat.h:151
void SetQuasiElastic(G4bool value)
#define G4ThreadLocal
Definition: tls.hh:89
int G4int
Definition: G4Types.hh:78
const XML_Char int const XML_Char * value
Definition: expat.h:331
G4HadronPhysicsINCLXX(G4int verbose=1)
bool G4bool
Definition: G4Types.hh:79