]>
Commit | Line | Data |
---|---|---|
4e47b882 | 1 | void ViewFMD() |
fe4da5cc | 2 | { |
07d31158 | 3 | gMC->Gsatt("FMD1","seen",0); |
4 | gMC->Gsatt("FMD2","seen",0); | |
5 | gMC->Gsatt("FMD3","seen",0); | |
96707f8c | 6 | gMC->Gsatt("FSSL","seen",1); |
7 | gMC->Gsatt("FSLL","seen",1); | |
8 | ||
9 | TString name; | |
10 | // Rings | |
11 | for (Int_t i = 0; i < 2; i++) { | |
12 | char c; | |
13 | switch (i) { | |
14 | case 0: c = 'I'; break; | |
15 | case 1: c = 'O'; break; | |
16 | } | |
17 | ||
18 | name = Form("F%cRG", c); | |
19 | gMC->Gsatt(name.Data(),"seen",0); // Ring volume | |
20 | ||
21 | name = Form("F%cVF", c); | |
22 | gMC->Gsatt(name.Data(),"seen",0); // Virtual volume front | |
23 | ||
24 | name = Form("F%cVB", c); | |
25 | gMC->Gsatt(name.Data(),"seen",0); // Virtual volume back | |
26 | ||
27 | name = Form("F%cAC", c); | |
28 | gMC->Gsatt(name.Data(),"seen",-2); // Active volume | |
29 | ||
30 | // name = Form("F%cAP", c); | |
31 | // gMC->Gsatt(name.Data(),"seen",-1); // Phi segmentation of active | |
32 | ||
33 | // name = Form("F%cAR", c); | |
34 | // gMC->Gsatt(name.Data(),"seen",-1); // R segmentation of active | |
35 | ||
36 | name = Form("F%cPT", c); | |
37 | gMC->Gsatt(name.Data(),"seen",1); // Top of print-board | |
38 | ||
39 | name = Form("F%cPB", c); | |
40 | gMC->Gsatt(name.Data(),"seen",1); // Bottom of print board | |
41 | } | |
42 | ||
43 | for (Int_t i = 1; i <= 3; i++) { | |
44 | for (Int_t j = 0; j < 2; j++) { | |
45 | if (i == 1 && j == 1) break; | |
46 | char c; | |
47 | switch (j) { | |
48 | case 0: c = 'I'; break; | |
49 | case 1: c = 'O'; break; | |
50 | } | |
51 | ||
52 | name = Form("F%d%cH", i, c); | |
53 | cout << "Setting attributes for " << name << endl; | |
54 | gMC->Gsatt(name.Data(),"seen",-2); // Honeycomp top | |
55 | name = Form("F%d%cI", i, c); | |
56 | cout << "Setting attributes for " << name << endl; | |
57 | gMC->Gsatt(name.Data(),"seen",-2); // Honeycomp bottom | |
58 | name = Form("F%d%cJ", i, c); | |
59 | cout << "Setting attributes for " << name << endl; | |
60 | gMC->Gsatt(name.Data(),"seen",0); // Honeycomp inner top | |
61 | name = Form("F%d%cK", i, c); | |
62 | cout << "Setting attributes for " << name << endl; | |
63 | gMC->Gsatt(name.Data(),"seen",0); // Honeycomp inner bottom | |
64 | } | |
65 | } | |
66 | ||
67 | ((TGeant3*)(gMC))->Gdtree("FIRG"); | |
fe4da5cc | 68 | } |