ATLAS Offline Software
Trigger
TrigEvent
TrigMonitoringEventTPCnv
src
TrigConfSigCnv_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/TrigConfSig.h
"
6
7
#include <iostream>
8
#include "
TrigMonitoringEventTPCnv/TrigConfSig_p1.h
"
9
#include "
TrigMonitoringEventTPCnv/TrigConfSigCnv_p1.h
"
10
11
void
TrigConfSigCnv_p1::persToTrans
(
const
TrigConfSig_p1
* persObj,
12
TrigConfSig
* transObj,
13
MsgStream &
log
)
const
14
{
15
if
(
log
.level() <=
MSG::DEBUG
) {
16
log
<<
MSG::DEBUG
<<
"TrigConfSigCnv_p1::persToTrans called "
<<
endmsg
;
17
}
18
19
*transObj =
TrigConfSig
(persObj->
m_counter
,
20
persObj->
m_logic
,
21
persObj->
m_label
);
22
for
(
uint32_t
te : persObj->
m_output_te
) {
23
transObj->
addOutputTE
(te);
24
}
25
}
26
27
28
void
TrigConfSigCnv_p1::transToPers
(
const
TrigConfSig
* transObj,
29
TrigConfSig_p1
* persObj,
30
MsgStream &
log
)
const
31
{
32
if
(
log
.level() <=
MSG::DEBUG
) {
33
log
<<
MSG::DEBUG
<<
"TrigConfSigCnv_p1::transToPers called "
<<
endmsg
;
34
}
35
36
persObj->
m_counter
= transObj->
getCounter
();
37
persObj->
m_logic
= transObj->
getLogic
();
38
persObj->
m_label
= transObj->
getLabel
();
39
persObj->
m_output_te
= transObj->
getOutputTEs
();
40
}
TrigConfSig.h
xAOD::uint32_t
setEventNumber uint32_t
Definition:
EventInfo_v1.cxx:127
TrigConfSig::getCounter
uint32_t getCounter() const
Definition:
TrigConfSig.h:38
TrigConfSig::getLabel
const std::string & getLabel() const
Definition:
TrigConfSig.h:40
TrigConfSig_p1
Definition:
TrigConfSig_p1.h:20
TrigConfSig::getLogic
int getLogic() const
Definition:
TrigConfSig.h:39
TrigConfSig_p1::m_logic
int m_logic
Definition:
TrigConfSig_p1.h:35
TrigConfSig_p1::m_label
std::string m_label
Definition:
TrigConfSig_p1.h:36
endmsg
#define endmsg
Definition:
AnalysisConfig_Ntuple.cxx:63
TrigConfSig
Definition:
TrigConfSig.h:27
TrigConfSigCnv_p1.h
TrigConfSigCnv_p1::transToPers
virtual void transToPers(const TrigConfSig *transObj, TrigConfSig_p1 *persObj, MsgStream &log) const override
Definition:
TrigConfSigCnv_p1.cxx:28
TrigConfSig::addOutputTE
void addOutputTE(uint32_t te)
Definition:
TrigConfSig.h:36
DEBUG
#define DEBUG
Definition:
page_access.h:11
TrigConfSig_p1::m_counter
uint32_t m_counter
Definition:
TrigConfSig_p1.h:34
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
TrigConfSig_p1.h
TrigConfSig::getOutputTEs
const std::vector< uint32_t > & getOutputTEs() const
Definition:
TrigConfSig.h:42
TrigConfSigCnv_p1::persToTrans
virtual void persToTrans(const TrigConfSig_p1 *persObj, TrigConfSig *transObj, MsgStream &log) const override
Definition:
TrigConfSigCnv_p1.cxx:11
TrigConfSig_p1::m_output_te
std::vector< uint32_t > m_output_te
Definition:
TrigConfSig_p1.h:37
Generated on Sun Dec 22 2024 21:20:47 for ATLAS Offline Software by
1.8.18