Changeset 2626 for trunk/MagicSoft/Mars/manalysis/MEventRate.h
- Timestamp:
- 12/08/03 17:03:08 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MEventRate.h
r2565 r2626 9 9 { 10 10 private: 11 Double_t fRate; // [Hz] Event rate 11 Double_t fRate; // [Hz] Event rate 12 UInt_t fNumEvents; // Number of events correspoding to this rate 12 13 13 14 public: 14 15 MEventRate(const char *name=NULL, const char *title=NULL); 15 16 16 void SetRate(Double_t r ) { fRate = r; }17 void SetRate(Double_t r, UInt_t n) { fRate = r; fNumEvents = n; } 17 18 Double_t GetRate() const { return fRate; } 19 UInt_t GetNumEvents() const { return fNumEvents; } 18 20 19 21 ClassDef(MEventRate, 1) // Storage Container for the event rate
Note:
See TracChangeset
for help on using the changeset viewer.