]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
print the GlobalTrigger statistics once every 60s
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 16 Nov 2009 23:31:16 +0000 (23:31 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 16 Nov 2009 23:31:16 +0000 (23:31 +0000)
this is now a quick solution as I did not manage to finish the event/run summary code

HLT/trigger/AliHLTGlobalTriggerComponent.cxx

index b745eae1e4bb3777cc86a3b77a1077e1b65d5173..7c577b64e55c3c360d0bb28ad03d48ed5d06bc65 100644 (file)
@@ -387,9 +387,9 @@ int AliHLTGlobalTriggerComponent::DoTrigger()
   
   static UInt_t lastTime=0;
   TDatime time;
-  if (time.Get()-lastTime>5) {
+  if (time.Get()-lastTime>60) {
     lastTime=time.Get();
-    PrintStatistics(fTrigger);
+    PrintStatistics(fTrigger, kHLTLogImportant);
   }
   
   // Add the input objects used to the global decision.