]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TGeant4/TG4G3Control.h
Latest version
[u/mrichter/AliRoot.git] / TGeant4 / TG4G3Control.h
1 // $Id$
2 // Category: global
3 //
4 // Author: I. Hrivnacova
5 //
6 // Enum TG4G3Cut
7 // -------------
8 // Enumeration for G3 types of physics processes controls.
9 // The G4 physics processes and particles which the process
10 // control is applied to are indicated in the comments.
11 // The process control is mapped to the physics processes
12 // (using TG4ProcessControlMap) at the moment of process creating
13 // by the physics constructor; the physics contructor type
14 // is indicated by the "Physics:" comment.
15
16 #ifndef TG4_G3_CONTROL_H
17 #define TG4_G3_CONTROL_H
18
19 enum TG4G3Control
20 {
21   kPAIR, // pair production       
22              // G3 default value: 1
23              // G4 processes: G4GammaConversion,
24              //               G4MuPairProduction/G4IMuPairProduction
25              //               G4LowEnergyGammaConversion
26              // Particles: gamma, mu
27              // Physics:   EM  
28              
29   kCOMP, // Compton scattering    
30              // G3 default value: 1
31              // G4 processes: G4ComptonScattering, 
32              //               G4LowEnergyCompton,
33              //               G4PolarizedComptonScattering
34              // Particles: gamma
35              // Physics:   EM  
36              
37   kPHOT, // photo electric effect 
38              // G3 default value: 1
39              // G4 processes: G4PhotoElectricEffect
40              //               G4LowEnergyPhotoElectric
41              // Particles: gamma
42              // Physics:   EM  
43
44   kPFIS, // photofission          
45              // G3 default value: 0
46              // G4 process: ??
47              //
48              // Particles: gamma
49              // Physics:   ??  
50              
51   kDRAY, // delta-ray              
52              // G3 default value: 2
53              // !! G4 treats delta rays in different way
54              // G4 processes: G4eIonisation/G4IeIonization,
55              //               G4MuIonisation/G4IMuIonization, 
56              //               G4hIonisation/G4IhIonisation
57              // Particles: charged 
58              // Physics:   EM  
59
60   kANNI, // annihilation          
61              // G3 default value: 1
62              // G4 processes: G4eplusAnnihilation/G4IeplusAnnihilation
63              // Particles: e+ 
64              // Physics:   EM  
65              
66   kBREM, // bremsstrahlung        
67              // G3 default value: 1
68              // G4 processes: G4eBremsstrahlung/G4IeBremsstrahlung,
69              //               G4MuBremsstrahlung/G4IMuBremsstrahlung,
70              //               G4LowEnergyBremstrahlung
71              //               
72              // Particles: e-/e+; mu+/mu- 
73              // Physics:   EM  
74              
75   kHADR, // hadronic process      
76              // G3 default value: 1
77              // G4 processes: all defined by TG4PhysicsConstructorHadron 
78              //               
79              // Particles: hadrons 
80              // Physics:   Hadron
81              
82   kMUNU, // muon nuclear interaction 
83              // G3 default value: 0
84              // G4 processes: G4MuNuclearInteraction,
85              //               G4MuonMinusCaptureAtRest
86              //
87              // Particles: mu
88              // Physics:   Not set
89              
90   kDCAY, // decay                 
91              // G3 default value: 1
92              // G4 process: G4Decay
93              //
94              // Particles: all which decay is applicable for
95              // Physics:   General
96              
97   kLOSS, // energy loss           
98              // G3 default value: 2
99              // G4 processes: G4eIonisation/G4IeIonization,
100              //               G4MuIonisation/G4IMuIonization, 
101              //               G4hIonisation/G4IhIonisation
102              //
103              // Particles: charged 
104              // Physics:   EM  
105              
106   kMULS, // multiple scattering   
107              // G3 default value: 1
108              // G4 process: G4MultipleScattering/G4IMultipleScattering
109              //
110              // Particles: charged 
111              // Physics:   EM  
112
113   kCKOV, // Cerenkov photon generation
114              // G3 default value: 0
115              // G4 process: G4Cerenkov
116              //            
117              // Particles: charged  
118              // Physics:   Optical  
119            
120   kRAYL, // Rayleigh scattering
121              // G3 default value: 0          
122              // G4 process: G4OpRayleigh
123              //            
124              // Particles: optical photon  
125              // Physics:   Optical  
126              
127   kLABS, // light photon absorption
128              // it is turned on when Cerenkov process is turned on
129              // G3 default value: 0          
130              // G4 process: G4OpAbsorption, G4OpBoundaryProcess
131              //
132              // Particles: optical photon  
133              // Physics:   Optical  
134
135   kSYNC, // synchrotron radiation in magnetic field        
136              // G3 default value: 0          
137              // G4 process: G4SynchrotronRadiation
138              //
139              // Particles: ??
140              // Physics:   Not set  
141
142   kNoG3Controls
143 };
144
145 enum TG4G3ControlValue 
146 {
147 // in G3 the process control values meaning can be different for
148 // different processes, but for most of them is:
149 //   0  process is not activated
150 //   1  process is activated WITH generation of secondaries
151 //   2  process is activated WITHOUT generation of secondaries
152 // if process does not generate secondaries => 1 same as 2
153 //
154 // Exceptions:
155 //   MULS:  also 3
156 //   LOSS:  also 3, 4 
157 //   RAYL:  only 0,1
158 //   HADR:  may be > 2
159 //
160   kUnset      = -1, 
161   kInActivate = 0, 
162   kActivate   = 1,
163   kActivate2  = 2   
164 }; 
165
166 #endif //TG4_G3_CONTROL_H
167