]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/FLOW/macros/AddTaskFlowCentralityBayesian.C
settable rang phi histogram + few other fixes
[u/mrichter/AliRoot.git] / PWG2 / FLOW / macros / AddTaskFlowCentralityBayesian.C
index cffb7c5bd14d11f52d7492f3016cfe9e5ef78a35..7a0fc2d65effceb224de7ca071a7d5bcca6b03f8 100644 (file)
@@ -425,6 +425,13 @@ AliAnalysisTaskFlowEvent *AddTaskFlowCentralityBayesian(Float_t centrMin=0.,
   // Pass cuts for RPs and POIs to the task:
   taskFE->SetCutsRP(cutsRP);
   taskFE->SetCutsPOI(cutsPOI);
+  if (cutsRP->GetParamType()==AliFlowTrackCuts::kV0)
+  { 
+    //TODO: since this is set in a static object all analyses in an analysis train
+    //will be affected.
+    taskFE->SetHistWeightvsPhiMin(0.);
+    taskFE->SetHistWeightvsPhiMax(200.);
+  }
 
   // Create the analysis tasks, add them to the manager.
   //===========================================================================