]>
Commit | Line | Data |
---|---|---|
2e0139df | 1 | void |
2 | ShowFMDITS(const char* name="ALIC") | |
3 | { | |
f70f588a | 4 | AliLog::SetModuleDebugLevel("FMD", 1); |
2e0139df | 5 | gAlice->InitMC("$ALICE_ROOT/FMD/Config.C"); |
6 | ||
7 | const char* inv[] = { "RB24", "RB26Pipe", | |
8 | "ICYL", | |
c6b36280 | 9 | "ICU0", "ICU1", "ICU2", "ICU3", "ICU4", |
10 | "ICU5", "ICU6", "ICU7", "ICU8", "ICU9", | |
11 | "ICC0", "ICC1", "ICC2", "ICC3", "ICC4", | |
12 | "ICC5", "ICC6", "ICC7", "ICC8", "ICC9", | |
2e0139df | 13 | "IHK1", "IHK2", |
14 | "ISR1", "ISR2", "ISR3", "ISR6", | |
15 | "ITSSPD", | |
16 | "ITSsddLayer3", "ITSsddLayer4", | |
17 | "ITSssdLayer5", "ITSssdLayer6", | |
18 | "ITSsddForward3Pos", "ITSsddForward3Neg", | |
19 | "ITSsddForward4Pos", "ITSsddForward4Neg", | |
20 | "Lay5LadderSupportRing", "Lay6LadderSupportRing", | |
21 | "EndCapSupportSystemLayer5Sx", | |
22 | "EndCapSupportSystemLayer5Dx", | |
23 | "EndCapSupportSystemLayer6Sx", | |
24 | "EndCapSupportSystemLayer6Dx", | |
25 | "SDDCarbonFiberCylinder", | |
26 | "SDDCarbonFiberCone", | |
27 | "SSDexternalcylinder", | |
28 | "SSDfoamcylinder", | |
c6b36280 | 29 | "SSDCableLay5RightSidePCon1", |
30 | "SSDCableLay5RightSidePCon2", | |
31 | "SSDCableLay5RightSidePCon3", | |
32 | "SSDCableLay5RightSidePConWater1", | |
33 | "SSDCableLay5RightSidePConWater2", | |
34 | "SSDCableLay5RightSidePConWater3", | |
35 | "SSDCableLay5RightSideTube", | |
36 | "SSDCableLay5RightSideWaterTube", | |
37 | "SSDCableLay6MaterialBudgetPCon", | |
38 | "SSDCableLay6MaterialBudgetTube", | |
39 | "SSDCableLay6RightSidePCon", | |
40 | "SSDCableLay6RightSideTube", | |
41 | "SSDCableLay6RightSideWaterPCon", | |
42 | "SSDCableLay6RightSideWaterTube", | |
2e0139df | 43 | "ITSssdCone", |
44 | "ITScablesSDDpcon1Plast", | |
45 | "ITScablesSDDpcon3Plast", | |
46 | "vSddCableInterCyl", | |
47 | "vpcon1container", | |
48 | "vpcon2container", | |
49 | "vpcon3container", | |
50 | 0 }; | |
51 | const char** ptr = inv; | |
52 | TGeoVolume* vol = 0; | |
53 | while (*ptr) { | |
54 | const char* n = *ptr++; | |
55 | vol = gGeoManager->GetVolume(n); | |
56 | if (!vol) { | |
57 | std::cerr << "Volume " << n << " not found" << std::endl; | |
58 | continue; | |
59 | } | |
f70f588a | 60 | // std::cout << "Processing " << n << std::endl; |
2e0139df | 61 | vol->SetVisDaughters(kFALSE); |
62 | vol->SetVisContainers(kTRUE); | |
63 | vol->SetVisibility(kFALSE); | |
64 | vol->InvisibleAll(kTRUE); | |
65 | } | |
c6b36280 | 66 | |
2e0139df | 67 | vol = gGeoManager->GetVolume("SPDcentralomega"); |
68 | if (vol) vol->SetTransparency(64); | |
69 | vol = gGeoManager->GetVolume("SPDendcabomaga"); | |
70 | if (vol) vol->SetTransparency(64); | |
71 | vol = gGeoManager->GetVolume("SPDconeshieldH1"); | |
72 | if (vol) vol->SetTransparency(64); | |
73 | vol = gGeoManager->GetVolume("SPDconeshieldH2"); | |
74 | if (vol) vol->SetTransparency(64); | |
75 | ||
76 | vol = gGeoManager->GetVolume(name); | |
77 | if (!vol) return; | |
78 | new TBrowser("geoBrowser", gGeoManager); | |
79 | vol->Draw("ogl"); | |
80 | } | |
81 |