start event mixing from 5 events in the pool
authorjgrosseo <jgrosseo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 21 Feb 2012 16:04:15 +0000 (16:04 +0000)
committerjgrosseo <jgrosseo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 21 Feb 2012 16:04:15 +0000 (16:04 +0000)
PWGCF/Correlations/DPhi/AliAnalysisTaskPhiCorrelations.cxx

index d3d58f5..8bd4658 100644 (file)
@@ -619,8 +619,8 @@ void  AliAnalysisTaskPhiCorrelations::AnalyseDataMode()
       AliFatal(Form("No pool found for centrality = %f, zVtx = %f", centrality, zVtx));
     
     //pool->SetDebug(1);
-      
-    if (pool->IsReady() || pool->NTracksInPool() > fMixingTracks / 10) 
+     
+    if (pool->IsReady() || pool->NTracksInPool() > fMixingTracks / 10 || pool->GetCurrentNEvents() >= 5) 
     {
       
       Int_t nMix = pool->GetCurrentNEvents();