]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
my god another bug fix, what did I think last night.
authorloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 12 Jun 2012 07:19:31 +0000 (07:19 +0000)
committerloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 12 Jun 2012 07:19:31 +0000 (07:19 +0000)
PWGGA/EMCALTasks/AliEmcalPhysicsSelection.cxx

index 0c0d9daca762cc98b0525d79dbd1e5f610ab1f81..d447c016eda6b47448fa29eddc3cf3f220b8dec7 100644 (file)
@@ -106,10 +106,10 @@ UInt_t AliEmcalPhysicsSelection::GetSelectionMask(const TObject* obj)
       vzSPD = sv->GetZ();
     }
     Double_t  dvertex = TMath::Abs(vzPRI-vzSPD);
-    // skip events with dvertex<1mm if requested
+    // skip events with dvertex>1mm if requested
     // https://indico.cern.ch/getFile.py/access?contribId=4&resId=0&materialId=slides&confId=189624
     // also check on vertex z if requested
-    if (fZvertexDiff && (dvertex<0.1))
+    if (fZvertexDiff && (dvertex>0.1))
       fIsGoodEvent = kFALSE;
     if ((fZvertex>0) && (TMath::Abs(dvertex)>fZvertex))
       fIsGoodEvent = kFALSE;