Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4HadronPhysicsFTFP_BERT.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: G4HadronPhysicsFTFP_BERT.hh 101741 2016-11-24 10:45:35Z gcosmo $
27 //
28 //---------------------------------------------------------------------------
29 //
30 // ClassName:
31 //
32 // Author: 2007 Gunter Folger
33 // created from G4HadronPhysicsFTFP
34 // Modified:
35 // 23.11.2005 G.Folger: migration to non static particles
36 // 08.06.2006 V.Ivanchenko: remove stopping
37 // 19.06.2008 G.Folger: change default for QE to NOT use Chips QE
38 //
39 //----------------------------------------------------------------------------
40 //
41 #ifndef G4HadronPhysicsFTFP_BERT_h
42 #define G4HadronPhysicsFTFP_BERT_h 1
43 
44 #include "globals.hh"
45 #include "G4ios.hh"
46 
47 #include "G4VPhysicsConstructor.hh"
48 
49 #include "G4PionBuilder.hh"
50 #include "G4BertiniPionBuilder.hh"
51 #include "G4FTFPPionBuilder.hh"
52 
53 #include "G4KaonBuilder.hh"
54 #include "G4BertiniKaonBuilder.hh"
55 #include "G4FTFPKaonBuilder.hh"
56 
57 #include "G4ProtonBuilder.hh"
59 #include "G4FTFPNeutronBuilder.hh"
60 #include "G4FTFPProtonBuilder.hh"
61 
62 #include "G4NeutronBuilder.hh"
64 #include "G4FTFPNeutronBuilder.hh"
65 
66 #include "G4HyperonFTFPBuilder.hh"
67 #include "G4AntiBarionBuilder.hh"
69 
71 
72 
74 {
75  public:
76  G4HadronPhysicsFTFP_BERT(G4int verbose =1);
77  G4HadronPhysicsFTFP_BERT(const G4String& name, G4bool quasiElastic=false);
78  virtual ~G4HadronPhysicsFTFP_BERT();
79 
80  public:
81  virtual void ConstructParticle();
82  virtual void ConstructProcess();
83 
84  private:
85  void CreateModels();
86  G4bool QuasiElastic;
87 
88  // Simplify handling of TLS data, encapsulate everyhing in a structure
89  struct ThreadPrivate {
90  G4NeutronBuilder * theNeutrons;
91  G4BertiniNeutronBuilder * theBertiniNeutron;
92  G4FTFPNeutronBuilder * theFTFPNeutron;
93 
94  G4PionBuilder * thePion;
95  G4BertiniPionBuilder * theBertiniPion;
96  G4FTFPPionBuilder * theFTFPPion;
97 
98  G4KaonBuilder * theKaon;
99  G4BertiniKaonBuilder * theBertiniKaon;
100  G4FTFPKaonBuilder * theFTFPKaon;
101 
102  G4ProtonBuilder * thePro;
103  G4BertiniProtonBuilder * theBertiniPro;
104  G4FTFPProtonBuilder * theFTFPPro;
105 
106  G4HyperonFTFPBuilder * theHyperon;
107 
108  G4AntiBarionBuilder * theAntiBaryon;
109  G4FTFPAntiBarionBuilder * theFTFPAntiBaryon;
110 
112  G4VCrossSectionDataSet * xsNeutronInelasticXS;
113  G4VCrossSectionDataSet * xsNeutronCaptureXS;
114  };
115  static G4ThreadLocal ThreadPrivate* tpdata;
116 };
117 
118 #endif
119 
const XML_Char * name
Definition: expat.h:151
#define G4ThreadLocal
Definition: tls.hh:89
int G4int
Definition: G4Types.hh:78
bool G4bool
Definition: G4Types.hh:79