11 #include "gVariables.hh" 154 inline void SetID1(
int a_line, uint32_t a_value)
155 {
mp_ID1[a_line] = a_value;}
162 inline void SetID2(
int a_line, uint32_t a_value)
163 {
mp_ID2[a_line] = a_value;}
virtual EVTFLTDATA * GetCustomFLTData()
uint32_t GetID2(int a_line)
void SetNbLines(uint16_t a_value)
void SetEventIndex(int a_eventIndex)
Set current index associated to the event.
int AllocateCustomINTData()
Instantiate the m_nbCustomINTData array.
virtual int SetCustomINTData(int a_idx, EVTINTDATA a_value)
EVTFLTDATA * mp_customFLTData
virtual FLTNB GetAdditiveCorrections(int a_bin)=0
virtual void MultiplyAdditiveCorrections(FLTNB a_factor)=0
virtual FLTNB GetMultiplicativeCorrections()=0
This is a pure virtual function implemented in the child classes.
virtual int GetNbCustomFLTData()
int64_t GetEventIndex()
Get current index associated to the event.
EVTINTDATA * mp_customINTData
virtual void SetNbCustomFLTData(int a_value)
initialize the number of custom INT data with a_value
virtual void SetEventValue(int a_bin, FLTNBDATA a_value)=0
virtual FLTNB GetBlankValue()
vEvent()
vEvent constructor. Initialize the member variables to their default values.
virtual int SetCustomFLTData(int a_idx, EVTFLTDATA a_value)
int AllocateID()
Instantiate the mp_ID1 and mp_ID2 indices arrays.
virtual FLTNB GetEventValue(int a_bin)=0
void SetID2(int a_line, uint32_t a_value)
virtual int GetNbCustomINTData()
virtual int AllocateSpecificData()=0
Pure virtual function implemented in the child classes, dedicated to the allocation of specific data ...
int AllocateCustomFLTData()
Instantiate the m_nbCustomFLTData array.
virtual void Describe()=0
This function can be used to get a description of the event printed out.
void SetTimeInMs(uint32_t a_value)
virtual void SetNbCustomINTData(int a_value)
initialize the number of custom INT data with a_value
Mother class for the Event objects.
virtual INTNB GetNbValueBins()=0
Get the number of event value bins.
uint32_t GetID1(int a_line)
virtual EVTINTDATA * GetCustomINTData()
void SetVerbose(int a_verbose)
virtual ~vEvent()
vEvent destructor
void SetID1(int a_line, uint32_t a_value)