ATLAS Offline Software
MuonFeatureCnv_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 
10  MuonFeature* transObj,
11  MsgStream &log)
12 {
13  log << MSG::DEBUG << "MuonFeatureCnv_p1::persToTrans called " << endmsg;
14 
15  *transObj = MuonFeature (persObj->m_saddress,
16  persObj->m_pt,
17  persObj->m_radius,
18  persObj->m_eta,
19  persObj->m_phi,
20  persObj->m_dir_phi,
21  persObj->m_zeta,
22  persObj->m_dir_zeta,
23  persObj->m_beta);
24  transObj->set_roiId (persObj->m_RoIId);
25 }
26 
27 
29  MuonFeature_p1* persObj,
30  MsgStream &log)
31 {
32  log << MSG::DEBUG << "MuonFeatureCnv_p1::transToPers called " << endmsg;
33 
34  persObj->m_RoIId = transObj->roiId() ;
35  persObj->m_saddress = transObj->saddress() ;
36  persObj->m_pt = transObj->pt() ;
37  persObj->m_radius = transObj->radius() ;
38  persObj->m_eta = transObj->eta() ;
39  persObj->m_phi = transObj->phi() ;
40  persObj->m_dir_phi = transObj->dir_phi() ;
41  persObj->m_zeta = transObj->zeta() ;
42  persObj->m_dir_zeta = transObj->dir_zeta() ;
43  persObj->m_beta = transObj->beta() ;
44 }
MuonFeature::radius
float radius(void) const
Definition: MuonFeature.h:49
MuonFeatureCnv_p1::persToTrans
virtual void persToTrans(const MuonFeature_p1 *persObj, MuonFeature *transObj, MsgStream &log)
Definition: MuonFeatureCnv_p1.cxx:9
MuonFeature::dir_phi
float dir_phi(void) const
Definition: MuonFeature.h:52
MuonFeature::eta
float eta(void) const
Definition: MuonFeature.h:50
MuonFeature_p1::m_phi
float m_phi
Definition: MuonFeature_p1.h:53
MuonFeature
Athena::TPCnvVers::Old Athena::TPCnvVers::Old Athena::TPCnvVers::Old Athena::TPCnvVers::Current MuonFeature
Definition: TrigMuonEventTPCnv.cxx:174
MuonFeature_p1::m_pt
float m_pt
Definition: MuonFeature_p1.h:50
MuonFeature::phi
float phi(void) const
Definition: MuonFeature.h:51
MuonFeature.h
MuonFeature::set_roiId
void set_roiId(int roiId)
Definition: MuonFeature.h:73
MuonFeature::dir_zeta
float dir_zeta(void) const
Definition: MuonFeature.h:54
MuonFeature::saddress
int saddress(void) const
Definition: MuonFeature.h:47
MuonFeature_p1.h
MuonFeature::roiId
int roiId(void) const
Definition: MuonFeature.h:46
MuonFeatureCnv_p1.h
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
MuonFeature_p1::m_beta
float m_beta
Definition: MuonFeature_p1.h:57
MuonFeature_p1::m_zeta
float m_zeta
Definition: MuonFeature_p1.h:55
MuonFeature_p1::m_dir_zeta
float m_dir_zeta
Definition: MuonFeature_p1.h:56
MuonFeature
Definition: MuonFeature.h:21
MuonFeature_p1
Definition: MuonFeature_p1.h:26
DEBUG
#define DEBUG
Definition: page_access.h:11
MuonFeature_p1::m_RoIId
int m_RoIId
Definition: MuonFeature_p1.h:48
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
MuonFeature_p1::m_saddress
int m_saddress
Definition: MuonFeature_p1.h:49
MuonFeature::pt
float pt(void) const
Definition: MuonFeature.h:48
MuonFeature::beta
float beta(void) const
Definition: MuonFeature.h:55
MuonFeature_p1::m_dir_phi
float m_dir_phi
Definition: MuonFeature_p1.h:54
MuonFeatureCnv_p1::transToPers
virtual void transToPers(const MuonFeature *transObj, MuonFeature_p1 *persObj, MsgStream &log)
Definition: MuonFeatureCnv_p1.cxx:28
MuonFeature_p1::m_eta
float m_eta
Definition: MuonFeature_p1.h:52
MuonFeature_p1::m_radius
float m_radius
Definition: MuonFeature_p1.h:51
MuonFeature::zeta
float zeta(void) const
Definition: MuonFeature.h:53