+/*****************************************************************************/
+
+TFolder* AliConfig::BuildEventFolder(const char* name,const char* title)
+{
+/*
+ creates the folder structure for one event
+ TopFolder_
+ | \
+ | Tasks
+ |_
+ | \
+ | Constants
+ |_
+ | \
+ | Event_
+ | | \
+ | | Modules(detector objects)
+ | |_
+ | | \
+ | | Header
+ | |_
+ | | \
+ | | Data_
+ | | | \
+ | | | TPC_
+ | | | | \
+ | | | | Hits(object;e.g. tree)
+ | | | |_
+ | | | | \
+ | | | | SDigits(object)
+ | | | |_
+ | | | | \
+ | | | | Digits(object)
+ | | | |_
+ | | | | \
+ | | | | RecPoints(object)
+ | | | |_
+ | | | \
+ | | | Tracks(object)
+ | | |_
+ | | \
+ | | ITS_
+ | | | \
+ | | | Hits(object;e.g. tree)
+ | | |_
+ | | | \
+ | | | SDigits(object)
+ | | |_
+ | | | \
+ | | | Digits(object)
+ | | |_
+ | | | \
+ | | | RecPoints(object)
+ | | |_
+ | | \
+ | | Tracks(object)
+ | |_
+ | \
+ | Configuration
+ |
+ |_
+ \
+ Event2_ (to be merged with event)
+ | \
+ | Modules(detector objects)
+ |_
+ | \
+ | Header
+ |_
+ | \
+ | Data_
+ | | \
+ | | TPC_
+ | | | \
+ | | | Hits(object;e.g. tree)
+ | | |_
+ | | | \
+ | | | SDigits(object)
+ | | |_
+ | | | \
+ | | | Digits(object)
+ | | |_
+ | | | \
+ | | | RecPoints(object)
+ | | |_
+ | | \
+ | | Tracks(object)
+ | |_
+ | \
+ | ITS_
+ | | \
+ | | Hits(object;e.g. tree)
+ | |_
+ | | \
+ | | SDigits(object)
+ | |_
+ | | \
+ | | Digits(object)
+ | |_
+ | | \
+ | | RecPoints(object)
+ | |_
+ | \
+ | Tracks(object)
+ |_
+ \
+ Configuration
+
+*/
+ TFolder* eventfolder = fTopFolder->AddFolder(name,title);
+
+ //modules
+ eventfolder->AddFolder(fgkModuleFolderName, "Detector objects");
+ //event data
+ eventfolder->AddFolder(fgkDataFolderName, "Detector data");
+
+ //Conditions
+ TFolder *conditions = eventfolder->AddFolder(fgkConditionsFolderName, "Run conditions");
+ conditions->AddFolder(fgkCalibrationFolderName,"Detector calibration data");
+ conditions->AddFolder(fgkAligmentFolderName,"Detector aligment");
+ conditions->AddFolder(fgkQAFolderName,"Quality Asurance Output"); //Folder with output of the QA task(s)
+ //Configuration
+ TFolder *configuration = eventfolder->AddFolder(fgkConfigurationFolderName, "Run configuration");
+ configuration->AddFolder(fgkFieldFolderName, "Magnetic field maps");
+ configuration->AddFolder(fgkGeneratorsFolderName,"list of generator objects");
+ configuration->AddFolder(fgkVirtualMCFolderName,"the Virtual MC");
+
+ eventfolder->AddFolder(fgkHeaderFolderName,"MonteCarlo event header");
+
+ eventfolder->SetOwner();
+
+ return eventfolder;
+}
+
+/*****************************************************************************/
+
+TString AliConfig::GetQATaskName() const
+ {
+ //returns task name
+ return fDetectorTask[kDetTaskQA];
+ }
+/*****************************************************************************/
+
+TString AliConfig::GetDigitizerTaskName() const
+ {
+ //returns task name
+ return fDetectorTask[kDetTaskDigitizer];
+ }
+/*****************************************************************************/
+
+TString AliConfig::GetSDigitizerTaskName() const
+ {
+ //returns task name
+ return fDetectorTask[kDetTaskSDigitizer];
+ }
+/*****************************************************************************/
+
+TString AliConfig::GetReconstructionerTaskName() const
+ {
+ //returns task name
+ return fDetectorTask[kDetTaskRecontructioner];
+ }
+/*****************************************************************************/
+
+TString AliConfig::GetTrackerTaskName() const
+ {
+ //returns task name
+ return fDetectorTask[kDetTaskTracker];
+ }
+/*****************************************************************************/
+
+TString AliConfig::GetPIDTaskName() const
+ {
+ //returns task name
+ return fDetectorTask[kDetTaskPID];
+ }
+/*****************************************************************************/
+
+const TString& AliConfig::GetQAFolderName() const
+{
+//returns pathname of folder with QA output relative to Top Alice Folder
+ return fDetectorFolder[kDetFolderQA];
+}
+/*****************************************************************************/
+
+const TString& AliConfig::GetDataFolderName() const
+{
+//returns name of data folder path relative to event folder
+ return fgkDataFolderName;
+}
+/*****************************************************************************/