Fixing small memory leaks (Hans)
[u/mrichter/AliRoot.git] / TOF / ViewTOFstrips.C
CommitLineData
452e9a84 1void ViewTOFstrips()
2{
3//=====> Level 1
4 // Level 1 for TOF volumes
5 gMC->Gsatt("B077","seen",0);
6
7
8//==========> Level 2
9 // Level 2
10 gMC->Gsatt("B076","seen",-1); // all B076 sub-levels skipped -
11 gMC->Gsatt("B071","seen",0);
12 gMC->Gsatt("B074","seen",0);
13 gMC->Gsatt("B075","seen",0);
14 gMC->Gsatt("B080","seen",0); // B080 does not has sub-level
15
16 // Level 2 of B071
17 gMC->Gsatt("B063","seen",-1); // all B063 sub-levels skipped -
18 gMC->Gsatt("B065","seen",-1); // all B065 sub-levels skipped -
19 gMC->Gsatt("B067","seen",-1); // all B067 sub-levels skipped -
20 gMC->Gsatt("B069","seen",-1); // all B069 sub-levels skipped -
21 gMC->Gsatt("B056","seen",0); // B056 does not has sub-levels -
22 gMC->Gsatt("B059","seen",-1); // all B059 sub-levels skipped -
23 gMC->Gsatt("B072","seen",-1); // all B072 sub-levels skipped -
24 gMC->Gsatt("BTR1","seen",0); // BTR1 do not have sub-levels -
25 gMC->Gsatt("BTO1","seen",0);
26
27
28 // Level 2 of B074
29 gMC->Gsatt("BTR2","seen",0); // BTR2 does not has sub-levels -
30 gMC->Gsatt("BTO2","seen",0);
31
32 // Level 2 of B075
33 gMC->Gsatt("BTR3","seen",0); // BTR3 do not have sub-levels -
34 gMC->Gsatt("BTO3","seen",0);
35
36// ==================> Level 3
37 // Level 3 of B071 / Level 2 of BTO1
38 gMC->Gsatt("FTOC","seen",0);
39 gMC->Gsatt("FTOB","seen",0);
40 gMC->Gsatt("FTOA","seen",0);
41
42 // Level 3 of B074 / Level 2 of BTO2
43 // -> cfr previous settings
44
45 // Level 3 of B075 / Level 2 of BTO3
46 // -> cfr previous settings
47
48// ==========================> Level 4
49 // Level 4 of B071 / Level 3 of BTO1 / Level 2 of FTOC
50 gMC->Gsatt("FLTC","seen",0);
51 // Level 4 of B071 / Level 3 of BTO1 / Level 2 of FTOB
52 gMC->Gsatt("FLTB","seen",0);
53 // Level 4 of B071 / Level 3 of BTO1 / Level 2 of FTOA
54 gMC->Gsatt("FLTA","seen",0);
55
56 // Level 4 of B074 / Level 3 of BTO2 / Level 2 of FTOC
57 // -> cfr previous settings
58 // Level 4 of B074 / Level 3 of BTO2 / Level 2 of FTOB
59 // -> cfr previous settings
60
61 // Level 4 of B075 / Level 3 of BTO3 / Level 2 of FTOC
62 // -> cfr previous settings
63
64//======================================> Level 5
65 // Level 5 of B071 / Level 4 of BTO1 / Level 3 of FTOC / Level 2 of FLTC
66 gMC->Gsatt("FALC","seen",0); // no children for FALC
67 gMC->Gsatt("FSTR","seen",-2);
68 gMC->Gsatt("FPEC","seen",0); // no children for FPEC
69 gMC->Gsatt("FECC","seen",0); // no children for FECC
70 gMC->Gsatt("FWAC","seen",0); // no children for FWAC
71 gMC->Gsatt("FAIC","seen",0); // no children for FAIC
72
73 // Level 5 of B071 / Level 4 of BTO1 / Level 3 of FTOB / Level 2 of FLTB
74 gMC->Gsatt("FALB","seen",0); // no children for FALB
75//--> gMC->Gsatt("FSTR","seen",-2);
76 // -> cfr previous settings
77 gMC->Gsatt("FPEB","seen",0); // no children for FPEB
78 gMC->Gsatt("FECB","seen",0); // no children for FECB
79 gMC->Gsatt("FWAB","seen",0); // no children for FWAB
80 gMC->Gsatt("FAIB","seen",0); // no children for FAIB
81
82 // Level 5 of B071 / Level 4 of BTO1 / Level 3 of FTOA / Level 2 of FLTA
83 gMC->Gsatt("FALA","seen",0); // no children for FALB
84//--> gMC->Gsatt("FSTR","seen",-2);
85 // -> cfr previous settings
86 gMC->Gsatt("FPEA","seen",0); // no children for FPEA
87 gMC->Gsatt("FECA","seen",0); // no children for FECA
88 gMC->Gsatt("FWAA","seen",0); // no children for FWAA
89 gMC->Gsatt("FAIA","seen",0); // no children for FAIA
90
91// for others Level 5, cfr. previous settings
92
93
94}