ATLAS Offline Software
TrigMuonEFTrackCnv_p3.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_p3::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 
32 }
33 
34 
36  TrigMuonEFTrack_p3* /*persObj*/,
37  MsgStream &log)
38 {
39  log << MSG::DEBUG << "TrigMuonEFTrackCnv_p3::transToPers called " << endmsg;
40 
41 // persObj->m_charge = transObj->m_charge;
42 // persObj->m_d0 = transObj->m_d0;
43 // persObj->m_z0 = transObj->m_z0;
44 // persObj->m_chi2 = transObj->m_chi2;
45 // persObj->m_chi2prob = transObj->m_chi2prob;
46 // persObj->m_posx = transObj->m_posx;
47 // persObj->m_posy = transObj->m_posy;
48 // persObj->m_posz = transObj->m_posz;
49 // persObj->m_nCscHitsEta = transObj->m_nCscHitsEta;
50 // persObj->m_nTgcHitsEta = transObj->m_nTgcHitsEta;
51 // persObj->m_nRpcHitsEta = transObj->m_nRpcHitsEta;
52 // persObj->m_nCscHitsPhi = transObj->m_nCscHitsPhi;
53 // persObj->m_nTgcHitsPhi = transObj->m_nTgcHitsPhi;
54 // persObj->m_nRpcHitsPhi = transObj->m_nRpcHitsPhi;
55 
56 // persObj->m_P4IPtCotThPhiM = baseToPersistent( &m_P4IPtCotThPhiMCnv, transObj, log );
57 }
TrigMuonEFTrack_p3::m_nRpcHitsPhi
unsigned short int m_nRpcHitsPhi
Definition: TrigMuonEFTrack_p3.h:55
TrigMuonEFTrack::setPosX
void setPosX(double posx)
Definition: TrigMuonEFTrack.h:103
TrigMuonEFTrack_p3::m_posy
double m_posy
Definition: TrigMuonEFTrack_p3.h:53
TrigMuonEFTrack_p3::m_nRpcHitsEta
unsigned short int m_nRpcHitsEta
Definition: TrigMuonEFTrack_p3.h:58
TrigMuonEFTrack_p3::m_posx
double m_posx
Definition: TrigMuonEFTrack_p3.h:52
TrigMuonEFTrack
Definition: TrigMuonEFTrack.h:27
TrigMuonEFTrackCnv_p3::transToPers
virtual void transToPers(const TrigMuonEFTrack *transObj, TrigMuonEFTrack_p3 *persObj, MsgStream &log)
Definition: TrigMuonEFTrackCnv_p3.cxx:35
TrigMuonEFTrack::setNRpcHitsPhi
void setNRpcHitsPhi(unsigned short int nRpcHitsPhi)
Definition: TrigMuonEFTrack.h:134
TrigMuonEFTrackCnv_p3::m_P4IPtCotThPhiMCnv
P4IPtCotThPhiMCnv_p1 * m_P4IPtCotThPhiMCnv
Definition: TrigMuonEFTrackCnv_p3.h:39
TrigMuonEFTrack_p3::m_nCscHitsPhi
unsigned short int m_nCscHitsPhi
Definition: TrigMuonEFTrack_p3.h:57
TrigMuonEFTrack_p3::m_chi2
double m_chi2
Definition: TrigMuonEFTrack_p3.h:50
TrigMuonEFTrack::setNCscHitsPhi
void setNCscHitsPhi(unsigned short int nCscHitsPhi)
Definition: TrigMuonEFTrack.h:154
TrigMuonEFTrack.h
TrigMuonEFTrack_p3::m_P4IPtCotThPhiM
TPObjRef m_P4IPtCotThPhiM
Definition: TrigMuonEFTrack_p3.h:61
TrigMuonEFTrack_p3::m_chi2prob
double m_chi2prob
Definition: TrigMuonEFTrack_p3.h:51
TrigMuonEFTrack::setPosZ
void setPosZ(double posz)
Definition: TrigMuonEFTrack.h:123
TrigMuonEFTrack::setNRpcHitsEta
void setNRpcHitsEta(unsigned short int nRpcHitsEta)
Definition: TrigMuonEFTrack.h:164
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
TrigMuonEFTrack_p3
Definition: TrigMuonEFTrack_p3.h:26
TrigMuonEFTrack_p3::m_nTgcHitsPhi
unsigned short int m_nTgcHitsPhi
Definition: TrigMuonEFTrack_p3.h:56
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
TrigMuonEFTrack::setChi2prob
void setChi2prob(double chi2prob)
Definition: TrigMuonEFTrack.h:94
TrigMuonEFTrack::setChi2
void setChi2(double chi2)
Definition: TrigMuonEFTrack.h:84
TrigMuonEFTrack_p3::m_charge
double m_charge
Definition: TrigMuonEFTrack_p3.h:47
TrigMuonEFTrack_p3::m_d0
double m_d0
Definition: TrigMuonEFTrack_p3.h:48
TrigMuonEFTrackCnv_p3::persToTrans
virtual void persToTrans(const TrigMuonEFTrack_p3 *persObj, TrigMuonEFTrack *transObj, MsgStream &log)
Definition: TrigMuonEFTrackCnv_p3.cxx:10
TrigMuonEFTrack_p3::m_posz
double m_posz
Definition: TrigMuonEFTrack_p3.h:54
TrigMuonEFTrack::setD0
void setD0(double d0)
Definition: TrigMuonEFTrack.h:64
TrigMuonEFTrack_p3.h
TrigMuonEFTrack::setPosY
void setPosY(double posy)
Definition: TrigMuonEFTrack.h:113
TrigMuonEFTrack::setZ0
void setZ0(double z0)
Definition: TrigMuonEFTrack.h:74
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TrigMuonEFTrack::setCharge
void setCharge(double theCharge)
Definition: TrigMuonEFTrack.h:54
TrigMuonEFTrack::setNCscHitsEta
void setNCscHitsEta(unsigned short int nCscHitsEta)
Definition: TrigMuonEFTrack.h:184
TrigMuonEFTrack_p3::m_nCscHitsEta
unsigned short int m_nCscHitsEta
Definition: TrigMuonEFTrack_p3.h:60
TrigMuonEFTrack::setNTgcHitsPhi
void setNTgcHitsPhi(unsigned short int nTgcHitsPhi)
Definition: TrigMuonEFTrack.h:144
TrigMuonEFTrackCnv_p3.h
TrigMuonEFTrack_p3::m_z0
double m_z0
Definition: TrigMuonEFTrack_p3.h:49
TrigMuonEFTrack_p3::m_nTgcHitsEta
unsigned short int m_nTgcHitsEta
Definition: TrigMuonEFTrack_p3.h:59
TrigMuonEFTrack::setNTgcHitsEta
void setNTgcHitsEta(unsigned short int nTgcHitsEta)
Definition: TrigMuonEFTrack.h:174