14#ifndef TGO4RATEMETER_H
15#define TGO4RATEMETER_H
19#include "TTimeStamp.h"
67 Bool_t
Update(Int_t increment = 1);
Class containing event counter and ratemeter services.
void Reset()
Reset counter and rate values.
ULong64_t GetCurrentCount() const
const char * GetDateTime() const
const char * GetCurrentSource() const
void SetDateTime(const char *str)
ULong64_t fuCheckInterval
Next counter value when time will be checked.
TTimeStamp fLastTm
Number of events processed at last ratemeter update.
Bool_t fbUpdateDone
Time when last rate measurement was done.
void SetCurrentSource(const char *str)
Bool_t TestUpdate()
Test if update has been called since last test.
ULong64_t fuNextCheckCnt
True if update has been performed since last TestZero call.
void UpdateFrom(const TGo4Ratemeter *r)
Double_t GetAvRate() const
void SetUpdateInterval(double v)
Set update interval in seconds - default is 1.
Double_t fdUpdateInterval
How often time should be checked.
Bool_t Update(Int_t increment=1)
Update counter and rate values.
void SetRunning(Bool_t on=kTRUE)
static const Double_t fgdUPDATEINTERVAL
Configured interval in seconds before two updates.