]> git.uio.no Git - u/mrichter/AliRoot.git/commit - ANALYSIS/AliAnalysisManager.cxx
Added support for putting the analysis results in directories inside the output file.
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 Nov 2009 13:58:28 +0000 (13:58 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 Nov 2009 13:58:28 +0000 (13:58 +0000)
commit84fcd93f0fb1e5ae7d66f9972c7e9cb79d902066
tree59016d295ca3bb7c0d7463ff6985f6c1e3767c52
parent42dc8e7d33695fadce47e654c86c303ccfe838b9
Added support for putting the analysis results in directories inside the output file.
The only change from the user side is in the format of the file name specified in:
AliAnalysisManager::CreateContainer().
Ex:
   mgr->CreateContainer("my_cont", TList::Class(), AliAnalysisManager::kOutputContainer,
                        "AnalysisOutput.root:mySpectra")
will write the output for this container in the folder mySpectra of the file AnalysisFile.root

Added a common file name as static data member to the analysis manager to be able
to communicate to user code a common choice for the output file name. Analysis wagons
will have to use this like:

  TString outputfile = AliAnalysisManager::GetCommonFileName();
  outputfile += ":myOutputFolder";
  mgr->CreateContainer(..., outputfile);
ANALYSIS/AliAnalysisAlien.cxx
ANALYSIS/AliAnalysisDataContainer.cxx
ANALYSIS/AliAnalysisDataContainer.h
ANALYSIS/AliAnalysisManager.cxx
ANALYSIS/AliAnalysisManager.h
ANALYSIS/AliAnalysisTask.cxx