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

Last change on this file since 2851 was 2626, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 723 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#ifndef ROOT_TArrayD
11#include <TArrayD.h>
12#endif
13
14class MEventRate;
15
16class MEventRateCalc : public MTask
17{
18 MTime *fTime; //!
19 MEventRate *fRate; //!
20
21 //ULong_t fEvtNumber; //!
22 //MTime fEvtTime; //!
23
24 //UInt_t fNumEvents;
25
26 TArrayD fTimes; //!
27
28
29
30 Int_t PreProcess(MParList *pList);
31 Int_t Process();
32
33public:
34 MEventRateCalc(const char *name=NULL, const char *title=NULL);
35
36 void SetNumEvents(ULong_t num) { /*fNumEvents = num;*/ fTimes.Set(num); }
37
38 ClassDef(MEventRateCalc, 0)// Task to calculate event rates
39};
40
41
42#endif
Note: See TracBrowser for help on using the repository browser.