]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliLoader.h
Added some extra CF plots and changed binning for a few histograms (kathrin) anddded...
[u/mrichter/AliRoot.git] / STEER / AliLoader.h
index ff10c248a65525b151f64d7ce225d85b92f470ca..d967bee6b2810900c97ec8eb6fc2560daa916678 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"
 
 
 //___________________________________________________________________
@@ -34,8 +35,6 @@ class AliLoader: public TNamed
     AliLoader();
     AliLoader(const Char_t *detname,const Char_t *eventfoldername); //contructor with name of the top folder of the tree
     AliLoader(const Char_t *detname,TFolder* eventfolder);
-    AliLoader(const AliLoader& source); //copy constructor
-    AliLoader& operator=(const AliLoader& source); //assignment operator
 
     virtual ~AliLoader();//----------------- 
  
@@ -60,6 +59,7 @@ class AliLoader: public TNamed
     AliDataLoader* GetRecParticlesDataLoader()const {return (AliDataLoader*)fDataLoaders->At(kRecParticles);}
  
     AliDataLoader* GetDataLoader(const char* name);
+    void           AddDataLoader(AliDataLoader* dl);
         
     
     Int_t          SetEventFolder(TFolder* eventfolder);//sets the event folder
@@ -294,8 +294,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:
 
@@ -332,7 +331,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
@@ -370,8 +369,8 @@ class AliLoader: public TNamed
    private:
     //descendant classes should
     //use protected interface methods to access these folders
-
-    static Int_t       fgDebug; //debug flag for loaders
+    AliLoader(const AliLoader&); //Not implemented
+    AliLoader& operator=(const AliLoader&); //Not implemented
 
     ClassDef(AliLoader,2)
  };