6 #define NUM_CHAN_PER_MOD 16 16 void AddEvent(
unsigned int mod,
unsigned int ch,
size_t size,
int delta_=1);
33 void SetXiaRates(
int mod, std::vector<std::pair<double,double>> *xiaRates);
double ** outputCountRate
The XIA Module output count rate.
double ** inputCountRate
The XIA Module input count rate.
double GetDataRate(size_t mod)
double GetTotalDataRate()
unsigned int ** nEventsTotal
void SetDumpInterval(double interval)
Set the amount of time between scalers dumps in seconds.
void SetXiaRates(int mod, std::vector< std::pair< double, double >> *xiaRates)
Set the ICR and OCR from the XIA module.
StatsHandler(size_t nCards=1)
double GetEventRate(size_t mod)
void Clear()
Clear the stats.
unsigned int ** nEventsDelta
void AddEvent(unsigned int mod, unsigned int ch, size_t size, int delta_=1)
bool AddTime(double dtime)
double GetTotalTime()
Return the total run time.