source: trunk/MagicSoft/Mars/mfileio/MReadMarsFile.h@ 2777

Last change on this file since 2777 was 2206, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 765 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 Int_t AddFile(const char *fname, Int_t entries=-1);
27
28 Bool_t Rewind() { if (fRun) fRun->Rewind(); MReadTree::Rewind(); return kTRUE; }
29
30 ClassDef(MReadMarsFile, 1) // Reads a tree from file(s) and the information from the 'RunHeader'-tree
31};
32
33#endif
Note: See TracBrowser for help on using the repository browser.