#include <DataFormats/TrackReco/interface/TrackExtraBase.h>
Public Member Functions | |
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 |
Definition at line 33 of file TrackExtraBase.h.
References m_firstHit.
Referenced by recHitsBegin().
|
inline |
get i-th recHit
Definition at line 67 of file TrackExtraBase.h.
References recHitRef().
|
inline |
get a ref to i-th recHit
Definition at line 54 of file TrackExtraBase.h.
References reco_application_2006_simpleTBanalysis_cfg::hitCollection, i, edm::RefCore::id(), m_firstHit, m_hitCollection, and edm::RefCore::productPtr().
Referenced by recHit().
|
inline |
first iterator over RecHits
Definition at line 44 of file TrackExtraBase.h.
References edm::OwnVector< T, P >::data(), firstRecHit(), and recHitsProduct().
Referenced by recHitsEnd().
|
inline |
last iterator over RecHits
Definition at line 49 of file TrackExtraBase.h.
References recHitsBegin(), and recHitsSize().
|
inline |
Definition at line 71 of file TrackExtraBase.h.
References m_hitCollection.
Referenced by recHitsBegin().
|
inline |
number of RecHits
Definition at line 38 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 MuonErrorMatrixAdjuster::attachRecHits(), helper::GsfElectronCollectionStoreManager::cloneAndStore(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), MuonTrackProducer::produce(), PixelTracksProducer::produce(), SimpleTrackListMerger::produce(), TrackListMerger::produce(), CosmicTrackSelector::produce(), FakeTrackProducer< T >::produce(), TrackMultiSelector::produce(), DuplicateListMerger::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), KfTrackProducerBase::putInEvt(), GsfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), AnalyticalTrackSelector::run(), and PixelTrackProducer::store().
|
private |
Definition at line 79 of file TrackExtraBase.h.
Referenced by firstRecHit(), recHitRef(), and setHits().
|
private |
Definition at line 78 of file TrackExtraBase.h.
Referenced by recHitRef(), recHitsProduct(), and setHits().
|
private |
Definition at line 80 of file TrackExtraBase.h.
Referenced by recHitsSize(), and setHits().