ATLAS Offline Software
Trigger
TrigEvent
TrigMonitoringEvent
src
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
5
#include "
AthenaKernel/errorcheck.h
"
6
#include "
TrigMonitoringEvent/TrigMonVar.h
"
7
8
//--------------------------------------------------------------------------------------
9
TrigMonVar::TrigMonVar
()
10
:m_key(0),
11
m_data
(0.)
12
{
13
}
14
15
//--------------------------------------------------------------------------------------
16
TrigMonVar::TrigMonVar
(
const
unsigned
int
key
,
const
float
data
)
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
}
25
26
//--------------------------------------------------------------------------------------
27
void
TrigMonVar::print
(std::ostream &
os
)
const
28
{
29
os
<<
"TrigMonVar::Print"
<< std::endl;
30
}
data
char data[hepevt_bytes_allocation_ATLAS]
Definition:
HepEvt.cxx:11
TrigMonVar::key
uint16_t key() const
Definition:
TrigMonVar.h:68
m_data
std::vector< T > m_data
Definition:
TrackTruthMatchingBaseAlg.cxx:660
TrigMonVar.h
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
errorcheck.h
Helpers for checking error return status codes and reporting errors.
TrigMonVar::TrigMonVar
TrigMonVar()
Definition:
TrigMonVar.cxx:9
TrigMonVar::print
void print(std::ostream &os) const
Definition:
TrigMonVar.cxx:27
mapkey::key
key
Definition:
TElectronEfficiencyCorrectionTool.cxx:37
Generated on Thu Nov 7 2024 21:29:58 for ATLAS Offline Software by
1.8.18