ATLAS Offline Software
TrigMuonEFInfoTrackCnv_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
9 
10 
12 
13  std::unique_ptr<TrigMuonEFTrack> spectrometerTrack
15  std::unique_ptr<TrigMuonEFTrack> extrapolatedTrack
17  std::unique_ptr<TrigMuonEFCbTrack> combinedTrack
19 
20  transObj->setSpectrometerTrack (std::move (spectrometerTrack));
21  transObj->setExtrapolatedTrack (std::move (extrapolatedTrack));
22  transObj->setCombinedTrack (std::move (combinedTrack));
23  transObj->setMuonType (persObj->m_muonType);
24 }
25 
26 
28  // std::cout<<"--- InfoTrackCnv_p1 writing"<<std::endl;
31  // std::cout<<"---InfoTrackCnv_p1 before cb "<<std::endl;
32  persObj->m_combinedTrack = toPersistent( &m_cbTrackCnv, transObj->CombinedTrack(), log);
33  // std::cout<<"---InfoTrackCnv_p1 after cb "<<std::endl;
34  persObj->m_muonType = transObj->MuonType();
35 
36 }
TrigMuonEFInfoTrack_p1::m_extrapolatedTrack
TPObjRef m_extrapolatedTrack
Definition: TrigMuonEFInfoTrack_p1.h:46
TrigMuonEFInfoTrack_p1
Definition: TrigMuonEFInfoTrack_p1.h:25
TrigMuonEFInfoTrack::setSpectrometerTrack
void setSpectrometerTrack(TrigMuonEFTrack *track)
Definition: TrigMuonEFInfoTrack.cxx:68
TrigMuonEFCbTrack.h
TrigMuonEFInfoTrack::setCombinedTrack
void setCombinedTrack(TrigMuonEFCbTrack *track)
Definition: TrigMuonEFInfoTrack.cxx:78
TrigMuonEFInfoTrack_p1::m_muonType
unsigned short int m_muonType
Definition: TrigMuonEFInfoTrack_p1.h:44
TrigMuonEFInfoTrack::setExtrapolatedTrack
void setExtrapolatedTrack(TrigMuonEFTrack *track)
Definition: TrigMuonEFInfoTrack.cxx:73
TrigMuonEFInfoTrackCnv_p1::persToTrans
virtual void persToTrans(const TrigMuonEFInfoTrack_p1 *persObj, TrigMuonEFInfoTrack *transObj, MsgStream &log)
Definition: TrigMuonEFInfoTrackCnv_p1.cxx:11
TrigMuonEFInfoTrackCnv_p1::m_trackCnv
ITPConverterFor< TrigMuonEFTrack > * m_trackCnv
Definition: TrigMuonEFInfoTrackCnv_p1.h:44
TrigMuonEFInfoTrack.h
Trk::combinedTrack
void combinedTrack(long int ICH, double *pv0, double *covi, double BMAG, double *par, double *covo)
Definition: XYZtrp.cxx:113
TrigMuonEFInfoTrackCnv_p1::m_cbTrackCnv
ITPConverterFor< TrigMuonEFCbTrack > * m_cbTrackCnv
Definition: TrigMuonEFInfoTrackCnv_p1.h:45
TrigMuonEFInfoTrack::CombinedTrack
TrigMuonEFCbTrack * CombinedTrack()
Definition: TrigMuonEFInfoTrack.h:52
TrigMuonEFInfoTrack::SpectrometerTrack
TrigMuonEFTrack * SpectrometerTrack()
Definition: TrigMuonEFInfoTrack.h:50
TrigMuonEFInfoTrack_p1::m_combinedTrack
TPObjRef m_combinedTrack
Definition: TrigMuonEFInfoTrack_p1.h:47
TrigMuonEFInfoTrackCnv_p1.h
TrigMuonEFInfoTrack::setMuonType
void setMuonType(unsigned short int muonType)
Definition: TrigMuonEFInfoTrack.h:63
TrigMuonEFInfoTrack::ExtrapolatedTrack
TrigMuonEFTrack * ExtrapolatedTrack()
Definition: TrigMuonEFInfoTrack.h:51
ITPConverterFor::toPersistent
TPObjRef toPersistent(CNV **cnv, const typename CNV::TransBase_t *transObj, MsgStream &log) const
Persistify an object and store the persistent represenation in the storage vector of the top-level pe...
Definition: TPConverter.h:119
TrigMuonEFInfoTrack::MuonType
unsigned short int MuonType() const
Definition: TrigMuonEFInfoTrack.h:58
TrigMuonEFInfoTrackCnv_p1::transToPers
virtual void transToPers(const TrigMuonEFInfoTrack *transObj, TrigMuonEFInfoTrack_p1 *persObj, MsgStream &log)
Definition: TrigMuonEFInfoTrackCnv_p1.cxx:27
TrigMuonEFInfoTrack
Definition: TrigMuonEFInfoTrack.h:22
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TrigMuonEFInfoTrack_p1.h
TrigMuonEFInfoTrack_p1::m_spectrometerTrack
TPObjRef m_spectrometerTrack
Definition: TrigMuonEFInfoTrack_p1.h:45
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