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