Unique list names in BF Psi analysis
authormiweber <miweber@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 23 Jul 2012 11:47:00 +0000 (11:47 +0000)
committermiweber <miweber@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 23 Jul 2012 11:47:00 +0000 (11:47 +0000)
PWGCF/EBYE/macros/AddTaskBalancePsiCentralityTrain.C

index 3f8cc01..04ac40a 100644 (file)
@@ -143,11 +143,11 @@ AliAnalysisTaskBFPsi *AddTaskBalancePsiCentralityTrain(Double_t centrMin=0.,
   //==============================================================================\r
   TString outputFileName = AliAnalysisManager::GetCommonFileName();\r
   outputFileName += ":PWGCFEbyE.outputBalanceFunctionPsiAnalysis";\r
-  AliAnalysisDataContainer *coutQA = mgr->CreateContainer("listQAPsi", TList::Class(),AliAnalysisManager::kOutputContainer,outputFileName.Data());\r
-  AliAnalysisDataContainer *coutBF = mgr->CreateContainer("listBFPsi", TList::Class(),AliAnalysisManager::kOutputContainer,outputFileName.Data());\r
-  if(gRunShuffling) AliAnalysisDataContainer *coutBFS = mgr->CreateContainer("listBFPsiShuffled", TList::Class(),AliAnalysisManager::kOutputContainer,outputFileName.Data());\r
-  if(gRunMixing) AliAnalysisDataContainer *coutBFM = mgr->CreateContainer("listBFPsiMixed", TList::Class(),AliAnalysisManager::kOutputContainer,outputFileName.Data());\r
-  if(kUsePID) AliAnalysisDataContainer *coutQAPID = mgr->CreateContainer("listQAPIDPsi", TList::Class(),AliAnalysisManager::kOutputContainer,outputFileName.Data());\r
+  AliAnalysisDataContainer *coutQA = mgr->CreateContainer(Form("listQAPsi_%.0f-%.0f",centrMin,centrMax), TList::Class(),AliAnalysisManager::kOutputContainer,outputFileName.Data());\r
+  AliAnalysisDataContainer *coutBF = mgr->CreateContainer(Form("listBFPsi_%.0f-%.0f",centrMin,centrMax), TList::Class(),AliAnalysisManager::kOutputContainer,outputFileName.Data());\r
+  if(gRunShuffling) AliAnalysisDataContainer *coutBFS = mgr->CreateContainer(Form("listBFPsiShuffled_%.0f-%.0f",centrMin,centrMax), TList::Class(),AliAnalysisManager::kOutputContainer,outputFileName.Data());\r
+  if(gRunMixing) AliAnalysisDataContainer *coutBFM = mgr->CreateContainer(Form("listBFPsiMixed_%.0f-%.0f",centrMin,centrMax), TList::Class(),AliAnalysisManager::kOutputContainer,outputFileName.Data());\r
+  if(kUsePID) AliAnalysisDataContainer *coutQAPID = mgr->CreateContainer(Form("listQAPIDPsi_%.0f-%.0f",centrMin,centrMax), TList::Class(),AliAnalysisManager::kOutputContainer,outputFileName.Data());\r
 \r
   mgr->ConnectInput(taskBF, 0, mgr->GetCommonInputContainer());\r
   mgr->ConnectOutput(taskBF, 1, coutQA);\r