TG3Flag renamed to TG4G3Control
[u/mrichter/AliRoot.git] / TGeant4 / TG4G3Control.h
CommitLineData
2817d3e2 1// $Id$
4b832490 2// Category: global
2817d3e2 3
4b832490 4#ifndef TG4_G3_CONTROL_H
5#define TG4_G3_CONTROL_H
2817d3e2 6
4b832490 7enum TG4G3Control
2817d3e2 8{
9 kPAIR, // pair production
10 // G3 default value: 1
11 // G4 processes: G4GammaConversion
12 // (?? G4MuPairProduction/G4IMuPairProduction)
13 kCOMP, // Compton scattering
14 // G3 default value: 1
15 // G4 processes: G4ComptonScattering
16 kPHOT, // photo electric effect
17 // G3 default value: 1
18 // G4 processes: G4PhotoElectricEffect
19 kPFIS, // photofission
20 // G3 default value: 0
21 // G4 process: ??
22 kDRAY, // delta-ray
23 // G3 default value: 2
24 // CHECK:
25 // G4 processes: G4eIonisation/G4IeIonization,
26 // G4eIonisationPlus (??)
27 // G4MuIonisation/G4IMuIonization,
28 // G4hIonisation/G4IhIonisation
29 // !! G4 treats delta rays in different way
30 kANNI, // annihilation
31 // G3 default value: 1
32 // G4 processes: G4eplusAnnihilation/G4IeplusAnnihilation
33 // only for e+
34 kBREM, // bremsstrahlung
35 // G3 default value: 1
36 // G4 processes: G4eBremsstrahlung/G4IeBremsstrahlung,
37 // G4eBremsstrahlungPlus (??),
38 // G4MuBremsstrahlung/G4IMuBremsstrahlung
39 // only for e-/e+; mu+/mu-
40 kHADR, // hadronic process
41 // G3 default value: 1
42 // ??
43 kMUNU, // muon nuclear interaction
44 // G3 default value: 0
45 // G4 processes: G4MuNuclearInteraction
46 kDCAY, // decay
47 // G3 default value: 1
48 // G4 process: G4Decay
49 kLOSS, // energy loss
50 // G3 default value: 2
51 // G4 processes: G4eIonisation/G4IeIonization,
52 // G4eIonisationPlus (??)
53 // G4MuIonisation/G4IMuIonization,
54 // G4hIonisation/G4IhIonisation
55 kMULS, // multiple scattering
56 // G3 default value: 1
57 // G4 process: G4MultipleScattering/G4IMultipleScattering
58 // all charged particles
59/* to be added
60 kCKOV // Cerenkov photon generation
61 // G3 default value: 0
62 // G4 process: G4Cerenkov
63 // + light photon absorption processes (??which)
64 // all charged particles
65 kRAYL, // Rayleigh scattering
66 // G3 default value: 0
67 // G4 process: ?? G4OpRayleigh (check)
68 kLABS, // light photon absorption
69 // it is turned on when Cerenkov process is turned on
70 // --> may be removed from the enum
71 // G3 default value: 0
72 // G4 process: ?? G4PhotoAbsorption, G4OpAbsorption (check)
73 kSYNC, // synchrotron radiation in magnetic field
74 // G3 default value: 0
75 // G4 process: ?? G4SynchrotronRadiation (check)
76*/
4b832490 77 kNoG3Controls
2817d3e2 78};
79
4b832490 80enum TG4G3ControlValue {
81// in G3 the process control values meaning can be different for
2817d3e2 82// different processes, but for most of them is:
83// 0 process is not activated
84// 1 process is activated WITH generation of secondaries
85// 2 process is activated WITHOUT generation of secondaries
86// if process does not generate seconadaries => 1 same as 2
87//
88// Exceptions:
89// MULS: also 3
90// LOSS: also 3, 4
91// RAYL: only 0,1
92// HADR: may be > 2
93//
94 kUnset = -1,
95 kInActivate = 0,
96 kActivate = 1,
97 kActivate2 = 2
98};
99
4b832490 100#endif //TG4_G3_CONTROL_H
2817d3e2 101