Additiona TOF data members (S.Arcelli)
[u/mrichter/AliRoot.git] / FMD / ViewFMD.C
CommitLineData
4e47b882 1void ViewFMD()
fe4da5cc 2{
7684b53c 3 gMC->Gsatt("FMD1","seen",0);
4 gMC->Gsatt("FMD2","seen",0);
5 gMC->Gsatt("FMD3","seen",0);
7684b53c 6
7 TString name;
8 // Rings
9 for (Int_t i = 0; i < 2; i++) {
10 char c;
11 switch (i) {
12 case 0: c = 'I'; break;
13 case 1: c = 'O'; break;
14 }
15
1a1fdef7 16 name = Form("FMD%c", c);
7684b53c 17 gMC->Gsatt(name.Data(),"seen",0); // Ring volume
18
1a1fdef7 19 name = Form("F%cFV", c);
7684b53c 20 gMC->Gsatt(name.Data(),"seen",0); // Virtual volume front
21
1a1fdef7 22 name = Form("F%cBV", c);
7684b53c 23 gMC->Gsatt(name.Data(),"seen",0); // Virtual volume back
24
25 name = Form("F%cAC", c);
26 gMC->Gsatt(name.Data(),"seen",-2); // Active volume
27
1a1fdef7 28 name = Form("F%cSL", c);
29 gMC->Gsatt(name.Data() ,"seen",1);
30
31 name = Form("F%cLL", c);
32 gMC->Gsatt(name.Data() ,"seen",1);
33
7684b53c 34 // name = Form("F%cAP", c);
35 // gMC->Gsatt(name.Data(),"seen",-1); // Phi segmentation of active
36
37 // name = Form("F%cAR", c);
38 // gMC->Gsatt(name.Data(),"seen",-1); // R segmentation of active
39
40 name = Form("F%cPT", c);
41 gMC->Gsatt(name.Data(),"seen",1); // Top of print-board
42
43 name = Form("F%cPB", c);
44 gMC->Gsatt(name.Data(),"seen",1); // Bottom of print board
45 }
46
47 for (Int_t i = 1; i <= 3; i++) {
48 for (Int_t j = 0; j < 2; j++) {
49 if (i == 1 && j == 1) break;
50 char c;
51 switch (j) {
52 case 0: c = 'I'; break;
53 case 1: c = 'O'; break;
54 }
55
1a1fdef7 56 name = Form("F%d%cI", i, c);
7684b53c 57 gMC->Gsatt(name.Data(),"seen",-2); // Honeycomp top
58
1a1fdef7 59 name = Form("F%d%cJ", i, c);
7684b53c 60 gMC->Gsatt(name.Data(),"seen",-2); // Honeycomp bottom
61
1a1fdef7 62 name = Form("F%d%cK", i, c);
7684b53c 63 gMC->Gsatt(name.Data(),"seen",0); // Honeycomp inner top
64
1a1fdef7 65 name = Form("F%d%cL", i, c);
7684b53c 66 gMC->Gsatt(name.Data(),"seen",0); // Honeycomp inner bottom
67 }
68 }
69
70 gMC->Gsatt("F3SN", "seen", 1); // Nose of FMD3 Cone
71 gMC->Gsatt("F3SB", "seen", 1); // Back of FMD3 Cone
72 gMC->Gsatt("F3SL", "seen", 1); // Beams of FMD3 Cone
73 gMC->Gsatt("F3SF", "seen", 1); // Flanges on FMD3 Cone
fe4da5cc 74}