source: trunk/MagicSoft/Mars/manalysis/MEventRateCalc.h@ 2599

Last change on this file since 2599 was 2565, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 616 bytes
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
11class MEventRate;
12
13class 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
26public:
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.