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