From 1b91882ca3115a9a087cc259028cfaf477bb29b6 Mon Sep 17 00:00:00 2001 From: loizides Date: Tue, 12 Jun 2012 07:19:31 +0000 Subject: [PATCH] my god another bug fix, what did I think last night. --- PWGGA/EMCALTasks/AliEmcalPhysicsSelection.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PWGGA/EMCALTasks/AliEmcalPhysicsSelection.cxx b/PWGGA/EMCALTasks/AliEmcalPhysicsSelection.cxx index 0c0d9daca76..d447c016eda 100644 --- a/PWGGA/EMCALTasks/AliEmcalPhysicsSelection.cxx +++ b/PWGGA/EMCALTasks/AliEmcalPhysicsSelection.cxx @@ -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; -- 2.43.0