#ifndef ALILOADER_H
#define ALILOADER_H
+class TDirectory;
+class TFile;
+class TString;
+class TTask;
+class TTree;
+
#include <TFolder.h>
#include <TObjArray.h>
-//#include <AliConfig.h>
-#include "AliDataLoader.h"
-
-class TString;
-class TFile;
-class TTree;
-class TTask;
-class AliRunLoader;
class AliDigitizer;
-class TDirectory;
+class AliRunLoader;
+
+#include "AliDataLoader.h"
+#include "AliTaskLoader.h"
//___________________________________________________________________
static Bool_t TestFileOption(Option_t* opt);//checks is file is created from scratch
static Bool_t IsOptionWritable(const TString& opt);
- static Int_t GetDebug() {return fgDebug;}
- static void SetDebug(Int_t deb = 1){fgDebug = deb;}//Sets debugging information
+ static void SetDebug(Int_t deb = 1);//Sets debugging information
protected:
TObject* GetDetectorData(const char* name){return GetDetectorDataFolder()->FindObject(name);}
TObject** GetDetectorDataRef(TObject* obj);
- void InitDefaults();
+ virtual void InitDefaults();
void ResetDataInfo();
void SetTAddrInDet();//Call SetTreeAddress for corresponding detector
//descendant classes should
//use protected interface methods to access these folders
- static Int_t fgDebug; //debug flag for loaders
-
ClassDef(AliLoader,2)
};
/******************************************************************/