Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4HadronPhysicsShielding.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: G4HadronPhysicsShielding.hh 101813 2016-11-30 18:05:43Z gunter $
27 //
28 //---------------------------------------------------------------------------
29 //
30 // ClassName:
31 //
32 // Author: 2007 tatsumi Koi, Gunter Folger
33 // created from G4HadronPhysicsFTFP_BERT
34 // Modified:
35 // 2014.08.05 K.L.Genser added provisions for modifing the Bertini to
36 // FTF transition energy region
37 //
38 //----------------------------------------------------------------------------
39 //
40 #ifndef G4HadronPhysicsShielding_h
41 #define G4HadronPhysicsShielding_h 1
42 
43 #include "globals.hh"
44 #include "G4ios.hh"
46 
47 #include "G4VPhysicsConstructor.hh"
48 
49 #include "G4PiKBuilder.hh"
50 #include "G4BertiniPiKBuilder.hh"
51 #include "G4FTFPPiKBuilder.hh"
52 
53 #include "G4ProtonBuilder.hh"
55 #include "G4FTFPNeutronBuilder.hh"
56 #include "G4FTFPProtonBuilder.hh"
57 
58 #include "G4NeutronBuilder.hh"
60 #include "G4FTFPNeutronBuilder.hh"
61 #include "G4NeutronPHPBuilder.hh"
62 
63 #include "G4HyperonFTFPBuilder.hh"
64 #include "G4AntiBarionBuilder.hh"
66 
68 
69 
71 {
72  public:
73  //G4HadronPhysicsShielding(G4int verbose =1,G4bool blend=false);
74  explicit G4HadronPhysicsShielding(G4int verbose=1);
75  explicit G4HadronPhysicsShielding(const G4String& name, G4bool );
76  explicit G4HadronPhysicsShielding(const G4String& name, G4int verbose=1,
77  G4double minFTFPEnergy=9.5*CLHEP::GeV, G4double maxBertiniEnergy=9.9*CLHEP::GeV);
78  virtual ~G4HadronPhysicsShielding();
79 
80  public:
81  virtual void ConstructParticle();
82  virtual void ConstructProcess();
83  void UseLEND( G4String ss="" ){useLEND_=true;evaluation_=ss;};
84  void UnuseLEND(){useLEND_=false;};
85 
86  private:
87  void CreateModels();
88 
89  struct ThreadPrivate {
90  G4NeutronBuilder * theNeutrons;
91  //G4NeutronPHPBuilder * theHPNeutron;
92  G4VNeutronBuilder * theLENeutron;
93  G4BertiniNeutronBuilder * theBertiniNeutron;
94  G4FTFPNeutronBuilder * theFTFPNeutron;
95 
96  G4PiKBuilder * thePiK;
97  G4BertiniPiKBuilder * theBertiniPiK;
98  G4FTFPPiKBuilder * theFTFPPiK;
99 
100  G4ProtonBuilder * thePro;
101  G4BertiniProtonBuilder * theBertiniPro;
102  G4FTFPProtonBuilder * theFTFPPro;
103 
104  G4HyperonFTFPBuilder * theHyperon;
105 
106  G4AntiBarionBuilder * theAntiBaryon;
107  G4FTFPAntiBarionBuilder * theFTFPAntiBaryon;
108 
110  G4VCrossSectionDataSet * theBGGxsNeutron;
111  G4VCrossSectionDataSet * theNeutronHPJENDLHEInelastic;
112  G4VCrossSectionDataSet * theBGGxsProton;
113  G4VCrossSectionDataSet * xsNeutronCaptureXS;
114  };
115  static G4ThreadLocal ThreadPrivate* tpdata;
116 
117  // G4bool QuasiElastic;
118  G4bool useLEND_;
119  G4String evaluation_;
120 
121  const G4double minFTFPEnergy_;
122  const G4double maxBertiniEnergy_;
123  const G4double minNonHPNeutronEnergy_;
124 
125 };
126 
127 #endif
128 
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
static constexpr double GeV
double G4double
Definition: G4Types.hh:76