ATLAS Offline Software
HighGranularityTimingDetector
HGTD_EventCnv
HGTD_EventTPCnv
src
HGTD_RDO_Cnv_p1.cxx
Go to the documentation of this file.
1
10
#include "
HGTD_EventTPCnv/HGTD_RDO_Cnv_p1.h
"
11
12
void
HGTD_RDO_Cnv_p1::transToPers
(
const
HGTD_RDO
* trans_obj,
13
HGTD_RDO_p1
* pers_obj,
14
MsgStream&
log
) {
15
log
<<
MSG::VERBOSE
<<
"calling HGTD_RDO_Cnv_p1::transToPers"
<<
endmsg
;
16
17
pers_obj->
m_rdo_id
= trans_obj->
identify
().
get_compact
();
18
pers_obj->
m_toa
= trans_obj->
getTOA
();
19
pers_obj->
m_tot
= trans_obj->
getTOT
();
20
pers_obj->
m_bcid
= trans_obj->
getBCID
();
21
pers_obj->
m_l1_id
= trans_obj->
getL1ID
();
22
pers_obj->
m_l1_a
= trans_obj->
getL1A
();
23
}
24
25
void
HGTD_RDO_Cnv_p1::persToTrans
(
const
HGTD_RDO_p1
* pers_obj,
26
HGTD_RDO
* trans_obj,
27
MsgStream&
log
) {
28
log
<<
MSG::VERBOSE
<<
"calling HGTD_RDO_Cnv_p1::persToTrans"
<<
endmsg
;
29
*trans_obj =
HGTD_RDO
(
Identifier
(pers_obj->
m_rdo_id
), pers_obj->
m_toa
,
30
pers_obj->
m_tot
, pers_obj->
m_bcid
,
31
pers_obj->
m_l1_id
, pers_obj->
m_l1_a
);
32
}
HGTD_RDO::getL1A
virtual unsigned short getL1A() const
Definition:
HGTD_RDO.h:127
HGTD_RDO::identify
virtual Identifier identify() const
Definition:
HGTD_RDO.h:117
HGTD_RDO::getBCID
virtual unsigned short getBCID() const
Definition:
HGTD_RDO.h:123
HGTD_RDO_p1::m_bcid
unsigned short m_bcid
Definition:
HGTD_RDO_p1.h:27
HGTD_RDO_Cnv_p1::persToTrans
void persToTrans(const HGTD_RDO_p1 *pers_obj, HGTD_RDO *trans_obj, MsgStream &log)
Definition:
HGTD_RDO_Cnv_p1.cxx:25
HGTD_RDO_Cnv_p1.h
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration.
Identifier::get_compact
value_type get_compact() const
Get the compact id.
HGTD_RDO
Definition:
HGTD_RDO.h:53
HGTD_RDO::getTOA
virtual float getTOA() const
Definition:
HGTD_RDO.h:119
endmsg
#define endmsg
Definition:
AnalysisConfig_Ntuple.cxx:63
HGTD_RDO_p1::m_rdo_id
IdType_t m_rdo_id
Definition:
HGTD_RDO_p1.h:24
HGTD_RDO_p1
Definition:
HGTD_RDO_p1.h:15
HGTD_RDO_p1::m_l1_id
unsigned short m_l1_id
Definition:
HGTD_RDO_p1.h:28
HGTD_RDO_p1::m_tot
unsigned int m_tot
Definition:
HGTD_RDO_p1.h:26
HGTD_RDO_p1::m_l1_a
unsigned short m_l1_a
Definition:
HGTD_RDO_p1.h:29
HGTD_RDO::getTOT
virtual unsigned int getTOT() const
Definition:
HGTD_RDO.h:121
HGTD_RDO_p1::m_toa
float m_toa
Definition:
HGTD_RDO_p1.h:25
HGTD_RDO::getL1ID
virtual unsigned short getL1ID() const
Definition:
HGTD_RDO.h:125
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
HGTD_RDO_Cnv_p1::transToPers
void transToPers(const HGTD_RDO *trans_obj, HGTD_RDO_p1 *pers_obj, MsgStream &log)
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration.
Definition:
HGTD_RDO_Cnv_p1.cxx:12
python.Constants.VERBOSE
int VERBOSE
Definition:
Control/AthenaCommon/python/Constants.py:14
Identifier
Definition:
IdentifierFieldParser.cxx:14
Generated on Fri Jan 10 2025 21:10:58 for ATLAS Offline Software by
1.8.18