ATLAS Offline Software
TrackSummaryCnv_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
7 
9  Trk::TrackSummary *transObj, MsgStream &log )
10 {
11  transObj->m_information = persObj->m_information;
12  if (transObj->m_information.size() < Trk::numberOfTrackSummaryTypes)
15  if (persObj->m_information.size() <= Trk::numberOfInnermostPixelLayerHits) {
18  }
19 
23  }
24 
25  transObj->m_idHitPattern = persObj->m_idHitPattern;
27 }
28 
30  Trk::TrackSummary_p1 *persObj, MsgStream & log )
31 {
32  persObj->m_information = transObj->m_information;
33  persObj->m_idHitPattern = transObj->m_idHitPattern;
35 }
Trk::TrackSummary_p1::m_information
std::vector< int > m_information
Definition: TrackSummary_p1.h:24
Trk::numberOfInnermostPixelLayerHits
@ numberOfInnermostPixelLayerHits
these are the hits in the 1st pixel layer
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:53
TrackSummaryCnv_p1.h
Trk::TrackSummary_p1::m_idHitPattern
unsigned long m_idHitPattern
contains the 'hit pattern'
Definition: TrackSummary_p1.h:27
Trk::TrackSummary::m_idHitPattern
unsigned long m_idHitPattern
contains the 'hit pattern'
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:367
Trk::numberOfTrackSummaryTypes
@ numberOfTrackSummaryTypes
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:189
Trk::numberOfBLayerHits
@ numberOfBLayerHits
these are the hits in the 0th pixel layer?
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:51
TrackSummaryCnv_p1::m_muonSummaryCnv
MuonTrackSummaryCnv_p1 * m_muonSummaryCnv
Definition: TrackSummaryCnv_p1.h:35
TrackSummary.h
TrackSummaryCnv_p1::transToPers
virtual void transToPers(const Trk ::TrackSummary *transObj, Trk ::TrackSummary_p1 *persObj, MsgStream &log)
Definition: TrackSummaryCnv_p1.cxx:29
Trk::legacy_numberOfInnermostPixelLayerSharedHits
@ legacy_numberOfInnermostPixelLayerSharedHits
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:175
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
Trk::TrackSummary::SummaryTypeNotSet
static const int SummaryTypeNotSet
Value set in the cxx file to -1.
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:297
Trk::TrackSummary
A summary of the information contained by a track.
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:287
Trk::TrackSummary::m_information
std::vector< int > m_information
vector containing the persistent summary information.
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:364
Trk::TrackSummary_p1::m_muonTrackSummary
TPObjRef m_muonTrackSummary
Definition: TrackSummary_p1.h:35
Trk::legacy_numberOfBLayerSharedHits
@ legacy_numberOfBLayerSharedHits
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:170
TrackSummaryCnv_p1::persToTrans
virtual void persToTrans(const Trk ::TrackSummary_p1 *persObj, Trk ::TrackSummary *transObj, MsgStream &log)
Definition: TrackSummaryCnv_p1.cxx:8
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
Trk::TrackSummary_p1
Definition: TrackSummary_p1.h:20
Trk::TrackSummary::m_muonTrackSummary
std::unique_ptr< MuonTrackSummary > m_muonTrackSummary
pointer to the MuonTrackSummary
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:370
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