]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/macros/visscan_init.C
SM checks if other SM processes are running. ED macros improved a bit.
[u/mrichter/AliRoot.git] / EVE / macros / visscan_init.C
index 20e79d3c68a3623504ed60e81e63ebc2b61612e6..c29c9b9153236deecb481d5f06a9deeed1d48135 100644 (file)
@@ -82,7 +82,7 @@ void visscan_init(const TString& cdburi = "",
   }
 
   if (gShowMuonRPhi || gShowMuonRhoZ) {
-    TEveUtil::LoadMacro("geom_gentle_muon.C");
+    TEveUtil::LoadMacro("geom_gentle_muon.C+");
     mv->InitGeomGentleMuon(geom_gentle_muon(kFALSE), gShowMuonRPhi, gShowMuonRhoZ, kFALSE);
   }
 
@@ -193,13 +193,14 @@ void visscan_init(const TString& cdburi = "",
   slot->StopEmbedding("Selections");
 
   // QA viewer
+/*
   slot = TEveWindow::CreateWindowInTab(browser->GetTabRight());
   slot->StartEmbedding();
   new AliQAHistViewer(gClient->GetRoot(), 600, 400, kTRUE);
   slot->StopEmbedding("QA histograms");
 
   browser->GetTabRight()->SetTab(1);
-
+*/
   browser->StartEmbedding(TRootBrowser::kBottom);
   new AliEveEventManagerWindow(AliEveEventManager::GetMaster());
   browser->StopEmbedding("EventCtrl");
@@ -229,7 +230,8 @@ void visscan_init(const TString& cdburi = "",
   //==============================================================================
 
   // A refresh to show proper window.
-  gEve->GetViewers()->SwitchColorSet();
+  //gEve->GetViewers()->SwitchColorSet();
+  browser->MoveResize(0, 0, gClient->GetDisplayWidth(),gClient->GetDisplayHeight() - 32);
   gEve->Redraw3D(kTRUE);
   gSystem->ProcessEvents();
 
@@ -238,8 +240,10 @@ void visscan_init(const TString& cdburi = "",
   AliEveEventManager::GetMaster()->GotoEvent(0);
 
   gEve->EditElement(g_trkcnt);
-
   gEve->Redraw3D(kTRUE);
+   
+  // set autoload by default
+  AliEveEventManager::GetMaster()->SetAutoLoad(true);
 }
 
 /******************************************************************************/