putting back the lost statistics message at EOR
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 29 Nov 2010 10:22:34 +0000 (10:22 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 29 Nov 2010 10:22:34 +0000 (10:22 +0000)
HLT/trigger/AliHLTGlobalTriggerComponent.cxx

index 3d8fa05..aa9b11f 100644 (file)
@@ -493,6 +493,10 @@ int AliHLTGlobalTriggerComponent::DoTrigger()
 
   AliHLTUInt32_t eventType=0;
   if (!IsDataEvent(&eventType)) {
+    if (eventType==gkAliEventTypeEndOfRun)
+    {
+      PrintStatistics(fTrigger, kHLTLogImportant);
+    }
     if (fDataEventsOnly)
     {
       IgnoreEvent();  // dont generate any trigger decision.
@@ -613,10 +617,6 @@ int AliHLTGlobalTriggerComponent::DoTrigger()
     lastTime=time.Get();
     PrintStatistics(fTrigger, kHLTLogImportant);
   }
-  else if (eventType==gkAliEventTypeEndOfRun)
-  {
-    PrintStatistics(fTrigger, kHLTLogImportant);
-  }
   
   // add readout filter to event done data
   CreateEventDoneReadoutFilter(decision.TriggerDomain(), 3);