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