]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TGeant4/TG4G3Control.h
Update to track display by Chuncheng
[u/mrichter/AliRoot.git] / TGeant4 / TG4G3Control.h
CommitLineData
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 19enum 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
ef5d9e1a 84 // G4 processes: G4MuNuclearInteraction,
85 // G4MuonMinusCaptureAtRest
e5967ab3 86 //
87 // Particles: mu
88 // Physics: Not set
89
2817d3e2 90 kDCAY, // decay
91 // G3 default value: 1
92 // G4 process: G4Decay
e5967ab3 93 //
94 // Particles: all which decay is applicable for
95 // Physics: General
96
2817d3e2 97 kLOSS, // energy loss
98 // G3 default value: 2
99 // G4 processes: G4eIonisation/G4IeIonization,
2817d3e2 100 // G4MuIonisation/G4IMuIonization,
101 // G4hIonisation/G4IhIonisation
e5967ab3 102 //
103 // Particles: charged
104 // Physics: EM
105
2817d3e2 106 kMULS, // multiple scattering
107 // G3 default value: 1
108 // G4 process: G4MultipleScattering/G4IMultipleScattering
e5967ab3 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
2817d3e2 120 kRAYL, // Rayleigh scattering
e5967ab3 121 // G3 default value: 0
122 // G4 process: G4OpRayleigh
123 //
124 // Particles: optical photon
125 // Physics: Optical
126
2817d3e2 127 kLABS, // light photon absorption
e5967ab3 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
2817d3e2 135 kSYNC, // synchrotron radiation in magnetic field
e5967ab3 136 // G3 default value: 0
137 // G4 process: G4SynchrotronRadiation
138 //
139 // Particles: ??
140 // Physics: Not set
141
4b832490 142 kNoG3Controls
2817d3e2 143};
144
e5967ab3 145enum TG4G3ControlValue
146{
4b832490 147// in G3 the process control values meaning can be different for
2817d3e2 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
e5967ab3 152// if process does not generate secondaries => 1 same as 2
2817d3e2 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
4b832490 166#endif //TG4_G3_CONTROL_H
2817d3e2 167