ATLAS Offline Software
Trigger
TrigEvent
TrigMonitoringEventTPCnv
src
TrigConfAlgCnv_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/TrigConfAlg.h
"
6
#include "
TrigMonitoringEventTPCnv/TrigConfAlg_p1.h
"
7
#include "
TrigMonitoringEventTPCnv/TrigConfAlgCnv_p1.h
"
8
9
void
TrigConfAlgCnv_p1::persToTrans
(
const
TrigConfAlg_p1
* persObj,
10
TrigConfAlg
* transObj,
11
MsgStream &
log
)
const
12
{
13
if
(
log
.level() <=
MSG::DEBUG
) {
14
log
<<
MSG::DEBUG
<<
"TrigConfAlgCnv_p1::persToTrans called "
<<
endmsg
;
15
}
16
17
*transObj =
TrigConfAlg
(persObj->
m_index
,
18
persObj->
m_position
,
19
persObj->
m_name
,
20
persObj->
m_type
,
21
persObj->
m_name_id
,
22
persObj->
m_type_id
);
23
}
24
25
26
void
TrigConfAlgCnv_p1::transToPers
(
const
TrigConfAlg
* transObj,
27
TrigConfAlg_p1
* persObj,
28
MsgStream &
log
)
const
29
{
30
if
(
log
.level() <=
MSG::DEBUG
) {
31
log
<<
MSG::DEBUG
<<
"TrigConfAlgCnv_p1::transToPers called "
<<
endmsg
;
32
}
33
34
persObj->
m_index
= transObj->
getIndex
();
35
persObj->
m_position
= transObj->
getPosition
();
36
persObj->
m_name_id
= transObj->
getNameId
();
37
persObj->
m_type_id
= transObj->
getTypeId
();
38
persObj->
m_name
= transObj->
getName
();
39
persObj->
m_type
= transObj->
getType
();
40
}
TrigConfAlg::getTypeId
uint32_t getTypeId() const
Definition:
TrigConfAlg.h:45
TrigConfAlg_p1.h
TrigConfAlgCnv_p1::persToTrans
virtual void persToTrans(const TrigConfAlg_p1 *persObj, TrigConfAlg *transObj, MsgStream &log) const override
Definition:
TrigConfAlgCnv_p1.cxx:9
TrigConfAlg.h
TrigConfAlg::getNameId
uint32_t getNameId() const
Definition:
TrigConfAlg.h:44
TrigConfAlg_p1::m_position
uint8_t m_position
Definition:
TrigConfAlg_p1.h:30
TrigConfAlg_p1::m_name_id
uint32_t m_name_id
Definition:
TrigConfAlg_p1.h:31
TrigConfAlg::getType
const std::string & getType() const
Definition:
TrigConfAlg.h:40
TrigConfAlgCnv_p1.h
endmsg
#define endmsg
Definition:
AnalysisConfig_Ntuple.cxx:63
TrigConfAlg_p1::m_index
uint16_t m_index
Definition:
TrigConfAlg_p1.h:29
TrigConfAlg
Definition:
TrigConfAlg.h:25
TrigConfAlg::getName
const std::string & getName() const
Definition:
TrigConfAlg.h:39
TrigConfAlgCnv_p1::transToPers
virtual void transToPers(const TrigConfAlg *transObj, TrigConfAlg_p1 *persObj, MsgStream &log) const override
Definition:
TrigConfAlgCnv_p1.cxx:26
TrigConfAlg::getIndex
uint16_t getIndex() const
Definition:
TrigConfAlg.h:42
TrigConfAlg_p1::m_name
std::string m_name
Definition:
TrigConfAlg_p1.h:34
TrigConfAlg_p1
Definition:
TrigConfAlg_p1.h:19
DEBUG
#define DEBUG
Definition:
page_access.h:11
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
TrigConfAlg::getPosition
uint8_t getPosition() const
Definition:
TrigConfAlg.h:43
TrigConfAlg_p1::m_type
std::string m_type
Definition:
TrigConfAlg_p1.h:35
TrigConfAlg_p1::m_type_id
uint32_t m_type_id
Definition:
TrigConfAlg_p1.h:32
Generated on Thu Nov 7 2024 21:29:26 for ATLAS Offline Software by
1.8.18