ATLAS Offline Software
Trigger
TrigEvent
TrigMuonEventTPCnv
src
TrigMuonEFCbTrackCnv_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
5
#include "
TrigMuonEvent/TrigMuonEFCbTrack.h
"
6
#include "
TrigMuonEventTPCnv/TrigMuonEFCbTrack_p2.h
"
7
#include "
TrigMuonEventTPCnv/TrigMuonEFCbTrackCnv_p2.h
"
8
9
10
void
TrigMuonEFCbTrackCnv_p2::persToTrans
(
const
TrigMuonEFCbTrack_p2
* persObj,
11
TrigMuonEFCbTrack
* transObj,
12
MsgStream &
log
)
13
{
14
log
<<
MSG::DEBUG
<<
"TrigMuonEFCbTrackCnv_p2::persToTrans called "
<<
endmsg
;
15
16
transObj->
setMatchChi2
(persObj->
m_matchChi2
);
17
transObj->
setNIdSctHits
(persObj->
m_nIdSctHits
);
18
transObj->
setNIdPixelHits
(persObj->
m_nIdPixelHits
);
19
transObj->
setNTrtHits
(persObj->
m_nTrtHits
);
20
21
fillTransFromPStore
( &
m_TrigMuonEFTrackCnv
, persObj->
m_TrigMuonEFTrack
, transObj,
log
);
22
}
23
24
25
void
TrigMuonEFCbTrackCnv_p2::transToPers
(
const
TrigMuonEFCbTrack
*
/*transObj*/
,
26
TrigMuonEFCbTrack_p2
*
/*persObj*/
,
27
MsgStream &
log
)
28
{
29
log
<<
MSG::DEBUG
<<
"TrigMuonEFCbTrackCnv_p2::transToPers called "
<<
endmsg
;
30
//
31
// persObj->m_matchChi2 = transObj->m_matchChi2;
32
// persObj->m_nIdSctHits = transObj->m_nIdSctHits;
33
// persObj->m_nIdPixelHits = transObj->m_nIdPixelHits;
34
// persObj->m_nTrtHits = transObj->m_nTrtHits;
35
//
36
// persObj->m_TrigMuonEFTrack = baseToPersistent( &m_TrigMuonEFTrackCnv, transObj, log );
37
}
TrigMuonEFCbTrackCnv_p2::transToPers
virtual void transToPers(const TrigMuonEFCbTrack *transObj, TrigMuonEFCbTrack_p2 *persObj, MsgStream &log)
Definition:
TrigMuonEFCbTrackCnv_p2.cxx:25
TrigMuonEFCbTrack_p2.h
TrigMuonEFCbTrack.h
TrigMuonEFCbTrack_p2::m_nIdSctHits
unsigned short int m_nIdSctHits
Definition:
TrigMuonEFCbTrack_p2.h:46
TrigMuonEFCbTrack_p2::m_matchChi2
double m_matchChi2
Definition:
TrigMuonEFCbTrack_p2.h:45
TrigMuonEFCbTrack_p2
Definition:
TrigMuonEFCbTrack_p2.h:25
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
TrigMuonEFCbTrack_p2::m_nIdPixelHits
unsigned short int m_nIdPixelHits
Definition:
TrigMuonEFCbTrack_p2.h:47
TrigMuonEFCbTrack::setNTrtHits
void setNTrtHits(unsigned short int nTrtHits)
Definition:
TrigMuonEFCbTrack.h:83
endmsg
#define endmsg
Definition:
AnalysisConfig_Ntuple.cxx:63
TrigMuonEFCbTrack::setNIdPixelHits
void setNIdPixelHits(unsigned short int nIdPixelHits)
Definition:
TrigMuonEFCbTrack.h:73
TrigMuonEFCbTrack
Definition:
TrigMuonEFCbTrack.h:28
TrigMuonEFCbTrack::setMatchChi2
void setMatchChi2(double theMatchChi2)
set data member
Definition:
TrigMuonEFCbTrack.cxx:81
TrigMuonEFCbTrackCnv_p2::m_TrigMuonEFTrackCnv
TrigMuonEFTrackCnv_p2 * m_TrigMuonEFTrackCnv
Definition:
TrigMuonEFCbTrackCnv_p2.h:43
TrigMuonEFCbTrack::setNIdSctHits
void setNIdSctHits(unsigned short int nIdSctHits)
Definition:
TrigMuonEFCbTrack.h:63
DEBUG
#define DEBUG
Definition:
page_access.h:11
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
TrigMuonEFCbTrackCnv_p2.h
TrigMuonEFCbTrack_p2::m_TrigMuonEFTrack
TPObjRef m_TrigMuonEFTrack
Definition:
TrigMuonEFCbTrack_p2.h:50
TrigMuonEFCbTrackCnv_p2::persToTrans
virtual void persToTrans(const TrigMuonEFCbTrack_p2 *persObj, TrigMuonEFCbTrack *transObj, MsgStream &log)
Definition:
TrigMuonEFCbTrackCnv_p2.cxx:10
TrigMuonEFCbTrack_p2::m_nTrtHits
unsigned short int m_nTrtHits
Definition:
TrigMuonEFCbTrack_p2.h:48
Generated on Thu Nov 7 2024 21:30:00 for ATLAS Offline Software by
1.8.18