1 #ifndef ALITREELOADER_H
2 #define ALITREELOADER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 ////////////////////////////////////////////
10 // class AliTreeLoader //
12 // Loader responsible for one data type //
13 // i.e. Hits, Kine, etc. //
14 // many objects type can be assciated //
15 // with one data type: storing object //
16 // (usually tree), task producing it, //
17 // Quality Assurance(QA), QA Task, and //
21 ////////////////////////////////////////////
26 #include "AliObjectLoader.h"
28 class AliTreeLoader: public AliObjectLoader
32 AliTreeLoader(const TString& name, AliDataLoader* dl, Bool_t storeontop = kFALSE);
33 AliTreeLoader(const AliTreeLoader& source);
34 AliTreeLoader& operator=(const AliTreeLoader& source);
35 virtual ~AliTreeLoader(){};
37 virtual TTree* Tree() const {return dynamic_cast<TTree*>(Get());}
38 virtual void MakeTree();
39 virtual Int_t WriteData(Option_t* opt="");
41 ClassDef(AliTreeLoader,1)