52 for (std::vector<EMTauRoI>::size_type i(0); i <
roIVec().size(); ++i) {
65 s <<
"\n header [" << this->
header().
print(longFormat) <<
"] ";
66 if (longFormat) s << std::endl;
68 for (std::vector<EMTauRoI>::size_type i(0); i <
roIVec().size(); ++i) {
70 if (i == 0 || longFormat) s <<
"data";
71 if (longFormat) s <<
"[" << std::setw(2) << i <<
"]";
75 if (longFormat) s << std::setw(12) <<
"\n Type: ";
76 s <<
" " <<
roIVec()[i].roIType();
77 if (longFormat) s << std::setw(12) <<
"\n ID: ";
78 s <<
" " <<
roIVec()[i].electronicsID();
79 if (longFormat) s << std::setw(12) <<
"\n Threshold: ";
81 s <<
" " <<
roIVec()[i].thresholds();
84 s <<
"trailer [" << this->
trailer().
print(longFormat) <<
"] ";
Header m_EMTauResultHeader
header fragment in LVL1 eformat
const Header & header() const
const std::string print(const bool longFormat=false) const
print object content in a human readable format to string
Trailer m_EMTauResultTrailer
trailer fragment in LVL1 eformat
const std::vector< EMTauRoI > & roIVec() const
const std::string dump() const
dump raw object content to string
const Trailer & trailer() const
std::vector< EMTauRoI > m_EMTauResultRoIVec
raw data content (RoIs)
ROIB::Trailer models the LVL1 ROD Trailer.
const std::string dump() const
dump raw object content to string
const std::string print(const bool longFormat=false) const
print object content in a human readable format to string
std::string head(std::string s, const std::string &pattern)
head of a string
const std::string convertToHex(const uint32_t word)
helper function to dump a number in hex format
Namespace of the LVL1 RoIB simulation.