Line | |
---|
1 | #ifndef MARS_MRead
|
---|
2 | #define MARS_MRead
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MFilter;
|
---|
9 |
|
---|
10 | class MRead : public MTask
|
---|
11 | {
|
---|
12 | private:
|
---|
13 | MFilter *fSelector;
|
---|
14 |
|
---|
15 | public:
|
---|
16 | MRead() : fSelector(NULL) {}
|
---|
17 |
|
---|
18 | virtual UInt_t GetEntries() = 0;
|
---|
19 |
|
---|
20 | void SetSelector(MFilter *f) { fSelector = f; }
|
---|
21 | MFilter *GetSelector() { return fSelector; }
|
---|
22 |
|
---|
23 | Int_t AddFile(const char *fname, Int_t entries=-1) { return -1; }
|
---|
24 |
|
---|
25 | Bool_t ReadEnv(const TEnv &env, TString prefix, Bool_t print);
|
---|
26 |
|
---|
27 | ClassDef(MRead, 0) // Base class for a reading task
|
---|
28 | };
|
---|
29 |
|
---|
30 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.