]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
small fix: cut on maximum difference between v0m and trk multiplicity when selecting...
authorrbertens <rbertens@cern.ch>
Mon, 16 Jun 2014 08:45:01 +0000 (10:45 +0200)
committerrbertens <rbertens@cern.ch>
Mon, 16 Jun 2014 08:45:57 +0000 (10:45 +0200)
PWG/FLOW/Tasks/AliFlowEventCuts.cxx

index 5812de92edf3b07a8a19d69496763c3ec72df11a..d0784f90c2ebbf2b81aac62e2120232ae9d55dea 100644 (file)
@@ -415,7 +415,7 @@ Bool_t AliFlowEventCuts::PassesCuts(AliVEvent *event, AliMCEvent *mcevent)
       if( TMath::Abs(tVtxZ-tSPDVtxZ) > 0.5 ) pass = kFALSE;
     }
     AliCentrality* centr = aodevent->GetHeader()->GetCentralityP();
-    if(fCutTPCmultiplicityOutliers){
+    if(fCutTPCmultiplicityOutliers || fCutTPCmultiplicityOutliersAOD){
       Double_t v0Centr  = centr->GetCentralityPercentile("V0M");
       Double_t trkCentr = centr->GetCentralityPercentile("TRK"); 
       if(TMath::Abs(v0Centr-trkCentr) > 5) pass = kFALSE;