task update
authorlmilano <lmilano@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 30 Apr 2012 14:40:58 +0000 (14:40 +0000)
committerlmilano <lmilano@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 30 Apr 2012 14:40:58 +0000 (14:40 +0000)
PWGLF/SPECTRA/PiKaPr/TestAOD/AliAnalysisTaskSpectraAOD.cxx

index 34d529b..363346e 100644 (file)
@@ -146,7 +146,7 @@ void AliAnalysisTaskSpectraAOD::UserExec(Option_t *)
     //check on centrality distribution\r
     fHistMan->GetPtHistogram("CentCheck")->Fill(fAOD->GetCentrality()->GetCentralityPercentile("V0M"),fAOD->GetHeader()->GetCentralityP()->GetCentralityPercentileUnchecked("V0M"));\r
     \r
-    if(fEventCuts->IsSelected(fAOD))return;//event selection\r
+    if(!fEventCuts->IsSelected(fAOD))return;//event selection\r
       \r
     //fill q distributions vs centrality, after all event selection\r
     fHistMan->GetqVecHistogram(kHistqVecPos)->Fill(qPos,fAOD->GetCentrality()->GetCentralityPercentile("V0M"));  // qVector distribution\r