source: trunk/MagicSoft/Mars/mfileio/MReadReports.h@ 2560

Last change on this file since 2560 was 2556, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 846 bytes
Line 
1#ifndef MARS_MReadReports
2#define MARS_MReadReports
3
4#ifndef MARS_MRead
5#include "MRead.h"
6#endif
7
8#ifndef ROOT_TArrayL
9#include <TArrayL.h>
10#endif
11
12class TChain;
13class MTime;
14class MTaskList;
15
16class MReadReports : public MRead
17{
18private:
19 MTaskList *fTrees;
20 TList *fChains;
21
22 TArrayL fPos;
23
24 MTask *fList;
25
26 MTime** GetTime(TChain *c) const;
27
28 UInt_t GetEntries() { return 0; }
29
30public:
31 MReadReports();
32 ~MReadReports();
33
34 void AddTree(const char *tree, const char *time=NULL);
35 Int_t AddFile(const char *fname, Int_t entries=-1);
36 void AddToBranchList(const char *name);
37
38 void PrintStatistics(const Int_t lvl=0, Bool_t title=kFALSE) const;
39
40 Int_t PreProcess(MParList *plist);
41 Int_t Process();
42 Int_t PostProcess();
43
44 ClassDef(MReadReports, 0) // Base class for a reading task
45};
46
47#endif
Note: See TracBrowser for help on using the repository browser.