ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
TrigMonVar Class Reference

#include <TrigMonVar.h>

Collaboration diagram for TrigMonVar:

Public Member Functions

 TrigMonVar ()
 
 TrigMonVar (unsigned int key, float value)
 
 ~TrigMonVar ()
 
uint16_t getId () const
 
uint16_t getKey () const
 
uint16_t key () const
 
float data () const
 
float getData () const
 
void print (std::ostream &os) const
 

Private Attributes

uint16_t m_key
 
float m_data
 

Detailed Description

Definition at line 58 of file TrigMonVar.h.

Constructor & Destructor Documentation

◆ TrigMonVar() [1/2]

TrigMonVar::TrigMonVar ( )

Definition at line 9 of file TrigMonVar.cxx.

10  :m_key(0),
11  m_data(0.)
12 {
13 }

◆ TrigMonVar() [2/2]

TrigMonVar::TrigMonVar ( unsigned int  key,
float  value 
)

Definition at line 16 of file TrigMonVar.cxx.

17  :m_key(key),
18  m_data(data)
19 {
20  if(key >= 65535) {
21  REPORT_MESSAGE_WITH_CONTEXT(MSG::ERROR, "TrigMonVar")
22  << "ctor - error! Overflow of 16 bits key.";
23  }
24 }

◆ ~TrigMonVar()

TrigMonVar::~TrigMonVar ( )
inline

Definition at line 64 of file TrigMonVar.h.

64 {}

Member Function Documentation

◆ data()

float TrigMonVar::data ( ) const
inline

Definition at line 70 of file TrigMonVar.h.

70 { return m_data; }

◆ getData()

float TrigMonVar::getData ( ) const
inline

Definition at line 71 of file TrigMonVar.h.

71 { return m_data; }

◆ getId()

uint16_t TrigMonVar::getId ( ) const
inline

Definition at line 66 of file TrigMonVar.h.

66 { return m_key; }

◆ getKey()

uint16_t TrigMonVar::getKey ( ) const
inline

Definition at line 67 of file TrigMonVar.h.

67 { return m_key; }

◆ key()

uint16_t TrigMonVar::key ( ) const
inline

Definition at line 68 of file TrigMonVar.h.

68 { return m_key; }

◆ print()

void TrigMonVar::print ( std::ostream &  os) const

Definition at line 27 of file TrigMonVar.cxx.

28 {
29  os << "TrigMonVar::Print" << std::endl;
30 }

Member Data Documentation

◆ m_data

float TrigMonVar::m_data
private

Definition at line 78 of file TrigMonVar.h.

◆ m_key

uint16_t TrigMonVar::m_key
private

Definition at line 77 of file TrigMonVar.h.


The documentation for this class was generated from the following files:
TrigMonVar::key
uint16_t key() const
Definition: TrigMonVar.h:68
TrigMonVar::m_data
float m_data
Definition: TrigMonVar.h:78
TrigMonVar::m_key
uint16_t m_key
Definition: TrigMonVar.h:77
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
REPORT_MESSAGE_WITH_CONTEXT
#define REPORT_MESSAGE_WITH_CONTEXT(LVL, CONTEXT_NAME)
Report a message, with an explicitly specified context name.
Definition: Control/AthenaKernel/AthenaKernel/errorcheck.h:345
TrigMonVar::data
float data() const
Definition: TrigMonVar.h:70