16#ifndef SITRACKEREVENT_SCT_TB04_RAWDATA_H
17#define SITRACKEREVENT_SCT_TB04_RAWDATA_H
37 const unsigned int Event,
const unsigned int FragmentIdentifier,
38 const unsigned int Size,
const unsigned int WordErrorCount,
39 const unsigned int EventCount,
const unsigned int onlineId);
42 const unsigned int onlineId,
float errorhit[20]);
152 return ((
m_word >> 22) & 0x7);
158 return ((
m_word >> 25) & 0x7);
177 bool isOnTime =
false;
178 if ((
m_word >> 23) & 0x1) isOnTime =
true;
184 bool isError =
false;
185 if (((
m_word >> 26) & 0x1) || (((
m_word >> 27) & 0x1))) isError =
true;
191 bool isError =
false;
192 if ((
m_word >> 25) & 0x1) isError =
true;
198 bool isError =
false;
199 if ((
m_word >> 26) & 0x1) isError =
true;
205 bool isError =
false;
206 if ((
m_word >> 27) & 0x1) isError =
true;
212 bool isError =
false;
213 if ((
m_word >> 28) & 0x1) isError =
true;
220 bool isError =
false;
221 if ((
m_word >> 29) & 0x1) isError =
true;
227 bool isError =
false;
228 if ((
m_word >> 30) & 0x1) isError =
true;
SCT_RDORawData(const Identifier rdoId, const unsigned int word)
unsigned int getWordErrorCount() const
virtual ~SCT_TB04_RawData()=default
bool PreambleError() const
bool FirstHitError() const
unsigned int getFragmentType() const
unsigned int getEventCount() const
float m_errorCondensedHit[20]
unsigned int getEvent() const
unsigned int m_event_count
float * getErrorCondensedHit()
SCT_TB04_RawData(const Identifier rdoId, const unsigned int word, const unsigned int Event, const unsigned int FragmentIdentifier, const unsigned int Size, const unsigned int WordErrorCount, const unsigned int EventCount, const unsigned int onlineId)
unsigned int m_fragment_type
virtual int getGroupSize() const
unsigned int m_word_error_count
bool SyncronizationError() const
bool FormatterError() const
unsigned int getSize() const
bool SecondHitError() const