ATLAS Offline Software
Trigger
TrigEvent
TrigMonitoringEventTPCnv
src
TrigMonRoiCnv_p1.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TrigMonitoringEvent/TrigMonRoi.h
"
6
7
#include <iostream>
8
#include "
TrigMonitoringEventTPCnv/TrigMonRoi_p1.h
"
9
#include "
TrigMonitoringEventTPCnv/TrigMonRoiCnv_p1.h
"
10
11
void
TrigMonRoiCnv_p1::persToTrans
(
const
TrigMonRoi_p1
* persObj,
12
TrigMonRoi
* transObj,
13
MsgStream &
log
)
const
14
{
15
if
(
log
.level() <=
MSG::DEBUG
) {
16
log
<<
MSG::DEBUG
<<
"TrigMonRoiCnv_p1::persToTrans called "
<<
endmsg
;
17
}
18
19
transObj->
getWord
() = persObj->
m_word
;
20
transObj->
getVarKey
() = persObj->
m_var_key
;
21
transObj->
getVarVal
() = persObj->
m_var_val
;
22
}
23
24
25
void
TrigMonRoiCnv_p1::transToPers
(
const
TrigMonRoi
* transObj,
26
TrigMonRoi_p1
* persObj,
27
MsgStream &
log
)
const
28
{
29
if
(
log
.level() <=
MSG::DEBUG
) {
30
log
<<
MSG::DEBUG
<<
"TrigMonRoiCnv_p1::transToPers called "
<<
endmsg
;
31
}
32
33
persObj->
m_word
= transObj->
getWord
();
34
persObj->
m_var_key
= transObj->
getVarKey
();
35
persObj->
m_var_val
= transObj->
getVarVal
();
36
}
TrigMonRoi_p1::m_word
std::vector< uint32_t > m_word
Definition:
TrigMonRoi_p1.h:29
TrigMonRoiCnv_p1::transToPers
virtual void transToPers(const TrigMonRoi *transObj, TrigMonRoi_p1 *persObj, MsgStream &log) const override
Definition:
TrigMonRoiCnv_p1.cxx:25
TrigMonRoiCnv_p1::persToTrans
virtual void persToTrans(const TrigMonRoi_p1 *persObj, TrigMonRoi *transObj, MsgStream &log) const override
Definition:
TrigMonRoiCnv_p1.cxx:11
TrigMonRoi_p1::m_var_val
std::vector< float > m_var_val
Definition:
TrigMonRoi_p1.h:31
TrigMonRoi_p1.h
TrigMonRoi_p1::m_var_key
std::vector< uint16_t > m_var_key
Definition:
TrigMonRoi_p1.h:30
endmsg
#define endmsg
Definition:
AnalysisConfig_Ntuple.cxx:63
TrigMonRoi_p1
Definition:
TrigMonRoi_p1.h:19
TrigMonRoi::getVarKey
std::vector< uint16_t > & getVarKey()
Definition:
TrigMonRoi.h:64
TrigMonRoi
Definition:
TrigMonRoi.h:26
TrigMonRoi::getWord
std::vector< uint32_t > & getWord()
Definition:
TrigMonRoi.h:63
TrigMonRoi.h
TrigMonRoi::getVarVal
std::vector< float > & getVarVal()
Definition:
TrigMonRoi.h:65
DEBUG
#define DEBUG
Definition:
page_access.h:11
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
TrigMonRoiCnv_p1.h
Generated on Fri Jan 10 2025 21:20:24 for ATLAS Offline Software by
1.8.18