ATLAS Offline Software
TrigMuonEFTrackCnv_p5.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 
11  TrigMuonEFTrack* transObj,
12  MsgStream &log)
13 {
14  log << MSG::DEBUG << "TrigMuonEFTrackCnv_p5::persToTrans called " << endmsg;
15 
16  transObj->setCharge (persObj->m_charge);
17  transObj->setD0 (persObj->m_d0);
18  transObj->setZ0 (persObj->m_z0);
19  transObj->setChi2 (persObj->m_chi2);
20  transObj->setChi2prob (persObj->m_chi2prob);
21  transObj->setPosX (persObj->m_posx);
22  transObj->setPosY (persObj->m_posy);
23  transObj->setPosZ (persObj->m_posz);
24  transObj->setNCscHitsEta (persObj->m_nCscHitsEta);
25  transObj->setNTgcHitsEta (persObj->m_nTgcHitsEta);
26  transObj->setNRpcHitsEta (persObj->m_nRpcHitsEta);
27  transObj->setNCscHitsPhi (persObj->m_nCscHitsPhi);
28  transObj->setNTgcHitsPhi (persObj->m_nTgcHitsPhi);
29  transObj->setNRpcHitsPhi (persObj->m_nRpcHitsPhi);
30  transObj->setNMdtHits (persObj->m_nMdtHits);
31 
33 }
34 
35 
37  TrigMuonEFTrack_p5* persObj,
38  MsgStream &log)
39 {
40  log << MSG::DEBUG << "TrigMuonEFTrackCnv_p5::transToPers called " << endmsg;
41 
42  persObj->m_charge = transObj->charge();
43  persObj->m_d0 = transObj->d0();
44  persObj->m_z0 = transObj->z0();
45  persObj->m_chi2 = transObj->chi2();
46  persObj->m_chi2prob = transObj->chi2prob();
47  persObj->m_posx = transObj->posX();
48  persObj->m_posy = transObj->posY();
49  persObj->m_posz = transObj->posZ();
50  persObj->m_nCscHitsEta = transObj->NCscHitsEta();
51  persObj->m_nTgcHitsEta = transObj->NTgcHitsEta();
52  persObj->m_nRpcHitsEta = transObj->NRpcHitsEta();
53  persObj->m_nCscHitsPhi = transObj->NCscHitsPhi();
54  persObj->m_nTgcHitsPhi = transObj->NTgcHitsPhi();
55  persObj->m_nRpcHitsPhi = transObj->NRpcHitsPhi();
56  persObj->m_nMdtHits = transObj->NMdtHits();
57 
58  persObj->m_P4IPtCotThPhiM = baseToPersistent( &m_P4IPtCotThPhiMCnv, transObj, log );
59 }
TrigMuonEFTrack::NRpcHitsEta
unsigned short int NRpcHitsEta() const
Definition: TrigMuonEFTrack.h:159
TrigMuonEFTrack::setPosX
void setPosX(double posx)
Definition: TrigMuonEFTrack.h:103
TrigMuonEFTrack::posX
double posX() const
Definition: TrigMuonEFTrack.h:98
TrigMuonEFTrack::NMdtHits
unsigned short int NMdtHits() const
Definition: TrigMuonEFTrack.h:190
TrigMuonEFTrack::charge
double charge() const
Definition: TrigMuonEFTrack.h:52
TrigMuonEFTrack_p5::m_P4IPtCotThPhiM
TPObjRef m_P4IPtCotThPhiM
Definition: TrigMuonEFTrack_p5.h:67
TrigMuonEFTrack_p5::m_charge
float m_charge
Definition: TrigMuonEFTrack_p5.h:52
TrigMuonEFTrack_p5::m_nTgcHitsPhi
unsigned short int m_nTgcHitsPhi
Definition: TrigMuonEFTrack_p5.h:61
TrigMuonEFTrack
Definition: TrigMuonEFTrack.h:27
TrigMuonEFTrack::setNRpcHitsPhi
void setNRpcHitsPhi(unsigned short int nRpcHitsPhi)
Definition: TrigMuonEFTrack.h:134
TrigMuonEFTrack::setNMdtHits
void setNMdtHits(unsigned short int nMdtHits)
Definition: TrigMuonEFTrack.h:195
TrigMuonEFTrackCnv_p5.h
TrigMuonEFTrack::d0
double d0() const
Definition: TrigMuonEFTrack.h:59
TrigMuonEFTrack::setNCscHitsPhi
void setNCscHitsPhi(unsigned short int nCscHitsPhi)
Definition: TrigMuonEFTrack.h:154
TrigMuonEFTrack.h
TrigMuonEFTrack_p5::m_chi2
float m_chi2
Definition: TrigMuonEFTrack_p5.h:55
TrigMuonEFTrack_p5::m_nRpcHitsPhi
unsigned short int m_nRpcHitsPhi
Definition: TrigMuonEFTrack_p5.h:60
TrigMuonEFTrack::setPosZ
void setPosZ(double posz)
Definition: TrigMuonEFTrack.h:123
TrigMuonEFTrack::setNRpcHitsEta
void setNRpcHitsEta(unsigned short int nRpcHitsEta)
Definition: TrigMuonEFTrack.h:164
TrigMuonEFTrack_p5::m_posz
float m_posz
Definition: TrigMuonEFTrack_p5.h:59
ITPConverterFor::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
TrigMuonEFTrackCnv_p5::transToPers
virtual void transToPers(const TrigMuonEFTrack *transObj, TrigMuonEFTrack_p5 *persObj, MsgStream &log)
Definition: TrigMuonEFTrackCnv_p5.cxx:36
TrigMuonEFTrack_p5::m_posx
float m_posx
Definition: TrigMuonEFTrack_p5.h:57
TrigMuonEFTrack_p5::m_z0
float m_z0
Definition: TrigMuonEFTrack_p5.h:54
TrigMuonEFTrack::posY
double posY() const
Definition: TrigMuonEFTrack.h:108
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
TrigMuonEFTrack::NRpcHitsPhi
unsigned short int NRpcHitsPhi() const
Definition: TrigMuonEFTrack.h:129
TrigMuonEFTrack::NTgcHitsEta
unsigned short int NTgcHitsEta() const
Definition: TrigMuonEFTrack.h:169
TrigMuonEFTrack::setChi2prob
void setChi2prob(double chi2prob)
Definition: TrigMuonEFTrack.h:94
TrigMuonEFTrack::setChi2
void setChi2(double chi2)
Definition: TrigMuonEFTrack.h:84
TrigMuonEFTrack::setD0
void setD0(double d0)
Definition: TrigMuonEFTrack.h:64
TrigMuonEFTrack::NTgcHitsPhi
unsigned short int NTgcHitsPhi() const
Definition: TrigMuonEFTrack.h:139
TrigMuonEFTrack_p5.h
ITPConverterFor::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
TrigMuonEFTrack::NCscHitsEta
unsigned short int NCscHitsEta() const
Definition: TrigMuonEFTrack.h:179
TrigMuonEFTrack::posZ
double posZ() const
Definition: TrigMuonEFTrack.h:118
TrigMuonEFTrack::chi2
double chi2() const
Definition: TrigMuonEFTrack.h:79
TrigMuonEFTrack::chi2prob
double chi2prob() const
Definition: TrigMuonEFTrack.h:89
TrigMuonEFTrackCnv_p5::m_P4IPtCotThPhiMCnv
P4IPtCotThPhiMCnv_p1 * m_P4IPtCotThPhiMCnv
Definition: TrigMuonEFTrackCnv_p5.h:39
TrigMuonEFTrack::setPosY
void setPosY(double posy)
Definition: TrigMuonEFTrack.h:113
TrigMuonEFTrack_p5::m_d0
float m_d0
Definition: TrigMuonEFTrack_p5.h:53
TrigMuonEFTrackCnv_p5::persToTrans
virtual void persToTrans(const TrigMuonEFTrack_p5 *persObj, TrigMuonEFTrack *transObj, MsgStream &log)
Definition: TrigMuonEFTrackCnv_p5.cxx:10
TrigMuonEFTrack::setZ0
void setZ0(double z0)
Definition: TrigMuonEFTrack.h:74
TrigMuonEFTrack::z0
double z0() const
Definition: TrigMuonEFTrack.h:69
TrigMuonEFTrack_p5::m_posy
float m_posy
Definition: TrigMuonEFTrack_p5.h:58
DEBUG
#define DEBUG
Definition: page_access.h:11
TrigMuonEFTrack_p5::m_nTgcHitsEta
unsigned short int m_nTgcHitsEta
Definition: TrigMuonEFTrack_p5.h:64
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TrigMuonEFTrack_p5::m_nRpcHitsEta
unsigned short int m_nRpcHitsEta
Definition: TrigMuonEFTrack_p5.h:63
TrigMuonEFTrack::setCharge
void setCharge(double theCharge)
Definition: TrigMuonEFTrack.h:54
TrigMuonEFTrack::setNCscHitsEta
void setNCscHitsEta(unsigned short int nCscHitsEta)
Definition: TrigMuonEFTrack.h:184
TrigMuonEFTrack::setNTgcHitsPhi
void setNTgcHitsPhi(unsigned short int nTgcHitsPhi)
Definition: TrigMuonEFTrack.h:144
TrigMuonEFTrack_p5::m_nCscHitsEta
unsigned short int m_nCscHitsEta
Definition: TrigMuonEFTrack_p5.h:65
TrigMuonEFTrack_p5
Definition: TrigMuonEFTrack_p5.h:26
TrigMuonEFTrack_p5::m_nCscHitsPhi
unsigned short int m_nCscHitsPhi
Definition: TrigMuonEFTrack_p5.h:62
TrigMuonEFTrack_p5::m_nMdtHits
unsigned short int m_nMdtHits
Definition: TrigMuonEFTrack_p5.h:66
TrigMuonEFTrack::NCscHitsPhi
unsigned short int NCscHitsPhi() const
Definition: TrigMuonEFTrack.h:149
TrigMuonEFTrack_p5::m_chi2prob
float m_chi2prob
Definition: TrigMuonEFTrack_p5.h:56
TrigMuonEFTrack::setNTgcHitsEta
void setNTgcHitsEta(unsigned short int nTgcHitsEta)
Definition: TrigMuonEFTrack.h:174