14#ifndef EFORMAT_SUBDETECTORFRAGMENT_H
15#define EFORMAT_SUBDETECTORFRAGMENT_H
28 template <
class TPo
inter>
52 :
Header<TPointer>(other), m_start(other.m_start) {}
77 virtual bool check ()
const;
86 static const uint32_t NSPECIFIC;
96template <
class TPo
inter>
99template <
class TPo
inter>
111 ERS_DEBUG_3(
"Re-building SubDetectorFragment from pointer");
113 specific_header(m_start);
114 ERS_DEBUG_1(
"Initialized header with source identifier = %s",
119template <
class TPo
inter>
122 ERS_DEBUG_2(
"Checking for consistency of SubDetectorFragment");
124 if (this->nspecific() != NSPECIFIC) {
130template <
class TPo
inter>
133 ERS_DEBUG_2(
"Checking recursively for consistency of SubDetectorFragment");
135 uint32_t total = this->nchildren();
136 for (
size_t i=0; i<total; ++i) {
Describes the ROS fragment as defined in the Event Format note.
When size checks do not match, this exception must be thrown.
#define EFORMAT_SIZE_CHECK(actual, informed)
TFile f("ana_bhabha660a_dqa_mcPat_zy_old.root")