| Line | |
|---|
| 1 | #ifndef MARS_MEventRateCalc
|
|---|
| 2 | #define MARS_MEventRateCalc
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MTask
|
|---|
| 5 | #include "MTask.h"
|
|---|
| 6 | #endif
|
|---|
| 7 | #ifndef MARS_MTime
|
|---|
| 8 | #include "MTime.h"
|
|---|
| 9 | #endif
|
|---|
| 10 |
|
|---|
| 11 | class MEventRate;
|
|---|
| 12 |
|
|---|
| 13 | class MEventRateCalc : public MTask
|
|---|
| 14 | {
|
|---|
| 15 | MTime *fTime; //!
|
|---|
| 16 | MEventRate *fRate; //!
|
|---|
| 17 |
|
|---|
| 18 | ULong_t fEvtNumber; //!
|
|---|
| 19 | MTime fEvtTime; //!
|
|---|
| 20 |
|
|---|
| 21 | UInt_t fNumEvents;
|
|---|
| 22 |
|
|---|
| 23 | Int_t PreProcess(MParList *pList);
|
|---|
| 24 | Int_t Process();
|
|---|
| 25 |
|
|---|
| 26 | public:
|
|---|
| 27 | MEventRateCalc(const char *name=NULL, const char *title=NULL);
|
|---|
| 28 |
|
|---|
| 29 | void SetNumEvents(ULong_t num) { fNumEvents = num; }
|
|---|
| 30 |
|
|---|
| 31 | ClassDef(MEventRateCalc, 0)// Task to calculate event rates
|
|---|
| 32 | };
|
|---|
| 33 |
|
|---|
| 34 |
|
|---|
| 35 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.