ATLAS Offline Software
MuonMCDataCnv_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
7 
8 void MuonMCDataCnv_p1::persToTrans(const Muon::MuonMCData_p1 * persObj, MuonMCData * transObj, MsgStream & log){
9  log << MSG::DEBUG << "MuonMCDataCnv_p1::persToTrans" << endmsg;
10  transObj->SetData (persObj->m_first, persObj->m_second);
11  //log << MSG::VERBOSE << "\tconverting m_first:\t" << persObj->m_first << "\tto\t" << transObj->m_first << endmsg;
12  //log << MSG::VERBOSE << "\tconverting m_second:\t" << persObj->m_second << "\tto\t" << transObj->m_second << endmsg;
13 }
14 
15 void MuonMCDataCnv_p1::transToPers( const MuonMCData * transObj, Muon::MuonMCData_p1 * persObj, MsgStream & log){
16  log << MSG::DEBUG << "MuonMCDataCnv_p1::transToPers" << endmsg;
17  persObj->m_first = transObj->firstEntry();
18  persObj->m_second = transObj->secondEntry();
19  //log << MSG::VERBOSE << "\tconverting m_first:\t" << transObj->m_first << "\tto\t" << persObj->m_first << endmsg;
20  //log << MSG::VERBOSE << "\tconverting m_second:\t" << transObj->m_second << "\tto\t" << persObj->m_second << endmsg;
21 }
Muon::MuonMCData_p1::m_second
float m_second
Definition: MuonMCData_p1.h:15
Muon::MuonMCData_p1
Definition: MuonMCData_p1.h:9
MuonMCData::firstEntry
double firstEntry() const
Definition: MuonSimData.h:80
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
Muon::MuonMCData_p1::m_first
double m_first
Definition: MuonMCData_p1.h:14
MuonMCData::secondEntry
float secondEntry() const
Definition: MuonSimData.h:81
MuonMCDataCnv_p1::persToTrans
void persToTrans(const Muon::MuonMCData_p1 *persObj, MuonMCData *transObj, MsgStream &log)
Definition: MuonMCDataCnv_p1.cxx:8
MuonMCData::SetData
void SetData(double f, float s)
Definition: MuonSimData.h:79
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
MuonMCDataCnv_p1::transToPers
void transToPers(const MuonMCData *transObj, Muon::MuonMCData_p1 *persObj, MsgStream &log)
Definition: MuonMCDataCnv_p1.cxx:15
MuonMCDataCnv_p1.h
MuonMCData
Definition: MuonSimData.h:42
MuonSimData.h