13#ifndef EFORMAT_ROSFRAGMENT_H
14#define EFORMAT_ROSFRAGMENT_H
27 template <
class TPo
inter>
51 :
Header<TPointer>(other), m_start(other.m_start) {}
76 virtual bool check ()
const;
86 inline uint32_t
run_no()
const {
return m_start[0]; }
91 inline uint32_t
lvl1_id()
const {
return m_start[1]; }
96 inline uint32_t
bc_id()
const {
return m_start[2]; }
100 static const uint32_t NSPECIFIC;
110template <
class TPo
inter>
113template <
class TPo
inter>
124 ERS_DEBUG_3(
"Re-building ROSFragment from pointer");
126 specific_header(m_start);
127 ERS_DEBUG_1(
"Initialized header with source identifier = %s",
132template <
class TPo
inter>
135 ERS_DEBUG_2(
"Checking for consistency of ROSFragment");
142template <
class TPo
inter>
145 ERS_DEBUG_2(
"Checking recursively for consistency of ROSFragment");
147 uint32_t total = this->nchildren();
148 for (
size_t i=0; i<total; ++i) {
Defines the ROB fragment entity as described in the Event Format note.
When size checks do not match, this exception must be thrown.
#define EFORMAT_SIZE_CHECK(actual, informed)