Corrected hmpid clusters macro (Annalisa). Included in online event display now ...
[u/mrichter/AliRoot.git] / EVE / macros / alieve_online.C
index de4e6999426b96d1a41d49971758cf90b3e01df9..8f51d0164f520e67c0d3f2725d47bf46803efc77 100644 (file)
@@ -4,7 +4,7 @@
  * full copyright notice.                                                 *
  **************************************************************************/
 
-TEveGeoShape *gGeomGentle    = 0;
+TEveGeoShape *gGeomGentle = 0;
 
 void alieve_online_init()
 {
@@ -16,11 +16,14 @@ void alieve_online_init()
   gROOT->LoadMacro("its_clusters.C++");
   gROOT->LoadMacro("tpc_clusters.C++");
   gROOT->LoadMacro("trd_clusters.C++");
+  gROOT->LoadMacro("hmpid_clusters.C++");
 
   gROOT->LoadMacro("acorde_raw.C");
   gROOT->LoadMacro("its_raw.C");
   gROOT->LoadMacro("tpc_raw.C");
 
+  TEveUtil::AssertMacro("VizDB_scan.C");
+
   // Temp fix !!!
   TGeoManager *man = gGeoManager;
   gGeomGentle = geom_gentle();
@@ -48,18 +51,25 @@ void alieve_online_init()
     gEve->GetScenes()->FindChild("Rho-Z Projection")->AddElement(a);
   }
 
+  TEveBrowser* browser = gEve->GetBrowser();
+
+  browser->StartEmbedding(TRootBrowser::kBottom);
+  new AliEveEventManagerWindow(AliEveEventManager::GetMaster());
+  browser->StopEmbedding("EventCtrl");
+
   gEve->Redraw3D(kTRUE);
 }
 
 void alieve_online_on_new_event()
 {
-
   its_raw();
   its_clusters();
 
   tpc_raw();
   tpc_clusters();
 
+  hmpid_clusters();
+
   acorde_raw();
 
   primary_vertex();