10#include <framework/core/HistoModule.h>
50 virtual void event()
override;
59 unsigned int calbyte(
const int* buf);
66 unsigned int calword(
const int* buf);
92 int shift = (3 -
m_ibyte % 4) * 8;
93 unsigned int val = 0xff & (buf[
m_ibyte / 4] >> shift);
Fill ARICHHit collection from ARICHDigits.
TH1 * h_rate_d_all
Rate histogram (unused).
TH1 * h_rate_b_all
Rate histogram (unused).
unsigned int m_ibyte
Current byte number.
TH1 * h_rate_a_all
Rate histogram (unused).
TH1 * h_rate_c_all
Rate histogram (unused).
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
unsigned int calbyte(const int *buf)
Read byte with number m_ibyte from the buffer and increase the number by 1.
virtual void initialize() override
Initialize the Module.
unsigned int calword(const int *buf)
Read word (4 bytes) from the buffer and increase the byte number m_ibyte by 4.
ARICHRawUnpackerModule()
Constructor.
virtual void event() override
Event processor.
virtual ~ARICHRawUnpackerModule()
Destructor.
virtual void defineHisto() override
Definition of the histograms.
Abstract base class for different kinds of events.