Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4AdjointPhysicsList.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 //
28 //
29 // $Id$
30 //
32 // Class Name: G4AdjointPhysicsList
33 // Author: L. Desorgher
34 // Organisation: SpaceIT GmbH
35 // Contract: ESA contract 21435/08/NL/AT
36 // Customer: ESA/ESTEC
38 // CHANGE HISTORY
39 //--------------
40 // ChangeHistory:
41 // 17-11-2009 creation by L. Desorgher
42 //
43 //-------------------------------------------------------------
44 
45 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
46 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
47 
48 #ifndef G4AdjointPhysicsList_h
49 #define G4AdjointPhysicsList_h 1
50 
51 #include "G4VUserPhysicsList.hh"
52 #include "globals.hh"
53 #include "G4eIonisation.hh"
54 #include "G4hIonisation.hh"
56 
57 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
58 
60 {
61  public:
63  virtual ~G4AdjointPhysicsList();
64 
65  void SetLossFluctuationFlag(bool aBool);
66  inline void SetUseIonisation(bool aBool){fUse_eionisation = aBool;}
67  inline void SetUseProtonIonisation(bool aBool){
68  fUse_pionisation = aBool;}
69  inline void SetUseBrem(bool aBool){fUse_brem = aBool;}
70  inline void SetUseCompton(bool aBool){fUse_compton = aBool;}
71  inline void SetUseMS(bool aBool){fUse_ms = aBool;}
72  inline void SetUsePEEffect(bool aBool){fUse_peeffect = aBool;}
73  inline void SetUseGammaConversion(bool aBool){
74  fUse_gamma_conversion = aBool;}
75  inline void SetUseEgainFluctuation(bool aBool){
76  fUse_egain_fluctuation = aBool;}
77  inline void SetEminAdjModels(G4double aVal){
78  fEmin_adj_models = aVal;}
79  inline void SetEmaxAdjModels(G4double aVal){
80  fEmax_adj_models = aVal;}
81 
82  protected:
83  // Construct particle and physics
84  virtual void ConstructParticle();
85  virtual void ConstructProcess();
86  void SetCuts();
87 
88  protected:
89  // these methods Construct particles
90  void ConstructBosons();
91  void ConstructLeptons();
92  void ConstructMesons();
93  void ConstructBaryons();
95 
96  protected:
97  // these methods Construct physics processes and register them
98  void ConstructGeneral();
99  void ConstructEM();
100 
101 // G4eIonisationWithAdjoint* fEminusIonisation;
104 
105  private:
106 
107  G4AdjointPhysicsMessenger* fPhysicsMessenger;
108 
109  G4bool fUse_eionisation;
110  G4bool fUse_pionisation;
111  G4bool fUse_brem;
112  G4bool fUse_compton;
113  G4bool fUse_ms;
114  G4bool fUse_egain_fluctuation;
115  G4bool fUse_peeffect;
116  G4bool fUse_gamma_conversion;
117 
118  G4double fEmin_adj_models;
119  G4double fEmax_adj_models;
120 
121  G4double fCS_biasing_factor_compton;
122  G4double fCS_biasing_factor_brem;
123  G4double fCS_biasing_factor_ionisation;
124  G4double fCS_biasing_factor_PEeffect;
125 };
126 
127 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
128 
129 #endif
130 
131 
132