ATLAS Offline Software
ALFA_LocRecEventCnv_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_LocRecEventCnv_p1::persToTrans(const ALFA_LocRecEvent_p1* persObj, ALFA_LocRecEvent* transObj, MsgStream &log) const
10 {
11  log << MSG::DEBUG << "ALFA_LocRecEventCnv_p1::persToTrans called " << endmsg;
12 
13  *transObj = ALFA_LocRecEvent (persObj->m_iAlgoNum,
14  persObj->m_pot_num,
15  persObj->m_x,
16  persObj->m_y,
17  persObj->m_fOverU,
18  persObj->m_fOverV,
19  persObj->m_iNumU,
20  persObj->m_iNumV,
21  persObj->m_iFibSel);
22 }
23 
24 
26  ALFA_LocRecEvent_p1* persObj,
27  MsgStream &log) const
28 {
29  log << MSG::DEBUG << "ALFA_LocRecEventCnv_p1::transToPers called " << endmsg;
30 
31  persObj->m_iAlgoNum = transObj->getAlgoNum();
32  persObj->m_pot_num = transObj->getPotNum();
33  persObj->m_x = transObj->getXposition();
34  persObj->m_y = transObj->getYposition();
35  persObj->m_fOverU = transObj->getOverU();
36  persObj->m_fOverV = transObj->getOverV();
37  persObj->m_iNumU = transObj->getNumU();
38  persObj->m_iNumV = transObj->getNumV();
39  persObj->m_iFibSel = transObj->getFibSel();
40  }
ALFA_LocRecEvent::getOverV
float getOverV() const
Definition: ALFA_LocRecEvent.h:26
ALFA_LocRecEvent_p1::m_x
float m_x
Definition: ALFA_LocRecEvent_p1.h:32
ALFA_LocRecEvent::getNumV
int getNumV() const
Definition: ALFA_LocRecEvent.h:28
ALFA_LocRecEvent_p1::m_fOverV
float m_fOverV
Definition: ALFA_LocRecEvent_p1.h:36
ALFA_LocRecEvent_p1
Definition: ALFA_LocRecEvent_p1.h:11
ALFA_LocRecEvent_p1::m_iFibSel
std::vector< int > m_iFibSel
Definition: ALFA_LocRecEvent_p1.h:39
ALFA_LocRecEvent.h
ALFA_LocRecEvent
Definition: ALFA_LocRecEvent.h:10
ALFA_LocRecEvent::getFibSel
std::vector< int > getFibSel() const
Definition: ALFA_LocRecEvent.h:29
ALFA_LocRecEvent_p1.h
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
ALFA_LocRecEvent::getYposition
float getYposition() const
Definition: ALFA_LocRecEvent.h:23
ALFA_LocRecEventCnv_p1.h
ALFA_LocRecEvent::getOverU
float getOverU() const
Definition: ALFA_LocRecEvent.h:25
ALFA_LocRecEvent::getPotNum
int getPotNum() const
Definition: ALFA_LocRecEvent.h:21
ALFA_LocRecEvent::getXposition
float getXposition() const
Definition: ALFA_LocRecEvent.h:22
ALFA_LocRecEvent_p1::m_fOverU
float m_fOverU
Definition: ALFA_LocRecEvent_p1.h:35
ALFA_LocRecEvent::getAlgoNum
int getAlgoNum() const
Definition: ALFA_LocRecEvent.h:20
ALFA_LocRecEvent_p1::m_iNumV
int m_iNumV
Definition: ALFA_LocRecEvent_p1.h:38
ALFA_LocRecEvent_p1::m_pot_num
int m_pot_num
Definition: ALFA_LocRecEvent_p1.h:31
DEBUG
#define DEBUG
Definition: page_access.h:11
ALFA_LocRecEventCnv_p1::persToTrans
virtual void persToTrans(const ALFA_LocRecEvent_p1 *persObj, ALFA_LocRecEvent *transObj, MsgStream &log) const override
Definition: ALFA_LocRecEventCnv_p1.cxx:9
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
ALFA_LocRecEventCnv_p1::transToPers
virtual void transToPers(const ALFA_LocRecEvent *transObj, ALFA_LocRecEvent_p1 *persObj, MsgStream &log) const override
Definition: ALFA_LocRecEventCnv_p1.cxx:25
ALFA_LocRecEvent_p1::m_iAlgoNum
int m_iAlgoNum
Definition: ALFA_LocRecEvent_p1.h:30
ALFA_LocRecEvent_p1::m_y
float m_y
Definition: ALFA_LocRecEvent_p1.h:33
ALFA_LocRecEvent_p1::m_iNumU
int m_iNumU
Definition: ALFA_LocRecEvent_p1.h:37
ALFA_LocRecEvent::getNumU
int getNumU() const
Definition: ALFA_LocRecEvent.h:27