|
ATLAS Offline Software
|
Go to the documentation of this file.
20 : m_JetEnergyResultHeader( std::move(
head) ), m_JetEnergyResultTrailer( std::move(trail) ),
21 m_JetEnergyResultRoIVec( std::move(roIVector) ) {
26 : m_JetEnergyResultHeader(), m_JetEnergyResultTrailer(),
27 m_JetEnergyResultRoIVec() {
49 for (std::vector<JetEnergyRoI>::size_type
i(0);
i <
roIVec().size(); ++
i) {
62 s <<
"\n header [" << this->
header().
print(longFormat) <<
"] ";
63 if (longFormat)
s << std::endl;
65 for (std::vector<JetEnergyRoI>::size_type
i(0);
i <
roIVec().size(); ++
i) {
69 if (
i == 0 || longFormat)
s <<
"data";
70 if (longFormat)
s <<
"[" << std::setw(2) <<
i <<
"]";
74 if (longFormat)
s << std::setw(12) <<
"\n Type: ";
76 if (longFormat)
s << std::setw(12) <<
"\n ID: ";
77 s <<
" " <<
roIVec()[
i].electronicsID();
79 if (longFormat)
s << std::setw(12) <<
"\n Threshold: ";
81 s <<
" " <<
roIVec()[
i].thresholds();
83 if (longFormat)
s << std::setw(12) <<
"\n jetEt: ";
86 if (longFormat)
s << std::setw(12) <<
"\n energyX: ";
89 if (longFormat)
s << std::setw(12) <<
"\n energyY: ";
91 if (longFormat)
s << std::setw(12) <<
"\n etSumThresholds: ";
93 s <<
" " <<
roIVec()[
i].etSumThresholds();
95 if (longFormat)
s << std::setw(12) <<
"\n energySum: ";
97 if (longFormat)
s << std::setw(12) <<
"\n etMissThresholds: ";
99 s <<
" " <<
roIVec()[
i].etMissThresholds();
103 s <<
"trailer [" << this->
trailer().
print(longFormat) <<
"] ";
const std::vector< JetEnergyRoI > & roIVec() const
const std::string print(const bool longFormat=false) const
print object content in a human readable format to string
Namespace of the LVL1 RoIB simulation.
const std::string convertToHex(const uint32_t word)
helper function to dump a number in hex format
std::vector< JetEnergyRoI > m_JetEnergyResultRoIVec
raw data content (RoIs)
const std::string print(const bool longFormat=false) const
print object content in a human readable format to string
Trailer m_JetEnergyResultTrailer
trailer fragment in LVL1 eformat
const std::string dump() const
dump raw object content to string
const std::string dump() const
dump raw object content to string
const Header & header() const
Header m_JetEnergyResultHeader
header fragment in LVL1 eformat
std::string head(std::string s, const std::string &pattern)
head of a string
ROIB::Trailer models the LVL1 ROD Trailer.
const Trailer & trailer() const