LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
MyG4HadronPhysicsQGSP_BERT_HP_NeutronXSBias.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: HadronPhysicsQGSP_BERT_HP.hh 93878 2015-11-03 08:18:00Z gcosmo $
27 //
28 //---------------------------------------------------------------------------
29 //
30 // ClassName: MyG4HadronPhysicsQGSP_BERT_HP
31 //
32 // Author: 2002 J.P. Wellisch
33 //
34 // Modified:
35 // 15.12.2005 G.Folger: migration to non static particles
36 // 25.04.2007 G.Folger: Add quasielastic as option, use quasielastic by default
37 // 31.10.2012 A.Ribon: Use G4MiscBuilder
38 // 19.03.2013 A.Ribon: Replace LEP with FTFP
39 // 17.10.2019 D.Rivera: adapt in larg4. Copy based on:
40 // geant4.10.03.p03/source/physics_lists/constructors/hadron_inelastic/include/G4HadronPhysicsQGSP_BERT_HP.hh
41 //
42 //----------------------------------------------------------------------------
43 //
44 #ifndef artg4tk_lists_MyG4HadronPhysicsQGSP_BERT_HP_NeutronXSBias_hh
45 #define artg4tk_lists_MyG4HadronPhysicsQGSP_BERT_HP_NeutronXSBias_hh
46 
47 #include "Geant4/G4ios.hh"
48 #include "Geant4/globals.hh"
49 
50 #include "Geant4/G4VPhysicsConstructor.hh"
51 
52 // -- Pion and Kaon builders
53 #include "Geant4/G4BertiniPiKBuilder.hh"
54 #include "Geant4/G4FTFPPiKBuilder.hh"
55 #include "Geant4/G4PiKBuilder.hh"
56 #include "Geant4/G4QGSPPiKBuilder.hh"
57 
58 // -- Proton builders
59 #include "Geant4/G4BertiniProtonBuilder.hh"
60 #include "Geant4/G4FTFPProtonBuilder.hh"
61 #include "Geant4/G4ProtonBuilder.hh"
62 #include "Geant4/G4QGSPProtonBuilder.hh"
63 
64 // -- Neutron builders
65 #include "Geant4/G4BertiniNeutronBuilder.hh"
66 #include "Geant4/G4FTFPNeutronBuilder.hh"
67 #include "Geant4/G4NeutronBuilder.hh"
68 #include "Geant4/G4QGSPNeutronBuilder.hh"
69 //#include "MyG4BiasedBertiniNeutronBuilder.hh"
70 #include "Geant4/G4NeutronPHPBuilder.hh"
71 
72 // -- Other builders
73 #include "Geant4/G4AntiBarionBuilder.hh"
74 #include "Geant4/G4FTFPAntiBarionBuilder.hh"
75 #include "Geant4/G4HyperonFTFPBuilder.hh"
76 
77 class G4ComponentGGHadronNucleusXsc;
78 
79 class MyG4HadronPhysicsQGSP_BERT_HP_NeutronXSBias : public G4VPhysicsConstructor {
80 public:
82  MyG4HadronPhysicsQGSP_BERT_HP_NeutronXSBias(const G4String& name, G4bool quasiElastic = true);
84  G4bool quasiElastic = true,
85  G4double XSMultiplier = 1.0);
87 
88  void ConstructParticle() override;
89  void ConstructProcess() override;
90 
91 private:
92  void CreateModels();
93 
94  struct ThreadPrivate {
95  G4NeutronBuilder* theNeutrons;
96  G4FTFPNeutronBuilder* theFTFPNeutron;
97  G4QGSPNeutronBuilder* theQGSPNeutron;
98  G4BertiniNeutronBuilder* theBertiniNeutron;
99  G4NeutronPHPBuilder* theHPNeutron;
100 
101  G4PiKBuilder* thePiK;
102  G4FTFPPiKBuilder* theFTFPPiK;
103  G4QGSPPiKBuilder* theQGSPPiK;
104  G4BertiniPiKBuilder* theBertiniPiK;
105 
106  G4ProtonBuilder* thePro;
107  G4FTFPProtonBuilder* theFTFPPro;
108  G4QGSPProtonBuilder* theQGSPPro;
109  G4BertiniProtonBuilder* theBertiniPro;
110 
111  G4HyperonFTFPBuilder* theHyperon;
112 
113  G4AntiBarionBuilder* theAntiBaryon;
114  G4FTFPAntiBarionBuilder* theFTFPAntiBaryon;
115 
116  G4ComponentGGHadronNucleusXsc* xsKaon;
117  G4VCrossSectionDataSet* xsNeutronCaptureXS;
118  };
119  static G4ThreadLocal ThreadPrivate* tpdata;
120 
122 };
123 
124 // 2019 by D. Rivera
125 
126 #endif /* artg4tk_lists_MyG4HadronPhysicsQGSP_BERT_HP_NeutronXSBias_hh */