ATLAS Offline Software
TrigMuonEFInfoCnv_p2.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
9 
10 
12  TrigMuonEFInfo* transObj,
13  MsgStream &log)
14 {
15  log << MSG::DEBUG << "TrigMuonEFInfoCnv_p2::persToTrans called " << endmsg;
16 
17  std::unique_ptr<TrigMuonEFTrack> spectrometerTrack
19  std::unique_ptr<TrigMuonEFTrack> extrapolatedTrack
21  std::unique_ptr<TrigMuonEFCbTrack> combinedTrack
23 
24  *transObj = TrigMuonEFInfo (persObj->m_roi,
25  std::make_unique<TrigMuonEFInfoTrackContainer>(),
26  std::move (spectrometerTrack),
27  std::move (extrapolatedTrack),
28  std::move (combinedTrack));
29 }
30 
31 
33  TrigMuonEFInfo_p2* /*persObj*/,
34  MsgStream &log)
35 {
36  log << MSG::DEBUG << "TrigMuonEFInfoCnv_p2::transToPers called " << endmsg;
37 
38 // persObj->m_roi = transObj->m_roi;
39 // persObj->m_spectrometerTrack = toPersistent( &m_trackCnv, transObj->m_spectrometerTrack, log);
40 // persObj->m_extrapolatedTrack = toPersistent( &m_trackCnv, transObj->m_extrapolatedTrack, log);
41 // persObj->m_combinedTrack = toPersistent( &m_cbTrackCnv, transObj->m_combinedTrack, log);
42 
43 }
TrigMuonEFInfo_p2.h
TrigMuonEFInfo_p2::m_combinedTrack
TPObjRef m_combinedTrack
Definition: TrigMuonEFInfo_p2.h:49
TrigMuonEFInfoCnv_p2.h
TrigMuonEFInfoCnv_p2::m_cbTrackCnv
ITPConverterFor< TrigMuonEFCbTrack > * m_cbTrackCnv
Definition: TrigMuonEFInfoCnv_p2.h:49
TrigMuonEFInfoCnv_p2::persToTrans
virtual void persToTrans(const TrigMuonEFInfo_p2 *persObj, TrigMuonEFInfo *transObj, MsgStream &log)
Definition: TrigMuonEFInfoCnv_p2.cxx:11
TrigMuonEFInfoCnv_p2::transToPers
virtual void transToPers(const TrigMuonEFInfo *transObj, TrigMuonEFInfo_p2 *persObj, MsgStream &log)
Definition: TrigMuonEFInfoCnv_p2.cxx:32
Trk::combinedTrack
void combinedTrack(long int ICH, double *pv0, double *covi, double BMAG, double *par, double *covo)
Definition: XYZtrp.cxx:113
TrigMuonEFInfo_p2::m_extrapolatedTrack
TPObjRef m_extrapolatedTrack
Definition: TrigMuonEFInfo_p2.h:48
TrigMuonEFInfo.h
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
TrigMuonEFInfo_p2::m_spectrometerTrack
TPObjRef m_spectrometerTrack
Definition: TrigMuonEFInfo_p2.h:47
TrigMuonEFInfo_p2::m_roi
unsigned short int m_roi
Definition: TrigMuonEFInfo_p2.h:45
TrigMuonEFInfoCnv_p2::m_trackCnv
ITPConverterFor< TrigMuonEFTrack > * m_trackCnv
Definition: TrigMuonEFInfoCnv_p2.h:48
TrigMuonEFInfo_p2
Definition: TrigMuonEFInfo_p2.h:25
TrigMuonEFInfoTrackContainer.h
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TrigMuonEFInfo
Definition: TrigMuonEFInfo.h:24
ITPConverterFor::createTransFromPStore
CNV::Trans_t * createTransFromPStore(CNV **cnv, const TPObjRef &ref, MsgStream &log) const
Create transient representation of a persistent object, stored in the the top-level persistent object...
Definition: TPConverter.h:172