#include <DataFormats/TrackReco/interface/TrackExtraBase.h>
Public Member Functions | |
void | add (const TrackingRecHitRef &ref) |
add a reference to a RecHit More... | |
unsigned int | firstRecHit () const |
TrackingRecHitRef | recHit (unsigned int i) const |
get i-th recHit More... | |
TrackingRecHitRef | recHitRef (unsigned int i) const |
get a ref to i-th recHit More... | |
trackingRecHit_iterator | recHitsBegin () const |
first iterator over RecHits More... | |
trackingRecHit_iterator | recHitsEnd () const |
last iterator over RecHits More... | |
TrackingRecHitCollection const & | recHitsProduct () const |
unsigned int | recHitsSize () const |
number of RecHits More... | |
void | setHits (TrackingRecHitRefProd const &prod, unsigned firstH, unsigned int nH) |
TrackExtraBase () | |
default constructor More... | |
Private Attributes | |
unsigned int | m_firstHit |
edm::RefCore | m_hitCollection |
unsigned int | m_nHits |
Basic extension of a reconstructed Track. Contains references to the hits assigned to the track.
If you access the hits, check if they are valid or not. (Invalid hits are dummy hits created in layers crossed by the track, where no physical hit was found).
Definition at line 21 of file TrackExtraBase.h.
|
inline |
|
inline |
add a reference to a RecHit
Definition at line 34 of file TrackExtraBase.h.
References edm::Ref< C, T, F >::key(), m_firstHit, m_hitCollection, m_nHits, edm::RefCore::pushBackItem(), and edm::Ref< C, T, F >::refCore().
Referenced by MuonErrorMatrixAdjuster::attachRecHits(), helper::GsfElectronCollectionStoreManager::cloneAndStore(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), MuonTrackProducer::produce(), PixelTracksProducer::produce(), FastTrackMerger::produce(), SimpleTrackListMerger::produce(), CosmicTrackSelector::produce(), FakeTrackProducer< T >::produce(), DuplicateListMerger::produce(), TrackMultiSelector::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), GsfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), counter.Counter::register(), AnalyticalTrackSelector::run(), and PixelTrackProducer::store().
|
inline |
Definition at line 44 of file TrackExtraBase.h.
References m_firstHit.
Referenced by recHitsBegin().
|
inline |
get i-th recHit
Definition at line 70 of file TrackExtraBase.h.
References recHitRef().
|
inline |
get a ref to i-th recHit
Definition at line 65 of file TrackExtraBase.h.
References m_firstHit, and m_hitCollection.
Referenced by recHit().
|
inline |
first iterator over RecHits
Definition at line 55 of file TrackExtraBase.h.
References edm::OwnVector< T, P >::data(), firstRecHit(), and recHitsProduct().
Referenced by recHitsEnd().
|
inline |
last iterator over RecHits
Definition at line 60 of file TrackExtraBase.h.
References recHitsBegin(), and recHitsSize().
|
inline |
Definition at line 74 of file TrackExtraBase.h.
References m_hitCollection.
Referenced by recHitsBegin().
|
inline |
number of RecHits
Definition at line 49 of file TrackExtraBase.h.
References m_nHits.
Referenced by recHitsEnd().
|
inline |
Definition at line 28 of file TrackExtraBase.h.
References m_firstHit, m_hitCollection, m_nHits, edm::RefCore::pushBackItem(), and edm::RefProd< T >::refCore().
Referenced by TrackListMerger::produce(), DuplicateListMerger::produce(), and KfTrackProducerBase::putInEvt().
|
private |
Definition at line 82 of file TrackExtraBase.h.
Referenced by add(), firstRecHit(), recHitRef(), and setHits().
|
private |
Definition at line 81 of file TrackExtraBase.h.
Referenced by add(), recHitRef(), recHitsProduct(), and setHits().
|
private |
Definition at line 83 of file TrackExtraBase.h.
Referenced by add(), recHitsSize(), and setHits().