ATLAS Offline Software
BCM_RawDataCnv_p0.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 #include "GaudiKernel/MsgStream.h"
7 #include "BCM_RawDataCnv_p0.h"
8 
9 void BCM_RawDataCnv_p0::persToTrans(const BCM_RawData_p0* persObj, BCM_RawData* transObj, MsgStream &log) {
10  if (log.level()<=MSG::DEBUG) log << MSG::DEBUG << "In BCM_RawDataCnv_p0:persToTrans" << endmsg;
11  *transObj = BCM_RawData (persObj->m_word1, persObj->m_word2);
12 }
13 
14 void BCM_RawDataCnv_p0::transToPers(const BCM_RawData* transObj, BCM_RawData_p0* persObj, MsgStream &log) {
15  if (log.level()<=MSG::DEBUG) log << MSG::DEBUG << "In BCM_RawDataCnv_p0:transToPers" << endmsg;
16  persObj->m_word1 = transObj->getWord1();
17  persObj->m_word2 = transObj->getWord2();
18 }
BCM_RawData_p0::m_word1
unsigned int m_word1
Definition: BCM_RawData_p0.h:18
BCM_RawDataCnv_p0.h
BCM_RawData_p0::m_word2
unsigned int m_word2
Definition: BCM_RawData_p0.h:19
BCM_RawData_p0
Definition: BCM_RawData_p0.h:11
BCM_RawData::getWord2
int getWord2() const
Definition: BCM_RawData.h:79
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
BCM_RawData
Definition: BCM_RawData.h:36
BCM_RawData.h
BCM_RawDataCnv_p0::transToPers
virtual void transToPers(const BCM_RawData *transObj, BCM_RawData_p0 *persObj, MsgStream &log)
Definition: BCM_RawDataCnv_p0.cxx:14
BCM_RawData::getWord1
int getWord1() const
Definition: BCM_RawData.h:78
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
BCM_RawDataCnv_p0::persToTrans
virtual void persToTrans(const BCM_RawData_p0 *persObj, BCM_RawData *transObj, MsgStream &log)
Definition: BCM_RawDataCnv_p0.cxx:9