Don't reject any event if AliVEvent::kAny is requested
authorsaiola <salvatore.aiola@cern.ch>
Sat, 5 Jul 2014 02:39:59 +0000 (22:39 -0400)
committersaiola <salvatore.aiola@cern.ch>
Sat, 5 Jul 2014 02:39:59 +0000 (22:39 -0400)
PWGJE/EMCALJetTasks/AliJetEmbeddingFromAODTask.cxx

index c2e95a4..8a782d5 100644 (file)
@@ -434,7 +434,7 @@ Bool_t AliJetEmbeddingFromAODTask::IsAODEventSelected()
     AliAODHeader *aodHeader = static_cast<AliAODHeader*>(fAODHeader);
 
     // Trigger selection
-    if (fTriggerMask != 0) {
+    if (fTriggerMask != AliVEvent::kAny) {
       UInt_t offlineTrigger = aodHeader->GetOfflineTrigger();
       
       if ((offlineTrigger & fTriggerMask) == 0) {