Fixes in case no raw data is available during online reco+viz (Matevz)
[u/mrichter/AliRoot.git] / EVE / macros / alieve_online.C
index 8f51d0164f520e67c0d3f2725d47bf46803efc77..b5d3b344a48336a2d873d2e24820eac3d5c57c2c 100644 (file)
@@ -62,15 +62,18 @@ void alieve_online_init()
 
 void alieve_online_on_new_event()
 {
-  its_raw();
+  if (AliEveEventManager::HasRawReader())
+    its_raw();
   its_clusters();
 
-  tpc_raw();
+  if (AliEveEventManager::HasRawReader())
+    tpc_raw();
   tpc_clusters();
 
   hmpid_clusters();
 
-  acorde_raw();
+  if (AliEveEventManager::HasRawReader())
+    acorde_raw();
 
   primary_vertex();
   esd_tracks();