fix for multiple centralities
authorsnelling <snelling@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 9 Nov 2010 11:18:44 +0000 (11:18 +0000)
committersnelling <snelling@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 9 Nov 2010 11:18:44 +0000 (11:18 +0000)
PWG2/FLOW/macros/AddTaskFlowCentrality.C

index 8c2d634..06c2fa5 100644 (file)
@@ -576,7 +576,7 @@ void AddTaskFlowCentrality( Int_t refMultMin=0,
   TString taskQAoutputFileName(fileNameBase);
   taskQAoutputFileName+=binnumber;
   taskQAoutputFileName.Append("_QA.root");
-  AliAnalysisDataContainer* coutputQAtask = mgr->CreateContainer("flowQA",
+  AliAnalysisDataContainer* coutputQAtask = mgr->CreateContainer(Form("flowQA_%i",binnumber),
                                             TObjArray::Class(),
                                             AliAnalysisManager::kOutputContainer,
                                             taskQAoutputFileName.Data());