ATLAS Offline Software
Trigger
TrigT1
TrigT1EventTPCnv
src
CPMTobRoICnv_p1.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TrigT1CaloEvent/CPMTobRoI.h
"
6
7
8
// Gaudi/Athena include(s):
9
#include "GaudiKernel/MsgStream.h"
10
11
// Local include(s):
12
//#include "TrigT1EventTPCnv/CPMTobRoI_p1.h"
13
#include "
TrigT1EventTPCnv/CPMTobRoICnv_p1.h
"
14
15
using namespace
LVL1
;
16
17
/*
18
CPMTobRoICnv_p1::CPMTobRoICnv_p1()
19
: T_AthenaPoolTPCnvBase< CPMTobRoI, CPMTobRoI_p1 >() {
20
21
}
22
*/
23
24
void
CPMTobRoICnv_p1::persToTrans
(
const
CPMTobRoI_p1
* persObj,
CPMTobRoI
* transObj, MsgStream &
log
) {
25
26
//log << MSG::INFO << "Converting CPMTobRoI from persistent state..." << endmsg;
27
28
//transObj->clear(); // see if I actually need one of these
29
30
//
31
// Translate the CPMTobRoI
32
//
33
*transObj =
CPMTobRoI
(persObj->
m_roiWord
);
34
35
if
(
log
.level() <=
MSG::DEBUG
)
log
<<
MSG::DEBUG
<<
"Converted CPMTobRoI from persistent state [OK]"
<<
endmsg
;
36
37
return
;
38
39
}
40
41
void
CPMTobRoICnv_p1::transToPers
(
const
CPMTobRoI
* transObj,
CPMTobRoI_p1
* persObj, MsgStream &
log
) {
42
43
//log << MSG::INFO << "Creating persistent state of CPMTobRoI..." << endmsg;
44
45
persObj->
m_roiWord
= transObj->
roiWord
();
46
47
if
(
log
.level() <=
MSG::DEBUG
)
log
<<
MSG::DEBUG
<<
"Created persistent state of CPMTobRoI [OK]"
<<
endmsg
;
48
49
return
;
50
51
}
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition:
ICMMCPHitsCnvTool.h:18
LVL1::CPMTobRoI::roiWord
uint32_t roiWord() const
Return packed RoI word.
Definition:
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMTobRoI.h:112
CPMTobRoI_p1::m_roiWord
uint32_t m_roiWord
Destructor.
Definition:
CPMTobRoI_p1.h:33
endmsg
#define endmsg
Definition:
AnalysisConfig_Ntuple.cxx:63
CPMTobRoICnv_p1::transToPers
virtual void transToPers(const LVL1::CPMTobRoI *transObj, CPMTobRoI_p1 *persObj, MsgStream &log)
Definition:
CPMTobRoICnv_p1.cxx:41
CPMTobRoICnv_p1::persToTrans
virtual void persToTrans(const CPMTobRoI_p1 *persObj, LVL1::CPMTobRoI *transObj, MsgStream &log)
Definition:
CPMTobRoICnv_p1.cxx:24
CPMTobRoI_p1
T/P separation for TrigT1Calo::CPMTobRoI class.
Definition:
CPMTobRoI_p1.h:19
CPMTobRoI.h
LVL1::CPMTobRoI
CPM RoI data.
Definition:
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMTobRoI.h:19
DEBUG
#define DEBUG
Definition:
page_access.h:11
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
CPMTobRoICnv_p1.h
xAOD::CPMTobRoI
CPMTobRoI_v1 CPMTobRoI
Define the latest version of the CPMTobRoI class.
Definition:
Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/CPMTobRoI.h:17
Generated on Thu Nov 7 2024 21:12:43 for ATLAS Offline Software by
1.8.18