//Author: Alice Offline Group http://alisoft.cern.ch
//Responsible: Piotr.Skowronski@cern.ch
//
-#include <AliLoader.h>
+#include "AliLoader.h"
//Root includes
#include <TROOT.h>
-#include <TFolder.h>
#include <TFile.h>
-#include <TTree.h>
-#include <TTask.h>
+#include <TFolder.h>
#include <TString.h>
-#include <TError.h>
+#include <TTask.h>
//AliRoot includes
-#include <AliLog.h>
-#include <AliRun.h>
-#include <AliRunLoader.h>
-#include <AliRunDigitizer.h>
-#include <AliDigitizer.h>
-#include <AliDetector.h>
#include "AliConfig.h"
+#include "AliDetector.h"
+#include "AliDigitizer.h"
+#include "AliLog.h"
+#include "AliRun.h"
+#include "AliRunLoader.h"
const TString AliLoader::fgkDefaultHitsContainerName("TreeH");
const TString AliLoader::fgkDefaultDigitsContainerName = "TreeD";
SetEventFolder(eventfolder);
//fileoption's don't need to initialized because default TString ctor does it correctly
}
-/*****************************************************************************/
-AliLoader::AliLoader(const AliLoader& source) :
- TNamed(source),
- fDataLoaders(source.fDataLoaders),
- fDetectorName(source.fDetectorName),
- fEventFolder(source.fEventFolder),
- fDataFolder(source.fDataFolder),
- fDetectorDataFolder(source.fDetectorDataFolder),
- fModuleFolder(source.fModuleFolder),
- fTasksFolder(source.fTasksFolder),
- fQAFolder(source.fQAFolder)
-{
- // dummy copy constructor
- if(&source==this)return;
-
- AliFatal("Copy constructor not implemented. Aborting");
- return;
-}
-
-/*****************************************************************************/
-AliLoader& AliLoader::operator=(const AliLoader& source) {
- // dummy assignment operator
- if(&source==this) return *this;
-
- AliFatal("Assignment operator not implemented. Aborting");
- return *this;
-}
/*****************************************************************************/
AliLoader::~AliLoader()
/*****************************************************************************/
void AliLoader::SetDirName(TString& dirname)
{
-//adds "dirname/" to each file
+//adds "dirname" to each file. Dirname should end with "#","/", or ":"
TIter next(fDataLoaders);
AliDataLoader* dl;
while((dl = (AliDataLoader*)next()))
if (opt.CompareTo("update",TString::kIgnoreCase)) return kTRUE;
return kFALSE;
}
-/*****************************************************************************/
-Int_t AliLoader::GetDebug()
-{
- AliWarningClass("Don't use this method any more, use AliDebug instead");
- return AliDebugLevelClass();
-}
/*****************************************************************************/
void AliLoader::SetDebug(Int_t deb)