10#include <framework/core/HistoModule.h>
58 virtual void event()
override;
64 unsigned int calbyte(
const int* buf);
69 unsigned int calword(
const int* buf);
88 int shift = (3 -
m_ibyte % 4) * 8;
89 unsigned int val = 0xff & (buf[
m_ibyte / 4] >> shift);
Fill ARICHHit collection from ARICHDigits.
int m_evt_count
event counter
TH2 * h_rate2D[100]
2D histogram
int m_nrun
number of scan runs
bool m_internalmode
whether internal thscan mode is requested
std::string m_daqdb
daqdb config name
int m_nevents
number of events per run
bool m_debugmode
whether debug mode is requested
int m_run_count
run counter
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
unsigned int calbyte(const int *buf)
Get calculated byte.
virtual void initialize() override
Initialize the Module.
unsigned int calword(const int *buf)
Get calculated word.
virtual void event() override
Event processor.
ARICHRateCalModule()
Constructor.
virtual void beginRun() override
Called when entering a new run.
virtual ~ARICHRateCalModule()
Destructor.
virtual void defineHisto() override
Definition of the histograms.
Abstract base class for different kinds of events.