ATLAS Offline Software
Loading...
Searching...
No Matches
ALFA_DigitCnv_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_DigitCnv_p1::persToTrans(const ALFA_Digit_p1* persObj, ALFA_Digit* transObj, MsgStream &log) const
10{
11 log << MSG::DEBUG << "ALFA_DigitCnv_p1::persToTrans called " << endmsg;
12
13 *transObj = ALFA_Digit (persObj->m_station,
14 persObj->m_plate,
15 persObj->m_fiber);
16}
17
18
20 ALFA_Digit_p1* persObj,
21 MsgStream &log) const
22{
23 log << MSG::DEBUG << "ALFA_DigitCnv_p1::transToPers called " << endmsg;
24 persObj->m_plate = transObj->getPlate();
25 persObj->m_fiber = transObj->getFiber();
26 persObj->m_station = transObj->getStation();
27
28 }
#define endmsg
virtual void transToPers(const ALFA_Digit *transObj, ALFA_Digit_p1 *persObj, MsgStream &log) const override
virtual void persToTrans(const ALFA_Digit_p1 *persObj, ALFA_Digit *transObj, MsgStream &log) const override
unsigned short m_plate
unsigned short m_fiber
unsigned short m_station
unsigned short getPlate() const
Definition ALFA_Digit.h:16
unsigned short getFiber() const
Definition ALFA_Digit.h:17
unsigned short getStation() const
Definition ALFA_Digit.h:15