]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/ViewTRD.C
More cosmetic
[u/mrichter/AliRoot.git] / TRD / ViewTRD.C
1 //_____________________________________________________________________________
2 void ViewTRDhole()
3 {
4   //
5   // Draw a view of the TRD geometry with holes
6   //
7
8   gMC->Gsatt("B071","SEEN", 0);
9   gMC->Gsatt("B074","SEEN", 0);
10   gMC->Gsatt("B075","SEEN", 0);
11   gMC->Gsatt("B077","SEEN", 0);
12   gMC->Gsatt("B078","SEEN", 0);
13   gMC->Gsatt("B079","SEEN", 0);
14   gMC->Gsatt("BTR1","SEEN", 0);
15   gMC->Gsatt("BTR2","SEEN", 0);
16   gMC->Gsatt("BTR3","SEEN", 0);
17   gMC->Gsatt("TRD1","SEEN", 0);
18   gMC->Gsatt("TRD2","SEEN", 0);
19   gMC->Gsatt("TRD3","SEEN", 0);
20   gMC->Gsatt("UCII","SEEN", 0);
21   gMC->Gsatt("UCIM","SEEN", 0);
22   gMC->Gsatt("UCIO","SEEN", 0);
23   gMC->Gsatt("UL02","SEEN", 1);
24   gMC->Gsatt("UL05","SEEN", 1);
25   gMC->Gsatt("UL06","SEEN", 1);
26
27 }
28
29 //_____________________________________________________________________________
30 void ViewTRDfull0()
31 {
32   //
33   // Draws a view of the TRD geometry w/o holes
34   //
35
36   gMC->Gsatt("B071","SEEN", 0);
37   gMC->Gsatt("B074","SEEN", 0);
38   gMC->Gsatt("B075","SEEN", 0);
39   gMC->Gsatt("B077","SEEN", 0);
40   gMC->Gsatt("BTR1","SEEN", 0);
41   gMC->Gsatt("BTR2","SEEN", 0);
42   gMC->Gsatt("BTR3","SEEN", 0);
43   gMC->Gsatt("TRD1","SEEN", 0);
44   gMC->Gsatt("UCII","SEEN", 0);
45   gMC->Gsatt("UCIM","SEEN", 0);
46   gMC->Gsatt("UCIO","SEEN", 0);
47   gMC->Gsatt("UL02","SEEN", 1);
48   gMC->Gsatt("UL05","SEEN", 1);
49   gMC->Gsatt("UL06","SEEN", 1);
50
51 }
52
53 //_____________________________________________________________________________
54 void ViewTRDfull1()
55 {
56   //
57   // Draws a view of the TRD geometry w/o holes
58   //
59
60   gMC->Gsatt("B071","SEEN", 0);
61   gMC->Gsatt("B074","SEEN", 0);
62   gMC->Gsatt("B075","SEEN", 0);
63   gMC->Gsatt("B077","SEEN", 0);
64   gMC->Gsatt("BTR1","SEEN", 0);
65   gMC->Gsatt("BTR2","SEEN", 0);
66   gMC->Gsatt("BTR3","SEEN", 0);
67   gMC->Gsatt("TRD1","SEEN", 0);
68   gMC->Gsatt("TRD2","SEEN", 0);
69   gMC->Gsatt("UCII","SEEN", 0);
70   gMC->Gsatt("UCIM","SEEN", 0);
71   gMC->Gsatt("UCIO","SEEN", 0);
72   gMC->Gsatt("UL02","SEEN", 1);
73   gMC->Gsatt("UL05","SEEN", 1);
74   gMC->Gsatt("UL06","SEEN", 1);
75
76 }
77
78 //_____________________________________________________________________________
79 void ViewTRDfull2()
80 {
81   //
82   // Draws a view of the TRD geometry w/o holes
83   //
84
85   gMC->Gsatt("B071","SEEN", 0);
86   gMC->Gsatt("B074","SEEN", 0);
87   gMC->Gsatt("B075","SEEN", 0);
88   gMC->Gsatt("B077","SEEN", 0);
89   gMC->Gsatt("BTR1","SEEN", 0);
90   gMC->Gsatt("BTR2","SEEN", 0);
91   gMC->Gsatt("BTR3","SEEN", 0);
92   gMC->Gsatt("TRD1","SEEN", 0);
93   gMC->Gsatt("TRD3","SEEN", 0);
94   gMC->Gsatt("UCII","SEEN", 0);
95   gMC->Gsatt("UCIM","SEEN", 0);
96   gMC->Gsatt("UCIO","SEEN", 0);
97   gMC->Gsatt("UL02","SEEN", 1);
98   gMC->Gsatt("UL05","SEEN", 1);
99   gMC->Gsatt("UL06","SEEN", 1);
100
101 }
102
103 //_____________________________________________________________________________
104 void ViewTRDfull3()
105 {
106   //
107   // Draws a view of the TRD geometry w/o holes
108   //
109
110   gMC->Gsatt("B071","SEEN", 0);
111   gMC->Gsatt("B074","SEEN", 0);
112   gMC->Gsatt("B075","SEEN", 0);
113   gMC->Gsatt("B077","SEEN", 0);
114   gMC->Gsatt("BTR1","SEEN", 0);
115   gMC->Gsatt("BTR2","SEEN", 0);
116   gMC->Gsatt("BTR3","SEEN", 0);
117   gMC->Gsatt("TRD1","SEEN", 0);
118   gMC->Gsatt("TRD2","SEEN", 0);
119   gMC->Gsatt("TRD3","SEEN", 0);
120   gMC->Gsatt("UCII","SEEN", 0);
121   gMC->Gsatt("UCIM","SEEN", 0);
122   gMC->Gsatt("UCIO","SEEN", 0);
123   gMC->Gsatt("UL02","SEEN", 1);
124   gMC->Gsatt("UL05","SEEN", 1);
125   gMC->Gsatt("UL06","SEEN", 1);
126
127 }
128   gMC->Gsatt("TRD1","SEEN", 0);