#include <EMTauResult.h>
Definition at line 25 of file EMTauResult.h.
◆ EMTauResult() [1/4]
| ROIB::EMTauResult::EMTauResult |
( |
Header && | head, |
|
|
Trailer && | trail, |
|
|
std::vector< EMTauRoI > && | roIVector ) |
Definition at line 18 of file EMTauResult.cxx.
21
22 }
Header m_EMTauResultHeader
header fragment in LVL1 eformat
Trailer m_EMTauResultTrailer
trailer fragment in LVL1 eformat
std::vector< EMTauRoI > m_EMTauResultRoIVec
raw data content (RoIs)
std::string head(std::string s, const std::string &pattern)
head of a string
◆ EMTauResult() [2/4]
| ROIB::EMTauResult::EMTauResult |
( |
| ) |
|
◆ ~EMTauResult()
| ROIB::EMTauResult::~EMTauResult |
( |
| ) |
|
◆ EMTauResult() [3/4]
◆ EMTauResult() [4/4]
◆ dump()
| const std::string ROIB::EMTauResult::dump |
( |
| ) |
const |
dump raw object content to string
method used for read/write testing and T/P separation
Definition at line 46 of file EMTauResult.cxx.
47 {
49
52 for (std::vector<EMTauRoI>::size_type
i(0);
i <
roIVec().size(); ++
i) {
54 }
57
59 }
const Header & header() const
const std::vector< EMTauRoI > & roIVec() const
const Trailer & trailer() const
const std::string dump() const
dump raw object content to string
const std::string convertToHex(const uint32_t word)
helper function to dump a number in hex format
◆ header()
| const Header & ROIB::EMTauResult::header |
( |
| ) |
const |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ print()
| const std::string ROIB::EMTauResult::print |
( |
const bool | longFormat = false | ) |
const |
print object content in a human readable format to string
Definition at line 61 of file EMTauResult.cxx.
62 {
64
65 s <<
"\n header [" << this->
header().
print(longFormat) <<
"] ";
66 if (longFormat)
s << std::endl;
67
68 for (std::vector<EMTauRoI>::size_type
i(0);
i <
roIVec().size(); ++
i) {
69
70 if (i == 0 || longFormat)
s <<
"data";
71 if (longFormat)
s <<
"[" << std::setw(2) <<
i <<
"]";
72
75 if (longFormat)
s << std::setw(12) <<
"\n Type: ";
77 if (longFormat)
s << std::setw(12) <<
"\n ID: ";
78 s <<
" " <<
roIVec()[
i].electronicsID();
79 if (longFormat)
s << std::setw(12) <<
"\n Threshold: ";
80 using namespace LVL1CTP;
81 s <<
" " <<
roIVec()[
i].thresholds();
83 }
84 s <<
"trailer [" << this->
trailer().
print(longFormat) <<
"] ";
85
87 }
const std::string print(const bool longFormat=false) const
print object content in a human readable format to string
◆ roIVec()
| const std::vector< EMTauRoI > & ROIB::EMTauResult::roIVec |
( |
| ) |
const |
◆ trailer()
| const Trailer & ROIB::EMTauResult::trailer |
( |
| ) |
const |
◆ m_EMTauResultHeader
| Header ROIB::EMTauResult::m_EMTauResultHeader |
|
private |
◆ m_EMTauResultRoIVec
| std::vector< EMTauRoI > ROIB::EMTauResult::m_EMTauResultRoIVec |
|
private |
◆ m_EMTauResultTrailer
| Trailer ROIB::EMTauResult::m_EMTauResultTrailer |
|
private |
The documentation for this class was generated from the following files: