Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4IonPhysicsPHP.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: $
27 //
28 //---------------------------------------------------------------------------
29 //
30 // Header: G4IonPhysicsPHP
31 //
32 // Author: A.Ribon 24-May-2016
33 //
34 // Ion physics with ParticleHP, used below 200 MeV/n for d, t, He3, alpha;
35 // Binary Cascade used below 4 GeV/n (down to 190 MeV/n for d, t, He3, alpha,
36 // and 0 for the other ions); FTFP used above 2 GeV/n.
37 // This is as G4IonPhysics, except that ParticleHP is used below 200 MeV/n
38 // for d, t, He3, alpha.
39 //
40 // Modified:
41 //
42 //---------------------------------------------------------------------------
43 
44 #ifndef G4IonPhysicsPHP_h
45 #define G4IonPhysicsPHP_h 1
46 
47 #include "G4VPhysicsConstructor.hh"
48 #include "globals.hh"
49 
53 class G4FTFBuilder;
56 
57 
59  public:
60 
61  G4IonPhysicsPHP( G4int ver = 0 );
62  G4IonPhysicsPHP( const G4String& nname );
63  virtual ~G4IonPhysicsPHP();
64 
65  // This method will be invoked in the Construct() method.
66  // each physics process will be instantiated and
67  // registered to the process manager of each particle type
68  void ConstructParticle();
69  void ConstructProcess();
70 
71  private:
72 
73  void AddProcess( const G4String&, G4ParticleDefinition*,
76 
77  static G4ThreadLocal G4VCrossSectionDataSet* theNuclNuclData;
78  static G4ThreadLocal G4VComponentCrossSection* theGGNuclNuclXS;
79  static G4ThreadLocal G4ParticleHPInelasticData* theDeuteronHPInelasticData;
80  static G4ThreadLocal G4ParticleHPInelasticData* theTritonHPInelasticData;
81  static G4ThreadLocal G4ParticleHPInelasticData* theHe3HPInelasticData;
82  static G4ThreadLocal G4ParticleHPInelasticData* theAlphaHPInelasticData;
83 
84  static G4ThreadLocal G4BinaryLightIonReaction* theIonBC1;
85  static G4ThreadLocal G4BinaryLightIonReaction* theIonBC2;
86  static G4ThreadLocal G4HadronicInteraction* theFTFP;
87  static G4ThreadLocal G4FTFBuilder* theBuilder;
88  static G4ThreadLocal G4HadronicInteraction* modelDeuteronPHP;
89  static G4ThreadLocal G4HadronicInteraction* modelTritonPHP;
90  static G4ThreadLocal G4HadronicInteraction* modelHe3PHP;
91  static G4ThreadLocal G4HadronicInteraction* modelAlphaPHP;
92 
93  G4int verbose;
94  static G4ThreadLocal G4bool wasActivated;
95 };
96 
97 
98 #endif
G4IonPhysicsPHP(G4int ver=0)
#define G4ThreadLocal
Definition: tls.hh:89
int G4int
Definition: G4Types.hh:78
virtual ~G4IonPhysicsPHP()
bool G4bool
Definition: G4Types.hh:79