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 |
|
---|
12 | class TChain;
|
---|
13 | class MTime;
|
---|
14 | class MTaskList;
|
---|
15 |
|
---|
16 | class MReadReports : public MRead
|
---|
17 | {
|
---|
18 | private:
|
---|
19 | MTaskList *fTrees; // Hold the trees which are scheduled for reading
|
---|
20 | TList *fChains; // Hold TChains to read the times in advance
|
---|
21 |
|
---|
22 | TArrayL fPos; // Store the position in each tree/chain
|
---|
23 |
|
---|
24 | MTask *fList; // pointer to the task list to set the stream id
|
---|
25 |
|
---|
26 | MTime** GetTime(TChain *c) const;
|
---|
27 |
|
---|
28 | UInt_t GetEntries() { return 0; }
|
---|
29 |
|
---|
30 | Int_t PreProcess(MParList *plist);
|
---|
31 | Int_t Process();
|
---|
32 | Int_t PostProcess();
|
---|
33 |
|
---|
34 | public:
|
---|
35 | MReadReports();
|
---|
36 | ~MReadReports();
|
---|
37 |
|
---|
38 | void AddTree(const char *tree, const char *time=NULL);
|
---|
39 | Int_t AddFile(const char *fname, Int_t entries=-1);
|
---|
40 | void AddToBranchList(const char *name);
|
---|
41 |
|
---|
42 | void PrintStatistics(const Int_t lvl=0, Bool_t title=kFALSE) const;
|
---|
43 |
|
---|
44 | ClassDef(MReadReports, 0) // Reads events and reports from a root file ordered in time
|
---|
45 | };
|
---|
46 |
|
---|
47 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.