| Line |  | 
|---|
| 1 | #ifndef MARS_MReadMarsFile | 
|---|
| 2 | #define MARS_MReadMarsFile | 
|---|
| 3 |  | 
|---|
| 4 | #ifndef MARS_MReadTree | 
|---|
| 5 | #include "MReadTree.h" | 
|---|
| 6 | #endif | 
|---|
| 7 |  | 
|---|
| 8 | class MParList; | 
|---|
| 9 | class MTaskList; | 
|---|
| 10 |  | 
|---|
| 11 | class MReadMarsFile : public MReadTree | 
|---|
| 12 | { | 
|---|
| 13 | private: | 
|---|
| 14 | MReadTree *fRun; | 
|---|
| 15 | MParList  *fParList;  //! Parlist for reinitialization | 
|---|
| 16 |  | 
|---|
| 17 | Bool_t Notify(); | 
|---|
| 18 |  | 
|---|
| 19 | Int_t PreProcess(MParList *pList); | 
|---|
| 20 |  | 
|---|
| 21 | public: | 
|---|
| 22 | MReadMarsFile(); | 
|---|
| 23 | MReadMarsFile(const char *treename, const char *filename=NULL, const char *name=NULL, const char *title=NULL); | 
|---|
| 24 | ~MReadMarsFile(); | 
|---|
| 25 |  | 
|---|
| 26 | void SortFiles(); | 
|---|
| 27 |  | 
|---|
| 28 | Int_t AddFile(const char *fname, Int_t entries=-1); | 
|---|
| 29 |  | 
|---|
| 30 | Bool_t Rewind() { if (fRun) fRun->Rewind(); MReadTree::Rewind(); return kTRUE; } | 
|---|
| 31 |  | 
|---|
| 32 | ClassDef(MReadMarsFile, 1)  // Reads a tree from file(s) and the information from the 'RunHeader'-tree | 
|---|
| 33 | }; | 
|---|
| 34 |  | 
|---|
| 35 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.