source: branches/removing_cpp11_features/mfileio/MReadMarsFile.h@ 19758

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