ATLAS Offline Software
Loading...
Searching...
No Matches
robmonitor::ROBDataStruct Class Reference

A structure with data about ROB properties. More...

#include <ROBDataMonitor.h>

Collaboration diagram for robmonitor::ROBDataStruct:

Public Member Functions

 ROBDataStruct ()=default
 default constructor
 ROBDataStruct (const uint32_t)
 constructor
bool isUnclassified () const
 ROB is unclassified.
bool isHLTCached () const
 ROB was found in ROBDataProviderSvc cache.
bool isDCMCached () const
 ROB was found in DCM cache.
bool isRetrieved () const
 ROB was retrieved over network.
bool isIgnored () const
 ROB was ignored.
bool isUndefined () const
 ROB was not enabled.
bool isStatusOk () const
 ROB has no status words set.

Public Attributes

uint32_t rob_id {0}
uint32_t rob_size {0}
robmonitor::ROBHistory rob_history {robmonitor::UNCLASSIFIED}
uint32_t rob_status_word {0}

Friends

std::ostream & operator<< (std::ostream &os, const ROBDataStruct &rhs)

Detailed Description

A structure with data about ROB properties.

Definition at line 37 of file ROBDataMonitor.h.

Constructor & Destructor Documentation

◆ ROBDataStruct() [1/2]

robmonitor::ROBDataStruct::ROBDataStruct ( )
default

default constructor

◆ ROBDataStruct() [2/2]

ROBDataStruct::ROBDataStruct ( const uint32_t srcId)

constructor

Parameters
ROBSource ID

Definition at line 13 of file ROBDataMonitor.cxx.

14 : rob_id(srcId)
15{}

Member Function Documentation

◆ isDCMCached()

bool ROBDataStruct::isDCMCached ( ) const

ROB was found in DCM cache.

Definition at line 25 of file ROBDataMonitor.cxx.

25 {
26 return ((rob_history == robmonitor::DCM_CACHED) ? true : false);
27}
robmonitor::ROBHistory rob_history

◆ isHLTCached()

bool ROBDataStruct::isHLTCached ( ) const

ROB was found in ROBDataProviderSvc cache.

Definition at line 21 of file ROBDataMonitor.cxx.

21 {
22 return ((rob_history == robmonitor::HLT_CACHED) ? true : false);
23}

◆ isIgnored()

bool ROBDataStruct::isIgnored ( ) const

ROB was ignored.

Definition at line 33 of file ROBDataMonitor.cxx.

33 {
34 return ((rob_history == robmonitor::IGNORED) ? true : false);
35}

◆ isRetrieved()

bool ROBDataStruct::isRetrieved ( ) const

ROB was retrieved over network.

Definition at line 29 of file ROBDataMonitor.cxx.

29 {
30 return ((rob_history == robmonitor::RETRIEVED) ? true : false);
31}

◆ isStatusOk()

bool ROBDataStruct::isStatusOk ( ) const

ROB has no status words set.

Definition at line 41 of file ROBDataMonitor.cxx.

41 {
42 return (rob_status_word == 0) ? true : false;
43}

◆ isUnclassified()

bool ROBDataStruct::isUnclassified ( ) const

ROB is unclassified.

Definition at line 17 of file ROBDataMonitor.cxx.

17 {
18 return ((rob_history == robmonitor::UNCLASSIFIED) ? true : false);
19}

◆ isUndefined()

bool ROBDataStruct::isUndefined ( ) const

ROB was not enabled.

Definition at line 37 of file ROBDataMonitor.cxx.

37 {
38 return ((rob_history == robmonitor::UNDEFINED) ? true : false);
39}

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
const ROBDataStruct & rhs )
friend

Member Data Documentation

◆ rob_history

robmonitor::ROBHistory robmonitor::ROBDataStruct::rob_history {robmonitor::UNCLASSIFIED}

Definition at line 51 of file ROBDataMonitor.h.

51{robmonitor::UNCLASSIFIED}; // History of ROB retrieval

◆ rob_id

uint32_t robmonitor::ROBDataStruct::rob_id {0}

Definition at line 49 of file ROBDataMonitor.h.

49{0}; // rob source id

◆ rob_size

uint32_t robmonitor::ROBDataStruct::rob_size {0}

Definition at line 50 of file ROBDataMonitor.h.

50{0}; // size of rob in words

◆ rob_status_word

uint32_t robmonitor::ROBDataStruct::rob_status_word {0}

Definition at line 52 of file ROBDataMonitor.h.

52{0}; // last status word in the ROB header

The documentation for this class was generated from the following files: