ATLAS Offline Software
Loading...
Searching...
No Matches
ALFA_LocRecODEventCnv_p1.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
8
9void ALFA_LocRecODEventCnv_p1::persToTrans(const ALFA_LocRecODEvent_p1* persObj, ALFA_LocRecODEvent* transObj, MsgStream &log) const
10{
11 log << MSG::DEBUG << "ALFA_LocRecODEventCnv_p1::persToTrans called " << endmsg;
12
13 *transObj = ALFA_LocRecODEvent (persObj->m_iAlgoNum,
14 persObj->m_pot_num,
15 persObj->m_side,
16 persObj->m_y,
17 persObj->m_fOverY,
18 persObj->m_iNumY,
19 persObj->m_iFibSel);
20}
21
22
23void ALFA_LocRecODEventCnv_p1::transToPers(const ALFA_LocRecODEvent* transObj, ALFA_LocRecODEvent_p1* persObj, MsgStream &log) const
24{
25 log << MSG::DEBUG << "ALFA_LocRecODEventCnv_p1::transToPers called " << endmsg;
26
27 persObj->m_iAlgoNum = transObj->getAlgoNum();
28 persObj->m_pot_num = transObj->getPotNum();
29 persObj->m_side = transObj->getSide();
30 persObj->m_y = transObj->getYposition();
31 persObj->m_fOverY = transObj->getOverY();
32 persObj->m_iNumY = transObj->getNumY();
33 persObj->m_iFibSel = transObj->getFibSel();
34}
#define endmsg
virtual void persToTrans(const ALFA_LocRecODEvent_p1 *persObj, ALFA_LocRecODEvent *transObj, MsgStream &log) const override
virtual void transToPers(const ALFA_LocRecODEvent *transObj, ALFA_LocRecODEvent_p1 *persObj, MsgStream &log) const override
std::vector< int > m_iFibSel
float getYposition() const
const std::vector< int > & getFibSel() const