Show only the PHOS modules which are installed
authorjthaeder <jthaeder@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 25 Aug 2009 16:20:57 +0000 (16:20 +0000)
committerjthaeder <jthaeder@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 25 Aug 2009 16:20:57 +0000 (16:20 +0000)
EVE/hlt-macros/geom_gentle_hlt.C
EVE/hlt-macros/onlineDisplay.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;
 }
 
index 94f6056..30d412a 100644 (file)
@@ -221,7 +221,6 @@ Int_t initializeEveViewer( Bool_t showMuonGeo ) {
   TEveBrowser *browser = gEve->GetBrowser();
   browser->ShowCloseTab(kFALSE);
 
-
   TEveViewer *threeDView  = 0;
   TEveViewer *rPhiView = 0;
   TEveViewer *rhoZView = 0;