]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG/EMCAL/AliEmcalAodTrackFilterTask.cxx
Bug fix: tracks outside EMCal acceptance were propagated instead of tracks inside
[u/mrichter/AliRoot.git] / PWG / EMCAL / AliEmcalAodTrackFilterTask.cxx
index fe4794afa16cf5deacff855fa595acdbf23f5964..874227387c740be05ce1c4cee58bfb5f8ceb6a45 100644 (file)
@@ -163,7 +163,7 @@ void AliEmcalAodTrackFilterTask::UserExec(Option_t *)
     else if (!newt->IsExtrapolatedToEMCAL()) {
       if (fAttemptProp)
        propthistrack = kTRUE;
-      else if (fAttemptPropMatch && !newt->IsEMCAL())
+      else if (fAttemptPropMatch && newt->IsEMCAL())
        propthistrack = kTRUE;
     }
     if (propthistrack)