| Line | |
|---|
| 1 | #ifndef MARS_MEventRate
|
|---|
| 2 | #define MARS_MEventRate
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MParContainer
|
|---|
| 5 | #include "MParContainer.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class MEventRate : public MParContainer
|
|---|
| 9 | {
|
|---|
| 10 | private:
|
|---|
| 11 | Double_t fRate; // [Hz] Event rate
|
|---|
| 12 |
|
|---|
| 13 | public:
|
|---|
| 14 | MEventRate(const char *name=NULL, const char *title=NULL);
|
|---|
| 15 |
|
|---|
| 16 | void SetRate(Double_t r) { fRate = r; }
|
|---|
| 17 | Double_t GetRate() const { return fRate; }
|
|---|
| 18 |
|
|---|
| 19 | ClassDef(MEventRate, 1) // Storage Container for the event rate
|
|---|
| 20 | };
|
|---|
| 21 |
|
|---|
| 22 | #endif
|
|---|
| 23 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.