Fixes in case no raw data is available during online reco+viz (Matevz)
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 3 Dec 2008 11:15:35 +0000 (11:15 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 3 Dec 2008 11:15:35 +0000 (11:15 +0000)
EVE/macros/alieve_online.C
STEER/AliReconstruction.cxx

index 8f51d0164f520e67c0d3f2725d47bf46803efc77..b5d3b344a48336a2d873d2e24820eac3d5c57c2c 100644 (file)
@@ -62,15 +62,18 @@ void alieve_online_init()
 
 void alieve_online_on_new_event()
 {
 
 void alieve_online_on_new_event()
 {
-  its_raw();
+  if (AliEveEventManager::HasRawReader())
+    its_raw();
   its_clusters();
 
   its_clusters();
 
-  tpc_raw();
+  if (AliEveEventManager::HasRawReader())
+    tpc_raw();
   tpc_clusters();
 
   hmpid_clusters();
 
   tpc_clusters();
 
   hmpid_clusters();
 
-  acorde_raw();
+  if (AliEveEventManager::HasRawReader())
+    acorde_raw();
 
   primary_vertex();
   esd_tracks();
 
   primary_vertex();
   esd_tracks();
index 9410989064cf7f9a81799d4319369171e92f23ec..1f7988c9f2deee6ee10ce8397673b5727408b47f 100644 (file)
@@ -2879,7 +2879,7 @@ void AliReconstruction::RunAliEVE()
   // successful initialization of AliEVE.
 
   AliInfo("Running AliEVE...");
   // successful initialization of AliEVE.
 
   AliInfo("Running AliEVE...");
-  gROOT->ProcessLine(Form("AliEveEventManager::GetMaster()->SetEvent((AliRunLoader*)%p,(AliRawReader*)%p,(AliESDEvent*)%p);",fRunLoader,fRawReader,fesd));
+  gROOT->ProcessLine(Form("AliEveEventManager::GetMaster()->SetEvent((AliRunLoader*)0x%lx,(AliRawReader*)0x%lx,(AliESDEvent*)0x%lx);",fRunLoader,fRawReader,fesd));
   gSystem->Run();
 }
 
   gSystem->Run();
 }