Show only the PHOS modules which are installed
[u/mrichter/AliRoot.git] / EVE / hlt-macros / geom_gentle_hlt.C
index 2a0b8d7..0436cbf 100644 (file)
@@ -18,7 +18,12 @@ TEveGeoShape* geom_gentle_hlt(Bool_t register_as_global=kTRUE) {
   elTRD->SetRnrState(kFALSE);
 
   TEveElement* elHMPID = gsre->FindChild("HMPID");
-  elHMPID->SetRnrState(kFALSE);
+  elHMPID->SetRnrState(kTRUE);
+
+  TEveElement* elPHOS = gsre->FindChild("PHOS");
+  elPHOS->SetRnrState(kTRUE);
+  elPHOS->FindChild("PHOS_4")->SetRnrState(kFALSE);
+  elPHOS->FindChild("PHOS_5")->SetRnrState(kFALSE);
 
   if (register_as_global) {
     gEve->AddGlobalElement(gsre);
@@ -36,6 +41,11 @@ TEveGeoShape* geom_gentle_rphi() {
   TEveGeoShape* gsre = TEveGeoShape::ImportShapeExtract(gse);
   f.Close();
 
+  TEveElement* elPHOS = gsre->FindChild("PHOS");
+  elPHOS->SetRnrState(kTRUE);
+  elPHOS->FindChild("PHOS_4")->SetRnrState(kFALSE);
+  elPHOS->FindChild("PHOS_5")->SetRnrState(kFALSE);
+
   return gsre;
 }