ATLAS Offline Software
TileTrackMuFeatureCnv_p2.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  TileTrackMuFeature *transObj,
14  MsgStream &log )
15 {
16  log << MSG::DEBUG << "TileTrackMuFeatureCnv_p2::persToTrans called " << endmsg;
17 
19  m_ELink_TileMuCnv.persToTrans( &persObj->m_TileMu, &tileMuOutput, log);
20 
22  m_ELink_IDTkCnv.persToTrans( &persObj->m_Track, &IDScanOutput, log);
23 
24  *transObj = TileTrackMuFeature (persObj->m_PtTR_Trk,
25  persObj->m_EtaTR_Trk,
26  persObj->m_PhiTR_Trk,
27  persObj->m_Typ_IDTrk,
28  tileMuOutput,
29  IDScanOutput);
30 }
31 
32 //-----------------------------------------------------------------------------
33 // Transient to persistent
34 //-----------------------------------------------------------------------------
36  TileTrackMuFeature_p2 *persObj,
37  MsgStream &log )
38 {
39  log << MSG::DEBUG << "TileTrackMuFeatureCnv_p2::transToPers called " << endmsg;
40 
41  persObj->m_PtTR_Trk = transObj->PtTR_Trk();
42  persObj->m_EtaTR_Trk = transObj->EtaTR_Trk();
43  persObj->m_PhiTR_Trk = transObj->PhiTR_Trk();
44  persObj->m_Typ_IDTrk = transObj->Typ_IDTrk();
45 
46  m_ELink_TileMuCnv.transToPers( &transObj->TileMuLink(), &persObj->m_TileMu, log);
47  m_ELink_IDTkCnv.transToPers( &transObj->IDScanLink(), &persObj->m_Track, log);
48 }
TileTrackMuFeature::PhiTR_Trk
double PhiTR_Trk() const
Definition: TileTrackMuFeature.h:68
TileTrackMuFeatureCnv_p2::m_ELink_IDTkCnv
ElementLinkCnv_p1< ElementLink< TrigInDetTrackCollection > > m_ELink_IDTkCnv
Definition: TileTrackMuFeatureCnv_p2.h:45
TileTrackMuFeatureCnv_p2::transToPers
virtual void transToPers(const TileTrackMuFeature *transObj, TileTrackMuFeature_p2 *persObj, MsgStream &log)
Definition: TileTrackMuFeatureCnv_p2.cxx:35
TileTrackMuFeatureCnv_p2::m_ELink_TileMuCnv
ElementLinkCnv_p1< ElementLink< TileMuFeatureContainer > > m_ELink_TileMuCnv
Definition: TileTrackMuFeatureCnv_p2.h:44
TileTrackMuFeature::Typ_IDTrk
int Typ_IDTrk() const
Definition: TileTrackMuFeature.h:69
TileTrackMuFeatureCnv_p2::persToTrans
virtual void persToTrans(const TileTrackMuFeature_p2 *persObj, TileTrackMuFeature *transObj, MsgStream &log)
Definition: TileTrackMuFeatureCnv_p2.cxx:12
TileTrackMuFeature_p2
Definition: TileTrackMuFeature_p2.h:10
TileTrackMuFeature_p2::m_TileMu
ElementLinkInt_p1 m_TileMu
Definition: TileTrackMuFeature_p2.h:26
TileTrackMuFeatureCnv_p2.h
TileTrackMuFeature_p2::m_Track
ElementLinkInt_p1 m_Track
Definition: TileTrackMuFeature_p2.h:27
TileTrackMuFeature
Definition: TileTrackMuFeature.h:41
TileTrackMuFeature.h
ElementLinkCnv_p1::transToPers
void transToPers(const Link_t &trans, PersLink_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
TileTrackMuFeature::EtaTR_Trk
double EtaTR_Trk() const
Definition: TileTrackMuFeature.h:67
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
TileTrackMuFeature_p2::m_PhiTR_Trk
float m_PhiTR_Trk
Definition: TileTrackMuFeature_p2.h:23
TileTrackMuFeature_p2::m_PtTR_Trk
float m_PtTR_Trk
Definition: TileTrackMuFeature_p2.h:21
TileTrackMuFeature::PtTR_Trk
double PtTR_Trk() const
Ovveride pure virtual methods.
Definition: TileTrackMuFeature.h:66
TileTrackMuFeature::TileMuLink
const ElementLink< TileMuFeatureContainer > & TileMuLink(void) const
Definition: TileTrackMuFeature.h:74
TileTrackMuFeature_p2::m_Typ_IDTrk
int m_Typ_IDTrk
Definition: TileTrackMuFeature_p2.h:24
ElementLinkCnv_p1::persToTrans
void persToTrans(const PersLink_t &pers, Link_t &trans, MsgStream &log) const
TileTrackMuFeature::IDScanLink
const ElementLink< TrigInDetTrackCollection > & IDScanLink(void) const
Definition: TileTrackMuFeature.h:75
DEBUG
#define DEBUG
Definition: page_access.h:11
TileTrackMuFeature_p2.h
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TileTrackMuFeature_p2::m_EtaTR_Trk
float m_EtaTR_Trk
Definition: TileTrackMuFeature_p2.h:22