ATLAS Offline Software
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 
9 void 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 
23 void 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 }
ALFA_LocRecODEvent::getPotNum
int getPotNum() const
Definition: ALFA_LocRecODEvent.h:21
ALFA_LocRecODEvent::getFibSel
std::vector< int > getFibSel() const
Definition: ALFA_LocRecODEvent.h:27
ALFA_LocRecODEvent_p1::m_iAlgoNum
int m_iAlgoNum
Definition: ALFA_LocRecODEvent_p1.h:28
ALFA_LocRecODEventCnv_p1.h
ALFA_LocRecODEvent::getYposition
float getYposition() const
Definition: ALFA_LocRecODEvent.h:23
ALFA_LocRecODEvent::getOverY
float getOverY() const
Definition: ALFA_LocRecODEvent.h:25
ALFA_LocRecODEvent::getNumY
int getNumY() const
Definition: ALFA_LocRecODEvent.h:26
ALFA_LocRecODEvent_p1
Definition: ALFA_LocRecODEvent_p1.h:11
ALFA_LocRecODEvent_p1::m_side
int m_side
Definition: ALFA_LocRecODEvent_p1.h:30
ALFA_LocRecODEventCnv_p1::transToPers
virtual void transToPers(const ALFA_LocRecODEvent *transObj, ALFA_LocRecODEvent_p1 *persObj, MsgStream &log) const override
Definition: ALFA_LocRecODEventCnv_p1.cxx:23
ALFA_LocRecODEvent_p1::m_fOverY
float m_fOverY
Definition: ALFA_LocRecODEvent_p1.h:33
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
ALFA_LocRecODEvent_p1.h
ALFA_LocRecODEvent::getAlgoNum
int getAlgoNum() const
Definition: ALFA_LocRecODEvent.h:20
ALFA_LocRecODEvent
Definition: ALFA_LocRecODEvent.h:10
ALFA_LocRecODEvent::getSide
int getSide() const
Definition: ALFA_LocRecODEvent.h:22
ALFA_LocRecODEvent_p1::m_iNumY
int m_iNumY
Definition: ALFA_LocRecODEvent_p1.h:34
ALFA_LocRecODEventCnv_p1::persToTrans
virtual void persToTrans(const ALFA_LocRecODEvent_p1 *persObj, ALFA_LocRecODEvent *transObj, MsgStream &log) const override
Definition: ALFA_LocRecODEventCnv_p1.cxx:9
ALFA_LocRecODEvent_p1::m_y
float m_y
Definition: ALFA_LocRecODEvent_p1.h:31
ALFA_LocRecODEvent.h
ALFA_LocRecODEvent_p1::m_pot_num
int m_pot_num
Definition: ALFA_LocRecODEvent_p1.h:29
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
ALFA_LocRecODEvent_p1::m_iFibSel
std::vector< int > m_iFibSel
Definition: ALFA_LocRecODEvent_p1.h:36