ATLAS Offline Software
MuonFeatureCnv_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 
10  MuonFeature* transObj,
11  MsgStream &log)
12 {
13  log << MSG::DEBUG << "MuonFeatureCnv_p2::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  persObj->m_sp1_r,
25  persObj->m_sp1_z,
26  persObj->m_sp1_slope,
27  persObj->m_sp2_r,
28  persObj->m_sp2_z,
29  persObj->m_sp2_slope,
30  persObj->m_sp3_r,
31  persObj->m_sp3_z,
32  persObj->m_sp3_slope,
33  persObj->m_br_radius,
34  persObj->m_br_sagitta,
35  persObj->m_ec_alpha,
36  persObj->m_ec_beta,
37  persObj->m_dq_var1,
38  persObj->m_dq_var2);
39  transObj->set_roiId (persObj->m_RoIId);
40  transObj->set_algoId (persObj->m_algoId);
41 }
42 
43 
45  MuonFeature_p2* persObj,
46  MsgStream &log)
47 {
48  log << MSG::DEBUG << "MuonFeatureCnv_p2::transToPers called " << endmsg;
49 
50  persObj->m_algoId = transObj->algoId();
51  persObj->m_RoIId = transObj->roiId() ;
52  persObj->m_saddress = transObj->saddress() ;
53  persObj->m_pt = transObj->pt() ;
54  persObj->m_radius = transObj->radius() ;
55  persObj->m_eta = transObj->eta() ;
56  persObj->m_phi = transObj->phi() ;
57  persObj->m_dir_phi = transObj->dir_phi() ;
58  persObj->m_zeta = transObj->zeta() ;
59  persObj->m_dir_zeta = transObj->dir_zeta() ;
60  persObj->m_beta = transObj->beta() ;
61  persObj->m_sp1_r = transObj->sp1_r() ;
62  persObj->m_sp1_z = transObj->sp1_z() ;
63  persObj->m_sp1_slope = transObj->sp1_slope() ;
64  persObj->m_sp2_r = transObj->sp2_r() ;
65  persObj->m_sp2_z = transObj->sp2_z() ;
66  persObj->m_sp2_slope = transObj->sp2_slope() ;
67  persObj->m_sp3_r = transObj->sp3_r() ;
68  persObj->m_sp3_z = transObj->sp3_z() ;
69  persObj->m_sp3_slope = transObj->sp3_slope() ;
70  persObj->m_br_radius = transObj->br_radius() ;
71  persObj->m_br_sagitta = transObj->br_sagitta();
72  persObj->m_ec_alpha = transObj->ec_alpha() ;
73  persObj->m_ec_beta = transObj->ec_beta() ;
74  persObj->m_dq_var1 = transObj->dq_var1() ;
75  persObj->m_dq_var2 = transObj->dq_var2() ;
76 }
MuonFeature::dq_var2
double dq_var2(void) const
Definition: MuonFeature.h:70
MuonFeature_p2::m_sp1_slope
float m_sp1_slope
Definition: MuonFeature_p2.h:61
MuonFeature::dq_var1
double dq_var1(void) const
Definition: MuonFeature.h:69
MuonFeature::sp3_slope
float sp3_slope(void) const
Definition: MuonFeature.h:64
MuonFeature_p2::m_radius
float m_radius
Definition: MuonFeature_p2.h:52
MuonFeature_p2::m_sp3_r
float m_sp3_r
Definition: MuonFeature_p2.h:65
MuonFeature::radius
float radius(void) const
Definition: MuonFeature.h:49
MuonFeature_p2::m_sp1_r
float m_sp1_r
Definition: MuonFeature_p2.h:59
MuonFeature_p2::m_br_radius
float m_br_radius
Definition: MuonFeature_p2.h:68
MuonFeature_p2::m_sp2_r
float m_sp2_r
Definition: MuonFeature_p2.h:62
MuonFeature_p2::m_sp3_slope
float m_sp3_slope
Definition: MuonFeature_p2.h:67
MuonFeature::dir_phi
float dir_phi(void) const
Definition: MuonFeature.h:52
MuonFeature::sp1_r
float sp1_r(void) const
Definition: MuonFeature.h:56
MuonFeature_p2::m_zeta
float m_zeta
Definition: MuonFeature_p2.h:56
MuonFeature::eta
float eta(void) const
Definition: MuonFeature.h:50
MuonFeature::ec_alpha
float ec_alpha(void) const
Definition: MuonFeature.h:67
MuonFeature
Athena::TPCnvVers::Old Athena::TPCnvVers::Old Athena::TPCnvVers::Old Athena::TPCnvVers::Current MuonFeature
Definition: TrigMuonEventTPCnv.cxx:174
MuonFeature_p2::m_dq_var1
double m_dq_var1
Definition: MuonFeature_p2.h:72
MuonFeatureCnv_p2::persToTrans
virtual void persToTrans(const MuonFeature_p2 *persObj, MuonFeature *transObj, MsgStream &log)
Definition: MuonFeatureCnv_p2.cxx:9
MuonFeature_p2::m_sp2_slope
float m_sp2_slope
Definition: MuonFeature_p2.h:64
MuonFeature_p2::m_dir_zeta
float m_dir_zeta
Definition: MuonFeature_p2.h:57
MuonFeature::phi
float phi(void) const
Definition: MuonFeature.h:51
MuonFeature_p2::m_sp2_z
float m_sp2_z
Definition: MuonFeature_p2.h:63
MuonFeature_p2::m_sp1_z
float m_sp1_z
Definition: MuonFeature_p2.h:60
MuonFeature_p2::m_dir_phi
float m_dir_phi
Definition: MuonFeature_p2.h:55
MuonFeature.h
MuonFeatureCnv_p2.h
MuonFeature_p2::m_ec_alpha
float m_ec_alpha
Definition: MuonFeature_p2.h:70
MuonFeature::set_algoId
void set_algoId(AlgoId algoId)
Definition: MuonFeature.h:72
MuonFeature_p2.h
MuonFeature::set_roiId
void set_roiId(int roiId)
Definition: MuonFeature.h:73
MuonFeature::br_radius
float br_radius(void) const
Definition: MuonFeature.h:65
MuonFeature::dir_zeta
float dir_zeta(void) const
Definition: MuonFeature.h:54
MuonFeature_p2
Definition: MuonFeature_p2.h:26
MuonFeatureCnv_p2::transToPers
virtual void transToPers(const MuonFeature *transObj, MuonFeature_p2 *persObj, MsgStream &log)
Definition: MuonFeatureCnv_p2.cxx:44
MuonFeature::saddress
int saddress(void) const
Definition: MuonFeature.h:47
MuonFeature::roiId
int roiId(void) const
Definition: MuonFeature.h:46
MuonFeature_p2::m_br_sagitta
float m_br_sagitta
Definition: MuonFeature_p2.h:69
MuonFeature_p2::m_pt
float m_pt
Definition: MuonFeature_p2.h:51
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
MuonFeature::br_sagitta
float br_sagitta(void) const
Definition: MuonFeature.h:66
MuonFeature_p2::m_RoIId
int m_RoIId
Definition: MuonFeature_p2.h:49
MuonFeature::sp3_z
float sp3_z(void) const
Definition: MuonFeature.h:63
MuonFeature_p2::m_phi
float m_phi
Definition: MuonFeature_p2.h:54
MuonFeature_p2::m_saddress
int m_saddress
Definition: MuonFeature_p2.h:50
MuonFeature::algoId
AlgoId algoId(void) const
Definition: MuonFeature.h:45
MuonFeature_p2::m_eta
float m_eta
Definition: MuonFeature_p2.h:53
MuonFeature_p2::m_beta
float m_beta
Definition: MuonFeature_p2.h:58
MuonFeature::sp3_r
float sp3_r(void) const
Definition: MuonFeature.h:62
MuonFeature_p2::m_ec_beta
float m_ec_beta
Definition: MuonFeature_p2.h:71
MuonFeature
Definition: MuonFeature.h:21
MuonFeature::sp1_z
float sp1_z(void) const
Definition: MuonFeature.h:57
MuonFeature_p2::m_algoId
MuonFeature::AlgoId m_algoId
Definition: MuonFeature_p2.h:48
MuonFeature_p2::m_sp3_z
float m_sp3_z
Definition: MuonFeature_p2.h:66
MuonFeature::sp2_z
float sp2_z(void) const
Definition: MuonFeature.h:60
MuonFeature::sp1_slope
float sp1_slope(void) const
Definition: MuonFeature.h:58
MuonFeature::sp2_slope
float sp2_slope(void) const
Definition: MuonFeature.h:61
MuonFeature_p2::m_dq_var2
double m_dq_var2
Definition: MuonFeature_p2.h:73
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
MuonFeature::ec_beta
float ec_beta(void) const
Definition: MuonFeature.h:68
MuonFeature::pt
float pt(void) const
Definition: MuonFeature.h:48
MuonFeature::beta
float beta(void) const
Definition: MuonFeature.h:55
MuonFeature::sp2_r
float sp2_r(void) const
Definition: MuonFeature.h:59
MuonFeature::zeta
float zeta(void) const
Definition: MuonFeature.h:53