ATLAS Offline Software
Public Member Functions | Public Attributes | Friends | List of all members
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 More...
 
 ROBDataStruct (const uint32_t)
 constructor More...
 
bool isUnclassified () const
 ROB is unclassified. More...
 
bool isHLTCached () const
 ROB was found in ROBDataProviderSvc cache. More...
 
bool isDCMCached () const
 ROB was found in DCM cache. More...
 
bool isRetrieved () const
 ROB was retrieved over network. More...
 
bool isIgnored () const
 ROB was ignored. More...
 
bool isUndefined () const
 ROB was not enabled. More...
 
bool isStatusOk () const
 ROB has no status words set. More...
 

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 }

◆ 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 }

Friends And Related Function Documentation

◆ 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.

◆ rob_id

uint32_t robmonitor::ROBDataStruct::rob_id {0}

Definition at line 49 of file ROBDataMonitor.h.

◆ rob_size

uint32_t robmonitor::ROBDataStruct::rob_size {0}

Definition at line 50 of file ROBDataMonitor.h.

◆ rob_status_word

uint32_t robmonitor::ROBDataStruct::rob_status_word {0}

Definition at line 52 of file ROBDataMonitor.h.


The documentation for this class was generated from the following files:
robmonitor::UNDEFINED
@ UNDEFINED
Definition: ROBDataMonitor.h:30
robmonitor::DCM_CACHED
@ DCM_CACHED
Definition: ROBDataMonitor.h:28
robmonitor::IGNORED
@ IGNORED
Definition: ROBDataMonitor.h:29
robmonitor::ROBDataStruct::rob_id
uint32_t rob_id
Definition: ROBDataMonitor.h:49
robmonitor::ROBDataStruct::rob_status_word
uint32_t rob_status_word
Definition: ROBDataMonitor.h:52
robmonitor::ROBDataStruct::rob_history
robmonitor::ROBHistory rob_history
Definition: ROBDataMonitor.h:51
robmonitor::RETRIEVED
@ RETRIEVED
Definition: ROBDataMonitor.h:26
robmonitor::HLT_CACHED
@ HLT_CACHED
Definition: ROBDataMonitor.h:27
robmonitor::UNCLASSIFIED
@ UNCLASSIFIED
Definition: ROBDataMonitor.h:25