changes in AddAnalysisTaskPIDFluctuation.C for only one output file in analysis train...
authormiweber <miweber@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 26 Mar 2012 11:11:38 +0000 (11:11 +0000)
committermiweber <miweber@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 26 Mar 2012 11:11:38 +0000 (11:11 +0000)
PWGCF/EBYE/PIDFluctuation/macros/AddAnalysisTaskPIDFluctuation.C
PWGCF/EBYE/PIDFluctuation/task/SteerAODAnalysisTaskPIDFluctuation.C [moved from PWGCF/EBYE/PIDFluctuation/macros/SteerAODAnalysisTaskPIDFluctuation.C with 100% similarity]
PWGCF/EBYE/PIDFluctuation/task/SteerAnalysisTaskPIDFluctuation.C [moved from PWGCF/EBYE/PIDFluctuation/macros/SteerAnalysisTaskPIDFluctuation.C with 100% similarity]
PWGCF/EBYE/PIDFluctuation/task/SteerESDAnalysisTaskPIDFluctuation.C [moved from PWGCF/EBYE/PIDFluctuation/macros/SteerESDAnalysisTaskPIDFluctuation.C with 100% similarity]

index 9eb4b93..d6140e3 100644 (file)
@@ -34,7 +34,9 @@ AddAnalysisTaskPIDFluctuation(Int_t aodFilterBit, Float_t ptMin, Float_t ptMax,
   }
    
   /* create output data container */
-  AliAnalysisDataContainer *outputc1 = mgr->CreateContainer(analysisName.Data(), TList::Class(), AliAnalysisManager::kOutputContainer, "PIDFluctuation.root");
+  TString outputFileName = AliAnalysisManager::GetCommonFileName();
+  outputFileName += ":PWGCFEbyE.outputPIDFunctionAnalysis";
+  AliAnalysisDataContainer *outputc1 = mgr->CreateContainer(analysisName.Data(), TList::Class(), AliAnalysisManager::kOutputContainer, outputFileName.Data());
   if (!outputc1) {
     Error("", "cannot create output container \"Histos\"");
     return NULL;