]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG/EMCAL/macros/AddTaskEmcalPicoTrackMaker.C
from Salvatore
[u/mrichter/AliRoot.git] / PWG / EMCAL / macros / AddTaskEmcalPicoTrackMaker.C
index 3a0f7658444976336714f26b6fae63c0a7ba5d06..031833de558c8c3bd801a730d3cd237fc0ef3618 100644 (file)
@@ -66,8 +66,8 @@ AliEmcalPicoTrackMaker* AddTaskEmcalPicoTrackMaker(
     eTask->SetAODfilterBits(arg1.Atoi(),arg2.Atoi());
     delete arr;
   } else {
-    if (runPeriod.IsNull())
-      ::Warning("Run period %s not known. It will use IsHybridGlobalConstrainedGlobal.");
+    if (!runPeriod.IsNull())
+      ::Warning("Run period %s not known. It will use IsHybridGlobalConstrainedGlobal.", runPeriod.Data());
   }
   eTask->SetESDtrackCuts(cuts);