]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliLoader.h
Test case for B0 -> mu
[u/mrichter/AliRoot.git] / STEER / AliLoader.h
index b9da059d53580d0516fc427ad6852658592c8ccf..7ed4200eae23e610764b8013c423094bab05d9e0 100644 (file)
@@ -1,19 +1,20 @@
 #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"
 
 
 //___________________________________________________________________
@@ -295,8 +296,7 @@ class AliLoader: public TNamed
     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:
 
@@ -333,7 +333,7 @@ class AliLoader: public TNamed
     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
@@ -372,8 +372,6 @@ class AliLoader: public TNamed
     //descendant classes should
     //use protected interface methods to access these folders
 
-    static Int_t       fgDebug; //debug flag for loaders
-
     ClassDef(AliLoader,2)
  };
 /******************************************************************/