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