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