ATLAS Offline Software
Loading...
Searching...
No Matches
HGTD_RDO_Cnv_p1.cxx
Go to the documentation of this file.
1
9
11
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
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}
#define endmsg
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration.
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.
void persToTrans(const HGTD_RDO_p1 *pers_obj, HGTD_RDO *trans_obj, MsgStream &log)
unsigned short m_l1_a
Definition HGTD_RDO_p1.h:29
IdType_t m_rdo_id
Definition HGTD_RDO_p1.h:24
unsigned short m_bcid
Definition HGTD_RDO_p1.h:27
unsigned short m_l1_id
Definition HGTD_RDO_p1.h:28
unsigned int m_tot
Definition HGTD_RDO_p1.h:26
virtual unsigned short getBCID() const
Definition HGTD_RDO.h:123
virtual float getTOA() const
Definition HGTD_RDO.h:119
virtual unsigned int getTOT() const
Definition HGTD_RDO.h:121
virtual unsigned short getL1ID() const
Definition HGTD_RDO.h:125
virtual Identifier identify() const
Definition HGTD_RDO.h:117
virtual unsigned short getL1A() const
Definition HGTD_RDO.h:127
value_type get_compact() const
Get the compact id.