16namespace fdreadoutlibs {
48 auto ch = tdef.get_channel();
49 auto tdefh = tdef.get_daq_header();
51 <<
" , crate " << tdefh->crate_id <<
", slot " << tdefh->slot_id <<
", stream " << tdefh->stream_id;
60 TLOG() <<
"First timestamp MISSMATCH for channel " <<
ch<<
"! -> | previous: " << std::to_string(
m_previous_ts[
ch])
68 TLOG() <<
"*** Data Integrity ERROR *** Timestamp continuity is completely broken! "
69 <<
"Something is wrong with the FE source or with the configuration!";
void add_preprocess_task(Task &&task)
void conf(const appmodel::DataHandlerModule *conf) override
std::atomic< uint64_t > m_last_processed_daq_ts
std::unique_ptr< FrameErrorRegistry > & m_error_registry
void frame_error_check(frameptr)
uint64_t m_clock_frequency
void conf(const appmodel::DataHandlerModule *conf) override
Set the emulator mode, if active, timestamps of processed packets are overwritten with new ones.
timestamp_t m_previous_ts[64]
bool m_first_ts_missmatch
void timestamp_check(frameptr fp)
std::atomic< int > m_ts_error_ctr
#define TLOG_DEBUG(lvl,...)
PDS Frame with unphysical timestamp detected with ch