]>
Commit | Line | Data |
---|---|---|
a9bbb414 | 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 */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | //////////////////////////////////////////// | |
9 | // // | |
10 | // class AliTreeLoader // | |
11 | // // | |
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 // | |
18 | // others. // | |
19 | // // | |
20 | // // | |
21 | //////////////////////////////////////////// | |
22 | ||
23 | class TString; | |
24 | class TTree; | |
25 | ||
26 | #include "AliObjectLoader.h" | |
27 | ||
28 | class AliTreeLoader: public AliObjectLoader | |
29 | { | |
dc86eb51 | 30 | public: |
a9bbb414 | 31 | AliTreeLoader(){}; |
32 | AliTreeLoader(const TString& name, AliDataLoader* dl, Bool_t storeontop = kFALSE); | |
a9bbb414 | 33 | virtual ~AliTreeLoader(){}; |
34 | ||
35 | virtual TTree* Tree() const {return dynamic_cast<TTree*>(Get());} | |
36 | virtual void MakeTree(); | |
37 | virtual Int_t WriteData(Option_t* opt=""); | |
38 | ||
dc86eb51 | 39 | private: |
40 | AliTreeLoader(const AliTreeLoader&); //Not implemented | |
41 | AliTreeLoader& operator=(const AliTreeLoader&); //Not implemented | |
42 | ||
43 | ClassDef(AliTreeLoader,1) | |
a9bbb414 | 44 | }; |
45 | ||
46 | #endif | |
47 | ||
48 |