|
ATLAS Offline Software
|
◆ ROBHistory
A structure with data about ROB properties.
Enumerator |
---|
UNCLASSIFIED | |
RETRIEVED | |
HLT_CACHED | |
DCM_CACHED | |
IGNORED | |
UNDEFINED | |
NUM_ROBHIST_CODES | |
Definition at line 24 of file ROBDataMonitor.h.
◆ operator<<() [1/2]
Definition at line 160 of file ROBDataMonitor.cxx.
161 const std::string
prefix(
" ");
162 const std::string prefix2(
"-> ");
163 os <<
"ROB Request for L1 ID = " << std::dec << rhs.
lvl1ID <<
" (decimal), L1 ID = 0x"
164 << std::hex << rhs.
lvl1ID <<
" (hex)" << std::dec;
167 const std::time_t s_time(rhs.
start_time /
static_cast<int>(1e6));
169 localtime_r(&s_time, &buf);
170 os <<
"\n" <<
prefix <<
"Start time of ROB request = "
171 << std::put_time(&buf,
"%c")
172 <<
" + " << (rhs.
start_time %
static_cast<int>(1e6)) / 1000.0f <<
" [ms]";
174 const std::time_t e_time(rhs.
end_time /
static_cast<int>(1e6));
175 localtime_r(&e_time, &buf);
176 os <<
"\n" <<
prefix <<
"Stop time of ROB request = "
177 << std::put_time(&buf,
"%c")
178 <<
" + " << (rhs.
end_time %
static_cast<int>(1e6)) / 1000.0f <<
" [ms]";
180 os <<
"\n" <<
prefix <<
"Requested ROBs:";
190 os <<
"\n" <<
prefix << prefix2 << rob;
◆ operator<<() [2/2]
Definition at line 46 of file ROBDataMonitor.cxx.
47 os <<
"[SourceID,Size(words),History,(Status words)]=["
48 << std::hex << std::setfill(
'0' ) <<
"0x" << std::setw(6) << rhs.
rob_id
49 << std::dec << std::setfill(
' ')
50 <<
"," << std::setw(8) << rhs.
rob_size;
51 os <<
"," << std::setw(12);
68 os << std::hex << std::setfill(
'0' ) <<
"0x" << std::setw(8) << rhs.
rob_status_word;
unsigned retrievedROBs() const
number of retrieved ROBs in structure
unsigned ignoredROBs() const
number of ignored ROBs in structure
unsigned HLTcachedROBs() const
number of ROBDataProviderSvc cached ROBs in structure
unsigned DCMcachedROBs() const
number of DCM cached ROBs in structure
float elapsedTime() const
elapsed time for ROB request in [ms]
uint64_t end_time
start time of ROB request (microsec since epoch)
unsigned undefinedROBs() const
number of undefined ROBs in structure
robmonitor::ROBHistory rob_history
unsigned statusOkROBs() const
number of ROBs with no status words set in structure
uint64_t start_time
map of ROBs requested
std::string requestor_name
current L1 ID from L1 ROBs
std::map< const uint32_t, robmonitor::ROBDataStruct > requested_ROBs
name of requesting algorithm
unsigned unclassifiedROBs() const
number of unclassified ROBs in structure
unsigned allROBs() const
stop time of ROB request (microsec since epoch)