162 inline void SetID1(
int a_line, uint32_t a_value)
163 {
mp_ID1[a_line] = a_value;}
170 inline void SetID2(
int a_line, uint32_t a_value)
171 {
mp_ID2[a_line] = a_value;}
This header file is mainly used to declare some macro definitions and all includes needed from the st...
void SetNbLines(uint16_t a_value)
Set the number of lines of the Event.
virtual FLTNB GetBlankValue()
This is a pure virtual function implemented in the child classes.
virtual FLTNB GetAdditiveCorrections(int a_bin)=0
Pure virtual function implemented in the child classes.
uint32_t GetID2(int a_line)
virtual FLTNB GetMultiplicativeCorrections()=0
This is a pure virtual function implemented in the child classes.
virtual void SetEventValue(int a_bin, FLTNBDATA a_value)=0
This function is implemented by child classes.
virtual void MultiplyAdditiveCorrections(FLTNB a_factor)=0
Divide additive corrections by the provided factor.
virtual FLTNB GetEventValue(int a_bin)=0
Pure virtual function implemented in the child classes.
vEvent()
vEvent constructor. Initialize the member variables to their default values.
int AllocateID()
Instantiate the mp_ID1 and mp_ID2 indices arrays.
void SetID2(int a_line, uint32_t a_value)
Set the indice associated with the line index for the 2nd ID of the Event.
virtual int AllocateSpecificData()=0
Pure virtual function implemented in the child classes, dedicated to the allocation of specific data ...
virtual void Describe()=0
This function can be used to get a description of the event printed out.
void SetTimeInMs(uint32_t a_value)
Set the timestamp of the Event.
Mother class for the Event objects.
uint32_t GetID1(int a_line)
virtual INTNB GetNbValueBins()=0
Get the number of event value bins.
void SetVerbose(int a_verbose)
Set verbosity.
virtual ~vEvent()
vEvent destructor
void SetID1(int a_line, uint32_t a_value)
Set the indice associated with the line index for the 1st ID of the Event.