Line | |
---|
1 | #ifndef MARS_MMatrixLoop
|
---|
2 | #define MARS_MMatrixLoop
|
---|
3 |
|
---|
4 | #ifndef MARS_MRead
|
---|
5 | #include "MRead.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MHMatrix;
|
---|
9 |
|
---|
10 | class MMatrixLoop : public MRead
|
---|
11 | {
|
---|
12 | private:
|
---|
13 | // MMatrixLoop
|
---|
14 | static const TString gsDefName;
|
---|
15 | static const TString gsDefTitle;
|
---|
16 |
|
---|
17 | MHMatrix *fMatrix;
|
---|
18 | Int_t fNumRow; //! Number of dimensions of histogram
|
---|
19 |
|
---|
20 | // MRead
|
---|
21 | UInt_t GetEntries();
|
---|
22 | TString GetFullFileName() const;
|
---|
23 | Bool_t Rewind() { fNumRow=0; return kTRUE; }
|
---|
24 |
|
---|
25 | virtual Int_t AddFile(const char *fname, Int_t entries=-1) { return 0; }
|
---|
26 | Int_t AddFiles(MDirIter &dir) { return 0; }
|
---|
27 |
|
---|
28 | // MTask
|
---|
29 | Int_t PreProcess(MParList *plist);
|
---|
30 | Int_t Process();
|
---|
31 |
|
---|
32 | public:
|
---|
33 | MMatrixLoop(MHMatrix *mat, const char *name=NULL, const char *title=NULL);
|
---|
34 |
|
---|
35 | ClassDef(MMatrixLoop, 0) // Task 'reading' events from a MHMatrix
|
---|
36 | };
|
---|
37 |
|
---|
38 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.