#include <DataFormats/TrackReco/interface/TrackExtraBase.h>
Public Member Functions | |
void | add (const TrackingRecHitRef &r) |
add a reference to a RecHit | |
TrackingRecHitRef | recHit (size_t i) const |
get i-th recHit | |
TrackingRecHitRefVector | recHits () const |
trackingRecHit_iterator | recHitsBegin () const |
first iterator over RecHits | |
trackingRecHit_iterator | recHitsEnd () const |
last iterator over RecHits | |
size_t | recHitsSize () const |
number of RecHits | |
TrackExtraBase () | |
default constructor | |
Private Attributes | |
TrackingRecHitRefVector | recHits_ |
references to the hit assigned to the track. |
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 19 of file TrackExtraBase.h.
reco::TrackExtraBase::TrackExtraBase | ( | ) | [inline] |
void reco::TrackExtraBase::add | ( | const TrackingRecHitRef & | r | ) | [inline] |
add a reference to a RecHit
Definition at line 24 of file TrackExtraBase.h.
References edm::RefVector< C, T, F >::push_back(), and recHits_.
Referenced by MuonErrorMatrixAdjuster::attachRecHits(), helper::GsfElectronCollectionStoreManager::cloneAndStore(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), cms::TrackListMerger::produce(), cms::SimpleTrackListMerger::produce(), reco::modules::CosmicTrackSelector::produce(), FastTrackMerger::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::AnalyticalTrackSelector::produce(), PixelTracksProducer::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), MuonTrackProducer::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), GsfTrackProducerBase::putInEvt(), KfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), and PixelTrackProducer::store().
TrackingRecHitRef reco::TrackExtraBase::recHit | ( | size_t | i | ) | const [inline] |
TrackingRecHitRefVector reco::TrackExtraBase::recHits | ( | void | ) | const [inline] |
trackingRecHit_iterator reco::TrackExtraBase::recHitsBegin | ( | ) | const [inline] |
first iterator over RecHits
Definition at line 26 of file TrackExtraBase.h.
References edm::RefVector< C, T, F >::begin(), and recHits_.
trackingRecHit_iterator reco::TrackExtraBase::recHitsEnd | ( | ) | const [inline] |
last iterator over RecHits
Definition at line 28 of file TrackExtraBase.h.
References edm::RefVector< C, T, F >::end(), and recHits_.
size_t reco::TrackExtraBase::recHitsSize | ( | ) | const [inline] |
number of RecHits
Definition at line 30 of file TrackExtraBase.h.
References recHits_, and edm::RefVector< C, T, F >::size().
references to the hit assigned to the track.
Definition at line 37 of file TrackExtraBase.h.
Referenced by add(), recHit(), recHits(), recHitsBegin(), recHitsEnd(), and recHitsSize().