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