ATLAS Offline Software
CombinedMuonFeatureCnv_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 
8 
9 //-----------------------------------------------------------------------------
10 // Persistent to transient
11 //-----------------------------------------------------------------------------
13  CombinedMuonFeature *transObj,
14  MsgStream &log )
15 {
16  log << MSG::DEBUG << "CombinedMuonFeatureCnv_p1::persToTrans called " << endmsg;
17 
18  //need to get the ElementLink from the pointer...
19  // transObj->m_muFastTrack = createTransFromPStore( &m_mfCnv, persObj->m_muFastTrack, log );
20  // transObj->m_IDTrack = createTransFromPStore( &m_IDTkCnv, persObj->m_IDTrack, log );
21 
22  *transObj = CombinedMuonFeature (persObj->m_pt,
23  persObj->m_sigma_pt,
24  0, // m_charge
25  0, // m_flag
28 }
29 
30 //-----------------------------------------------------------------------------
31 // Transient to persistent
32 //-----------------------------------------------------------------------------
34  CombinedMuonFeature_p1 */*persObj*/,
35  MsgStream &log )
36 {
37  log << MSG::WARNING << "CombinedMuonFeatureCnv_p1::transToPers called but CombinedMuonFeatureCnv_p2 exists!! " << endmsg;
38 
39  //persObj->m_pt = transObj->m_pt;
40  //persObj->m_sigma_pt = transObj->m_sigma_pt;
41  //persObj->m_muFastTrack = toPersistent( &m_mfCnv, transObj->m_muFastTrack, log );
42  //persObj->m_IDTrack = toPersistent( &m_IDTkCnv, transObj->m_IDTrack, log );
43 
44 }
CombinedMuonFeature_p1::m_pt
float m_pt
Definition: CombinedMuonFeature_p1.h:21
CombinedMuonFeatureCnv_p1.h
CombinedMuonFeature_p1::m_sigma_pt
float m_sigma_pt
Definition: CombinedMuonFeature_p1.h:22
CombinedMuonFeatureCnv_p1::transToPers
virtual void transToPers(const CombinedMuonFeature *transObj, CombinedMuonFeature_p1 *persObj, MsgStream &log)
Definition: CombinedMuonFeatureCnv_p1.cxx:33
CombinedMuonFeature.h
CombinedMuonFeatureCnv_p1::persToTrans
virtual void persToTrans(const CombinedMuonFeature_p1 *persObj, CombinedMuonFeature *transObj, MsgStream &log)
Definition: CombinedMuonFeatureCnv_p1.cxx:12
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
CombinedMuonFeature
Definition: CombinedMuonFeature.h:30
CombinedMuonFeature_p1
Definition: CombinedMuonFeature_p1.h:10
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
CombinedMuonFeature_p1.h