ATLAS Offline Software
TgcPrepDataCnv_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 
5 //-----------------------------------------------------------------------------
6 //
7 // file: TgcPrepDataCnv_p1.cxx
8 //
9 //-----------------------------------------------------------------------------
10 
13 
15 persToTrans( const Muon::TgcPrepData_p1 *persObj, Muon::TgcPrepData *transObj,MsgStream &log )
16 {
17  log << MSG::DEBUG << "TgcPrepDataCnv_p1::persToTrans" << endmsg;
18  fillTransFromPStore( &m_prdCnv, persObj->m_prd, transObj, log );
19 }
20 
22 transToPers( const Muon::TgcPrepData *transObj, Muon::TgcPrepData_p1 *persObj, MsgStream &log )
23 {
24  log << MSG::DEBUG << "TgcPrepDataCnv_p1::transToPers" << endmsg;
25  persObj->m_prd = baseToPersistent( &m_prdCnv, transObj, log );
26 }
27 
28 
Muon::TgcPrepData_p1
Definition: TgcPrepData_p1.h:19
Muon::TgcPrepData_p1::m_prd
TPObjRef m_prd
Definition: TgcPrepData_p1.h:23
TgcPrepDataCnv_p1::m_prdCnv
PrepRawDataCnv_p1 * m_prdCnv
Definition: TgcPrepDataCnv_p1.h:35
TgcPrepData.h
ITPConverterFor< TRANS_BASE >::fillTransFromPStore
void fillTransFromPStore(CNV **cnv, const TPObjRef &ref, TRANS_T *trans, MsgStream &log) const
Convert persistent object, stored in the the top-level persistent object and referenced by the TP Ref...
Definition: TPConverter.h:145
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
TgcPrepDataCnv_p1.h
TgcPrepDataCnv_p1::transToPers
void transToPers(const Muon::TgcPrepData *transObj, Muon::TgcPrepData_p1 *persObj, MsgStream &log)
Definition: TgcPrepDataCnv_p1.cxx:22
ITPConverterFor< TRANS_BASE >::baseToPersistent
TPObjRef baseToPersistent(CNV **cnv, const typename CNV::Trans_t *transObj, MsgStream &log) const
Persistify bass class of a given object and store the persistent represenation in the storage vector ...
Definition: TPConverter.h:97
TgcPrepDataCnv_p1::persToTrans
void persToTrans(const Muon::TgcPrepData_p1 *persObj, Muon::TgcPrepData *transObj, MsgStream &log)
Definition: TgcPrepDataCnv_p1.cxx:15
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
Muon::TgcPrepData
Class to represent TGC measurements.
Definition: TgcPrepData.h:32