ATLAS Offline Software
AFP_SiDigiCnv_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 #include "Identifier/Identifier.h"
9 
10 void AFP_SiDigiCnv_p1::persToTrans(const AFP_SiDigi_p1* persObj, AFP_SiDigi* transObj, MsgStream &log)
11 const {
12  log << MSG::DEBUG << "AFP_SiDigiCnv_p1::persToTrans called " << endmsg;
13 
14 
15  transObj->m_fADC=persObj->m_fADC;
16  transObj->m_fTDC=persObj->m_fTDC;
17 
18  transObj->m_nStationID=persObj->m_nStationID;
19  transObj->m_nDetectorID=persObj->m_nDetectorID;
20  transObj->m_nPixelRow=persObj->m_nPixelRow;
21  transObj->m_nPixelCol=persObj->m_nPixelCol;
22 }
23 
24 void AFP_SiDigiCnv_p1::transToPers(const AFP_SiDigi* transObj, AFP_SiDigi_p1* persObj, MsgStream &log)
25 const {
26  log << MSG::DEBUG << "AFP_SiDigiCnv_p1::transToPers called " << endmsg;
27 
28  persObj->m_fADC=transObj->m_fADC;
29  persObj->m_fTDC=transObj->m_fTDC;
30 
31  persObj->m_nStationID=transObj->m_nStationID;
32  persObj->m_nDetectorID=transObj->m_nDetectorID;
33  persObj->m_nPixelRow=transObj->m_nPixelRow;
34  persObj->m_nPixelCol=transObj->m_nPixelCol;
35  }
AFP_SiDigi::m_nPixelRow
int m_nPixelRow
Definition: AFP_SiDigi.h:20
AFP_SiDigi.h
AFP_SiDigiCnv_p1::persToTrans
virtual void persToTrans(const AFP_SiDigi_p1 *persObj, AFP_SiDigi *transObj, MsgStream &log) const override
Definition: AFP_SiDigiCnv_p1.cxx:10
AFP_SiDigi_p1::m_nDetectorID
int m_nDetectorID
Definition: AFP_SiDigi_p1.h:21
AFP_SiDigiCnv_p1.h
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
AFP_SiDigi_p1::m_nStationID
int m_nStationID
Definition: AFP_SiDigi_p1.h:20
AFP_SiDigi::m_nPixelCol
int m_nPixelCol
Definition: AFP_SiDigi.h:21
AFP_SiDigi::m_fTDC
float m_fTDC
Definition: AFP_SiDigi.h:16
AFP_SiDigi_p1::m_fADC
float m_fADC
Definition: AFP_SiDigi_p1.h:17
AFP_SiDigi_p1
Definition: AFP_SiDigi_p1.h:9
AFP_SiDigi::m_nDetectorID
int m_nDetectorID
Definition: AFP_SiDigi.h:19
AFP_SiDigi::m_fADC
float m_fADC
Definition: AFP_SiDigi.h:15
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
AFP_SiDigiCnv_p1::transToPers
virtual void transToPers(const AFP_SiDigi *transObj, AFP_SiDigi_p1 *persObj, MsgStream &log) const override
Definition: AFP_SiDigiCnv_p1.cxx:24
AFP_SiDigi_p1::m_fTDC
float m_fTDC
Definition: AFP_SiDigi_p1.h:18
AFP_SiDigi_p1::m_nPixelRow
int m_nPixelRow
Definition: AFP_SiDigi_p1.h:22
AFP_SiDigi_p1::m_nPixelCol
int m_nPixelCol
Definition: AFP_SiDigi_p1.h:23
AFP_SiDigi::m_nStationID
int m_nStationID
Definition: AFP_SiDigi.h:18
AFP_SiDigi
Definition: AFP_SiDigi.h:9