8#ifndef ROBDATAMONITOR_H
9#define ROBDATAMONITOR_H
11#include "eformat/SourceIdentifier.h"
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
An STL vector of pointers that by default owns its pointed-to elements.
DataVector< robmonitor::ROBDataMonitorStruct > ROBDataMonitorCollection
The structure which is used to monitor the ROB data request in L2 It is created for every addROBData ...
uint64_t start_time
map of ROBs requested
unsigned retrievedROBs() const
number of retrieved ROBs in structure
ROBDataMonitorStruct(ROBDataMonitorStruct &&) noexcept=default
unsigned ignoredROBs() const
number of ignored ROBs in structure
float elapsedTime() const
elapsed time for ROB request in [ms]
friend std::ostream & operator<<(std::ostream &os, const ROBDataMonitorStruct &rhs)
unsigned HLTcachedROBs() const
number of ROBDataProviderSvc cached ROBs in structure
unsigned undefinedROBs() const
number of undefined ROBs in structure
std::map< const uint32_t, robmonitor::ROBDataStruct > requested_ROBs
name of requesting algorithm
unsigned statusOkROBs() const
number of ROBs with no status words set in structure
unsigned allROBs() const
stop time of ROB request (microsec since epoch)
std::string requestor_name
current L1 ID from L1 ROBs
ROBDataMonitorStruct()=default
default constructor
unsigned unclassifiedROBs() const
number of unclassified ROBs in structure
uint64_t end_time
start time of ROB request (microsec since epoch)
ROBDataMonitorStruct(const ROBDataMonitorStruct &)=default
unsigned DCMcachedROBs() const
number of DCM cached ROBs in structure
A structure with data about ROB properties.
ROBDataStruct()=default
default constructor
bool isUndefined() const
ROB was not enabled.
bool isIgnored() const
ROB was ignored.
bool isHLTCached() const
ROB was found in ROBDataProviderSvc cache.
bool isStatusOk() const
ROB has no status words set.
bool isUnclassified() const
ROB is unclassified.
bool isRetrieved() const
ROB was retrieved over network.
bool isDCMCached() const
ROB was found in DCM cache.
robmonitor::ROBHistory rob_history
friend std::ostream & operator<<(std::ostream &os, const ROBDataStruct &rhs)
std::ostream & operator<<(std::ostream &os, const ROBDataStruct &rhs)
ROBHistory
A structure with data about ROB properties.