Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4IonQMDPhysics.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: G4IonQMDPhysics.hh 71042 2013-06-10 09:28:44Z gcosmo $
27 //
28 //---------------------------------------------------------------------------
29 //
30 // ClassName: G4IonBinaryCascadeBuilder
31 // Created from G4IonBinaryCascadePhysics
32 //
33 // Author: G.Folger
34 //
35 // Modified:
36 //
37 //----------------------------------------------------------------------------
38 //
39 
40 #ifndef G4IonQMDPhysics_h
41 #define G4IonQMDPhysics_h 1
42 
43 #include "globals.hh"
44 #include "G4VPhysicsConstructor.hh"
45 
46 #include <vector>
47 
51 class G4QMDReaction;
52 class G4FTFBuilder;
55 
57 {
58 public:
59  G4IonQMDPhysics(G4int verb = 0);
60  G4IonQMDPhysics(const G4String& name, G4int ver = 0);
61  virtual ~G4IonQMDPhysics();
62 
63  // This method will be invoked in the Construct() method.
64  // each particle type will be instantiated
65  virtual void ConstructParticle();
66 
67  // This method will be invoked in the Construct() method.
68  // each physics process will be instantiated and
69  // registered to the process manager of each particle type
70  virtual void ConstructProcess();
71 
72 private:
73 
74  void AddProcess(const G4String&,
79 
80  static G4ThreadLocal std::vector<G4HadronInelasticProcess*>* p_list;
81  static G4ThreadLocal std::vector<G4HadronicInteraction*>* model_list;
82 
83  static G4ThreadLocal G4VCrossSectionDataSet* theNuclNuclData;
84  static G4ThreadLocal G4VComponentCrossSection* theGGNuclNuclXS;
85 
86  static G4ThreadLocal G4BinaryLightIonReaction* theIonBC;
87  static G4ThreadLocal G4HadronicInteraction* theFTFP;
88  static G4ThreadLocal G4FTFBuilder* theBuilder;
89  static G4ThreadLocal G4QMDReaction* theQMD;
90 
91  G4double eminBIC;
92 
93  G4double eminQMD;
94  G4double emaxQMD;
95 
96  G4double emaxFTFP;
97 
98  G4double overlap;
99 
100  G4int verbose;
101  static G4ThreadLocal G4bool wasActivated;
102 };
103 
104 
105 #endif
106 
G4IonQMDPhysics(G4int verb=0)
virtual void ConstructParticle()
const XML_Char * name
#define G4ThreadLocal
Definition: tls.hh:52
int G4int
Definition: G4Types.hh:78
bool G4bool
Definition: G4Types.hh:79
virtual void ConstructProcess()
double G4double
Definition: G4Types.hh:76
virtual ~G4IonQMDPhysics()