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

Last change on this file since 3840 was 3682, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 788 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 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.