]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TFluka/Fdrawcalls.h
Additional protection
[u/mrichter/AliRoot.git] / TFluka / Fdrawcalls.h
1 #include "Rtypes.h"
2 //
3 // Structure saving parameters of Fluka procedures
4 // mgdraw(Int_t& icode, Int_t& mreg)
5 // bxdraw(Int_t& icode, Int_t& mreg, Int_t& newreg,
6 //        Double_t& xsco, Double_t& ysco, Double_t& zsco)
7 // eedraw(Int_t& icode)
8 // endraw(Int_t& icode, Int_t& mreg,
9 //        Double_t& rull, Double_t& xsco, Double_t& ysco, Double_t& zsco)
10 // sogdraw
11 // usdraw(Int_t& icode, Int_t& mreg,
12 //        Double_t& xsco, Double_t& ysco, Double_t& zsco)
13 //
14 //*---------------------- icode values ----------------------------------*
15 //*                                                                      *
16 //*    Icode = 1:  call from Kaskad                                      *
17 //*    Icode = 2:  call from Emfsco                                      *
18 //*    Icode = 3:  call from Kasneu                                      *
19 //*    Icode = 4:  call from Kashea                                      *
20 //*    Icode = 5:  call from Kasoph                                      *
21 //*                                                                      *
22 //*    Boundary- (X) crossing                                            *
23 //*    ======================                                            *
24 //*    Icode = 1x: call from Kaskad                                      *
25 //*    Icode = 19: boundary crossing                                     *
26 //*    Icode = 2x: call from Emfsco                                      *
27 //*    Icode = 29: boundary crossing                                     *
28 //*    Icode = 3x: call from Kasneu                                      *
29 //*    Icode = 39: boundary crossing                                     *
30 //*    Icode = 4x: call from Kashea                                      *
31 //*    Icode = 49: boundary crossing                                     *
32 //*    Icode = 59: call from Kasoph                                      *
33 //*    Icode = 59: boundary crossing                                     *
34 //*                                                                      *
35 //*    ENergy deposition DRAWing:                                        *
36 //*    =========================                                         *
37 //*                                                                      *
38 //*     Icode = 1x: call from Kaskad                                     *
39 //*             10: elastic interaction recoil                           *
40 //*             11: inelastic interaction recoil                         *
41 //*             12: stopping particle                                    *
42 //*             13: pseudo-neutron deposition                            *
43 //*             14: escape                                               *
44 //*             15: time kill                                            *
45 //*     Icode = 2x: call from Emfsco                                     *
46 //*             20: local energy deposition (i.e. photoelectric)         *
47 //*             21: below threshold, iarg=1                              *
48 //*             22: below threshold, iarg=2                              *
49 //*             23: escape                                               *
50 //*             24: time kill                                            *
51 //*     Icode = 3x: call from Kasneu                                     *
52 //*             30: target recoil                                        *
53 //*             31: below threshold                                      *
54 //*             32: escape                                               *
55 //*             33: time kill                                            *
56 //*     Icode = 4x: call from Kashea                                     *
57 //*             40: escape                                               *
58 //*             41: time kill                                            *
59 //*     Icode = 5x: call from Kasoph                                     *
60 //*             50: optical photon absorption                            *
61 //*             51: escape                                               *
62 //*             52: time kill                                            *
63 //*                                                                      *
64 //*     USer dependent DRAWing:                                          *
65 //*     ======================                                           *
66 //*                                                                      *
67 //*     Icode = 10x: call from Kaskad                                    *
68 //*             100: elastic   interaction secondaries                   *
69 //*             101: inelastic interaction secondaries                   *
70 //*             102: particle decay  secondaries                         *
71 //*             103: delta ray  generation secondaries                   *
72 //*             104: pair production secondaries                         *
73 //*             105: bremsstrahlung  secondaries                         *
74 //*     Icode = 20x: call from Emfsco                                    *
75 //*             208: bremsstrahlung secondaries                          *
76 //*             210: Moller secondaries                                  *
77 //*             212: Bhabha secondaries                                  *
78 //*             214: in-flight annihilation secondaries                  *
79 //*             215: annihilation at rest   secondaries                  *
80 //*             217: pair production        secondaries                  *
81 //*             219: Compton scattering     secondaries                  *
82 //*             221: photoelectric          secondaries                  *
83 //*             225: Rayleigh scattering    secondaries                  *
84 //*     Icode = 30x: call from Kasneu                                    *
85 //*             300: interaction secondaries                             *
86 //*     Icode = 40x: call from Kashea                                    *
87 //*             400: delta ray  generation secondaries                   *
88 //*     For all interactions secondaries are put on FINUC common (kp=1,np)
89 //*     but for KASHEA delta ray generation where only the secondary     *
90 //*     electron is present and stacked on STACK common for kp=lstack    *
91 //*                                                                      *
92 //*---------------------- end of icode values ---------------------------*
93 //
94
95 typedef struct {
96    Int_t    icode;
97    Int_t    mreg;
98    Int_t    newreg;
99    Double_t rull;
100    Double_t xsco;
101    Double_t ysco;
102    Double_t zsco;
103 } Fdrawcalls;
104