ATLAS Offline Software
Loading...
Searching...
No Matches
TrigMonVar.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
7
8//--------------------------------------------------------------------------------------
10 :m_key(0),
11 m_data(0.)
12{
13}
14
15//--------------------------------------------------------------------------------------
16TrigMonVar::TrigMonVar(const unsigned int key, const float data)
17 :m_key(key),
19{
20 if(key >= 65535) {
21 REPORT_MESSAGE_WITH_CONTEXT(MSG::ERROR, "TrigMonVar")
22 << "ctor - error! Overflow of 16 bits key.";
23 }
24}
25
26//--------------------------------------------------------------------------------------
27void TrigMonVar::print(std::ostream &os) const
28{
29 os << "TrigMonVar::Print" << std::endl;
30}
Helpers for checking error return status codes and reporting errors.
#define REPORT_MESSAGE_WITH_CONTEXT(LVL, CONTEXT_NAME)
Report a message, with an explicitly specified context name.
float m_data
Definition TrigMonVar.h:78
uint16_t key() const
Definition TrigMonVar.h:68
float data() const
Definition TrigMonVar.h:70
uint16_t m_key
Definition TrigMonVar.h:77
void print(std::ostream &os) const