#include <DataFormats/TrackReco/interface/Track.h>
Public Member Functions | |
const TrackExtraRef & | extra () const |
reference to "extra" object | |
CovarianceMatrix & | fillInner (CovarianceMatrix &v) const |
fill outermost trajectory state curvilinear errors | |
CovarianceMatrix & | fillOuter (CovarianceMatrix &v) const |
fill outermost trajectory state curvilinear errors | |
unsigned short | found () const |
Number of valid hits on track. | |
unsigned int | innerDetId () const |
DetId of the detector on which surface the innermost state is located. | |
const math::XYZVector & | innerMomentum () const |
momentum vector at the innermost hit position | |
bool | innerOk () const |
return true if the innermost hit is valid | |
const math::XYZPoint & | innerPosition () const |
position of the innermost hit | |
CovarianceMatrix | innerStateCovariance () const |
innermost trajectory state curvilinear errors | |
unsigned short | lost () const |
Number of lost (=invalid) hits on track. | |
unsigned int | outerDetId () const |
DetId of the detector on which surface the outermost state is located. | |
double | outerEta () const |
pseudorapidity of the momentum vector at the outermost hit position | |
const math::XYZVector & | outerMomentum () const |
momentum vector at the outermost hit position | |
bool | outerOk () const |
return true if the outermost hit is valid | |
double | outerP () const |
magnitude of momentum vector at the outermost hit position | |
double | outerPhi () const |
azimuthal angle of the momentum vector at the outermost hit position | |
const math::XYZPoint & | outerPosition () const |
position of the outermost hit | |
double | outerPt () const |
transverse momentum at the outermost hit position | |
double | outerPx () const |
x coordinate of momentum vector at the outermost hit position | |
double | outerPy () const |
y coordinate of momentum vector at the outermost hit position | |
double | outerPz () const |
z coordinate of momentum vector at the outermost hit position | |
double | outerRadius () const |
polar radius of the outermost hit position | |
CovarianceMatrix | outerStateCovariance () const |
outermost trajectory state curvilinear errors | |
double | outerTheta () const |
polar angle of the momentum vector at the outermost hit position | |
double | outerX () const |
x coordinate of the outermost hit position | |
double | outerY () const |
y coordinate of the outermost hit position | |
double | outerZ () const |
z coordinate of the outermost hit position | |
TrackingRecHitRef | recHit (size_t i) const |
Get i-th hit on the track. | |
trackingRecHit_iterator | recHitsBegin () const |
Iterator to first hit on the track. | |
trackingRecHit_iterator | recHitsEnd () const |
Iterator to last hit on the track. | |
size_t | recHitsSize () const |
Get number of RecHits. (Warning, this includes invalid hits, which are not physical hits). | |
const TrackResiduals & | residuals () const |
double | residualX (int position) const |
double | residualY (int position) const |
PropagationDirection | seedDirection () const |
direction of how the hits were sorted in the original seed | |
edm::RefToBase< TrajectorySeed > | seedRef () const |
void | setExtra (const TrackExtraRef &ref) |
set reference to "extra" object | |
Track (double chi2, double ndof, const Point &referencePoint, const Vector &momentum, int charge, const CovarianceMatrix &, TrackAlgorithm=undefAlgorithm, TrackQuality quality=undefQuality) | |
constructor from fit parameters and error matrix | |
Track () | |
default constructor | |
virtual | ~Track () |
virtual destructor | |
Private Attributes | |
TrackExtraRef | extra_ |
Reference to additional information stored only on RECO. |
This class describes the reconstructed tracks that are stored in the AOD and RECO. It also contains a reference to more detailed information about each track, that is stoed in the TrackExtra object, available only in RECO.
Note that most of the functions provided in this Track class rely on the existance of the TrackExtra object, so will not work on AOD.
The most useful functions are those provided in the TrackBase class from which this inherits, all of which work on AOD.
Track::Track | ( | double | chi2, |
double | ndof, | ||
const Point & | referencePoint, | ||
const Vector & | momentum, | ||
int | charge, | ||
const CovarianceMatrix & | cov, | ||
TrackAlgorithm | algo = undefAlgorithm , |
||
TrackQuality | quality = undefQuality |
||
) |
const TrackExtraRef& reco::Track::extra | ( | ) | const [inline] |
reference to "extra" object
Definition at line 97 of file Track.h.
References extra_.
Referenced by PFElecTkProducer::applySelection(), TrackDetectorAssociator::associate(), FWTrackProxyBuilder::build(), FWTrackResidualDetailView::build(), FWTracksModulesProxyBuilder::build(), FWConvTrackHitsDetailView::build(), FWTracksRecHitsProxyBuilder::build(), FWTrackHitsDetailView::build(), fw::estimate_field(), PFElecTkProducer::FindPfRef(), AlCaHOCalibProducer::getFreeTrajectoryState(), FWPFTrackUtils::getTrack(), trajectoryStateTransform::innerFreeState(), MultiTrajectoryStateTransform::innerStateOnSurface(), trajectoryStateTransform::innerStateOnSurface(), MuonErrorMatrixAdjuster::makeTrackExtra(), trajectoryStateTransform::outerFreeState(), MultiTrajectoryStateTransform::outerStateOnSurface(), trajectoryStateTransform::outerStateOnSurface(), MuonIdProducer::overlap(), fireworks::prepareTrack(), MuonIdProducer::produce(), and TrackExtrapolator::propagateTrackToVolume().
{ return extra_; }
CovarianceMatrix& reco::Track::fillInner | ( | CovarianceMatrix & | v | ) | const [inline] |
CovarianceMatrix& reco::Track::fillOuter | ( | CovarianceMatrix & | v | ) | const [inline] |
unsigned short reco::Track::found | ( | ) | const [inline] |
Number of valid hits on track.
Definition at line 100 of file Track.h.
References reco::TrackBase::numberOfValidHits().
Referenced by DeDxDiscriminatorLearner::algoAnalyze(), QuickTrackAssociatorByHits::associateRecoToSimImplementation(), QuickTrackAssociatorByHits::associateSimToRecoImplementation(), MTVHistoProducerAlgoForTracker::fill_generic_recoTrack_histos(), JPTJetAnalyzer::fillTrackHistograms(), PrimaryVertexAnalyzer4PU::fillTrackHistos(), GlobalMuonToMuonProducer::printTrackRecHits(), DeDxDiscriminatorProducer::produce(), and ora::QueryableVector< Item >::select().
{ return numberOfValidHits(); }
unsigned int reco::Track::innerDetId | ( | ) | const [inline] |
DetId of the detector on which surface the innermost state is located.
Definition at line 61 of file Track.h.
References extra_.
Referenced by IdealHelixParameters::calculate(), helper::GsfElectronCollectionStoreManager::cloneAndStore(), reco::modules::CosmicTrackSplitter::makeCandidate(), reco::modules::TrackerTrackHitFilter::makeCandidate(), PrintRecoObjects::print(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), TrackListCombiner::produce(), cms::TrackListMerger::produce(), cms::SimpleTrackListMerger::produce(), reco::modules::CosmicTrackSelector::produce(), FastTrackMerger::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), TrackCandidateProducer::produce(), MuonTrackProducer::produce(), QualityFilter::produce(), L3TkMuonProducer::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), and GlobalMuonRefitter::transform().
{ return extra_->innerDetId(); }
const math::XYZVector& reco::Track::innerMomentum | ( | ) | const [inline] |
momentum vector at the innermost hit position
Definition at line 45 of file Track.h.
References extra_.
Referenced by TrackDetectorAssociator::associate(), IdealHelixParameters::calculate(), helper::GsfElectronCollectionStoreManager::cloneAndStore(), TrackDetectorAssociator::crossedIP(), IdealHelixParameters::evalCircleCenter(), IdealHelixParameters::evalMomentumatTangentPoint(), IdealHelixParameters::evalTangentPoint(), cms::HICFTSfromL1orL2::FTSfromStandAlone(), AlCaHOCalibProducer::getFreeTrajectoryState(), trajectoryStateTransform::innerFreeState(), fireworks::prepareTrack(), PrintRecoObjects::print(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), TrackListCombiner::produce(), cms::TrackListMerger::produce(), cms::SimpleTrackListMerger::produce(), reco::modules::CosmicTrackSelector::produce(), FastTrackMerger::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), TrackCandidateProducer::produce(), MuonTrackProducer::produce(), QualityFilter::produce(), L3TkMuonProducer::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), and MuonTrackingRegionBuilder::region().
{ return extra_->innerMomentum(); }
bool reco::Track::innerOk | ( | ) | const [inline] |
return true if the innermost hit is valid
Definition at line 40 of file Track.h.
References extra_.
Referenced by helper::GsfElectronCollectionStoreManager::cloneAndStore(), MillePedeMonitor::fillTrack(), fireworks::prepareTrack(), PrintRecoObjects::print(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), TrackListCombiner::produce(), FastTrackMerger::produce(), reco::modules::CosmicTrackSelector::produce(), cms::SimpleTrackListMerger::produce(), cms::TrackListMerger::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), TrackCandidateProducer::produce(), MuonTrackProducer::produce(), QualityFilter::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), and L3TkMuonProducer::produce().
{ return extra_->innerOk(); }
const math::XYZPoint& reco::Track::innerPosition | ( | ) | const [inline] |
position of the innermost hit
Definition at line 42 of file Track.h.
References extra_.
Referenced by TrackDetectorAssociator::associate(), IdealHelixParameters::calculate(), TrackEfficiencyMonitor::checkSemiCylinder(), helper::GsfElectronCollectionStoreManager::cloneAndStore(), TrackDetectorAssociator::crossedIP(), directionAlongMomentum(), fw::estimate_field(), IdealHelixParameters::evalCircleCenter(), IdealHelixParameters::evalMomentumatTangentPoint(), IdealHelixParameters::evalTangentPoint(), MillePedeMonitor::fillTrack(), PrimaryVertexAnalyzer4PU::fillTrackHistos(), cms::HICFTSfromL1orL2::FTSfromStandAlone(), AlCaHOCalibProducer::getFreeTrajectoryState(), trajectoryStateTransform::innerFreeState(), reco::modules::CosmicTrackSplitter::makeCandidate(), reco::modules::TrackerTrackHitFilter::makeCandidate(), fireworks::prepareTrack(), PrintRecoObjects::print(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), TrackListCombiner::produce(), cms::TrackListMerger::produce(), cms::SimpleTrackListMerger::produce(), reco::modules::CosmicTrackSelector::produce(), FastTrackMerger::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), TrackCandidateProducer::produce(), MuonTrackProducer::produce(), QualityFilter::produce(), L3TkMuonProducer::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), PropagateToMuon::startingState(), and SiStripFineDelayTOF::trackParameters().
{ return extra_->innerPosition(); }
CovarianceMatrix reco::Track::innerStateCovariance | ( | ) | const [inline] |
innermost trajectory state curvilinear errors
Definition at line 53 of file Track.h.
References extra_.
Referenced by helper::GsfElectronCollectionStoreManager::cloneAndStore(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), TrackListCombiner::produce(), FastTrackMerger::produce(), reco::modules::CosmicTrackSelector::produce(), cms::SimpleTrackListMerger::produce(), cms::TrackListMerger::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), TrackCandidateProducer::produce(), MuonTrackProducer::produce(), QualityFilter::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), and L3TkMuonProducer::produce().
{ return extra_->innerStateCovariance(); }
unsigned short reco::Track::lost | ( | ) | const [inline] |
Number of lost (=invalid) hits on track.
Definition at line 102 of file Track.h.
References reco::TrackBase::numberOfLostHits().
Referenced by PrimaryVertexAnalyzer4PU::fillTrackHistos(), and GlobalMuonToMuonProducer::printTrackRecHits().
{return numberOfLostHits(); }
unsigned int reco::Track::outerDetId | ( | ) | const [inline] |
DetId of the detector on which surface the outermost state is located.
Definition at line 59 of file Track.h.
References extra_.
Referenced by helper::GsfElectronCollectionStoreManager::cloneAndStore(), reco::modules::CosmicTrackSplitter::makeCandidate(), reco::modules::TrackerTrackHitFilter::makeCandidate(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), TrackListCombiner::produce(), FastTrackMerger::produce(), reco::modules::CosmicTrackSelector::produce(), cms::SimpleTrackListMerger::produce(), cms::TrackListMerger::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), TrackCandidateProducer::produce(), MuonTrackProducer::produce(), QualityFilter::produce(), L3TkMuonProducer::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), and GlobalMuonRefitter::transform().
{ return extra_->outerDetId(); }
double reco::Track::outerEta | ( | ) | const [inline] |
pseudorapidity of the momentum vector at the outermost hit position
Definition at line 89 of file Track.h.
References extra_.
Referenced by BetaCalculatorECAL::addInfoToCandidate(), and EwkMuLumiMonitorDQM::tkIso().
{ return extra_->outerEta(); }
const math::XYZVector& reco::Track::outerMomentum | ( | ) | const [inline] |
momentum vector at the outermost hit position
Definition at line 49 of file Track.h.
References extra_.
Referenced by PFTrackTransformer::addPoints(), TrackDetectorAssociator::associate(), helper::GsfElectronCollectionStoreManager::cloneAndStore(), TrackDetectorAssociator::crossedIP(), fw::estimate_field(), trajectoryStateTransform::outerFreeState(), fireworks::prepareTrack(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), TrackListCombiner::produce(), cms::TrackListMerger::produce(), cms::SimpleTrackListMerger::produce(), reco::modules::CosmicTrackSelector::produce(), FastTrackMerger::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), TrackCandidateProducer::produce(), MuonTrackProducer::produce(), QualityFilter::produce(), L3TkMuonProducer::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), and SiStripFineDelayTOF::trackParameters().
{ return extra_->outerMomentum(); }
bool reco::Track::outerOk | ( | ) | const [inline] |
return true if the outermost hit is valid
Definition at line 38 of file Track.h.
References extra_.
Referenced by helper::GsfElectronCollectionStoreManager::cloneAndStore(), MillePedeMonitor::fillTrack(), fireworks::prepareTrack(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), TrackListCombiner::produce(), cms::TrackListMerger::produce(), cms::SimpleTrackListMerger::produce(), reco::modules::CosmicTrackSelector::produce(), FastTrackMerger::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), TrackCandidateProducer::produce(), MuonTrackProducer::produce(), QualityFilter::produce(), L3TkMuonProducer::produce(), and reco::modules::HICaloCompatibleTrackSelector::produce().
{ return extra_->outerOk(); }
double reco::Track::outerP | ( | ) | const [inline] |
double reco::Track::outerPhi | ( | ) | const [inline] |
azimuthal angle of the momentum vector at the outermost hit position
Definition at line 87 of file Track.h.
References extra_.
Referenced by BetaCalculatorECAL::addInfoToCandidate(), and EwkMuLumiMonitorDQM::tkIso().
{ return extra_->outerPhi(); }
const math::XYZPoint& reco::Track::outerPosition | ( | ) | const [inline] |
position of the outermost hit
Definition at line 47 of file Track.h.
References extra_.
Referenced by PFTrackTransformer::addPoints(), IsolatedTracksNxN::analyze(), TrackDetectorAssociator::associate(), helper::GsfElectronCollectionStoreManager::cloneAndStore(), TrackDetectorAssociator::crossedIP(), fw::estimate_field(), MillePedeMonitor::fillTrack(), reco::modules::CosmicTrackSplitter::makeCandidate(), reco::modules::TrackerTrackHitFilter::makeCandidate(), trajectoryStateTransform::outerFreeState(), fireworks::prepareTrack(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), TrackListCombiner::produce(), FastTrackMerger::produce(), reco::modules::CosmicTrackSelector::produce(), cms::SimpleTrackListMerger::produce(), cms::TrackListMerger::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), TrackCandidateProducer::produce(), MuonTrackProducer::produce(), QualityFilter::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), L3TkMuonProducer::produce(), spr::propagateTrackerEnd(), PropagateToMuon::startingState(), and SiStripFineDelayTOF::trackParameters().
{ return extra_->outerPosition(); }
double reco::Track::outerPt | ( | ) | const [inline] |
double reco::Track::outerPx | ( | ) | const [inline] |
x coordinate of momentum vector at the outermost hit position
Definition at line 71 of file Track.h.
References extra_.
Referenced by AlCaHOCalibProducer::getFreeTrajectoryState(), EcalShowerProperties::getTrajectoryAtOuterPoint(), PlotRecTracks::getTrajectoryAtOuterPoint(), and TrackExtrapolator::propagateTrackToVolume().
{ return extra_->outerPx(); }
double reco::Track::outerPy | ( | ) | const [inline] |
y coordinate of momentum vector at the outermost hit position
Definition at line 73 of file Track.h.
References extra_.
Referenced by AlCaHOCalibProducer::getFreeTrajectoryState(), EcalShowerProperties::getTrajectoryAtOuterPoint(), PlotRecTracks::getTrajectoryAtOuterPoint(), and TrackExtrapolator::propagateTrackToVolume().
{ return extra_->outerPy(); }
double reco::Track::outerPz | ( | ) | const [inline] |
z coordinate of momentum vector at the outermost hit position
Definition at line 75 of file Track.h.
References extra_.
Referenced by AlCaHOCalibProducer::getFreeTrajectoryState(), EcalShowerProperties::getTrajectoryAtOuterPoint(), PlotRecTracks::getTrajectoryAtOuterPoint(), and TrackExtrapolator::propagateTrackToVolume().
{ return extra_->outerPz(); }
double reco::Track::outerRadius | ( | ) | const [inline] |
CovarianceMatrix reco::Track::outerStateCovariance | ( | ) | const [inline] |
outermost trajectory state curvilinear errors
Definition at line 51 of file Track.h.
References extra_.
Referenced by helper::GsfElectronCollectionStoreManager::cloneAndStore(), EcalShowerProperties::getTrajectoryAtOuterPoint(), PlotRecTracks::getTrajectoryAtOuterPoint(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), TrackListCombiner::produce(), FastTrackMerger::produce(), reco::modules::CosmicTrackSelector::produce(), cms::SimpleTrackListMerger::produce(), cms::TrackListMerger::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), TrackCandidateProducer::produce(), MuonTrackProducer::produce(), QualityFilter::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), and L3TkMuonProducer::produce().
{ return extra_->outerStateCovariance(); }
double reco::Track::outerTheta | ( | ) | const [inline] |
double reco::Track::outerX | ( | ) | const [inline] |
x coordinate of the outermost hit position
Definition at line 77 of file Track.h.
References extra_.
Referenced by AlCaHOCalibProducer::getFreeTrajectoryState(), EcalShowerProperties::getTrajectoryAtOuterPoint(), PlotRecTracks::getTrajectoryAtOuterPoint(), and TrackExtrapolator::propagateTrackToVolume().
{ return extra_->outerX(); }
double reco::Track::outerY | ( | ) | const [inline] |
y coordinate of the outermost hit position
Definition at line 79 of file Track.h.
References extra_.
Referenced by AlCaHOCalibProducer::getFreeTrajectoryState(), EcalShowerProperties::getTrajectoryAtOuterPoint(), PlotRecTracks::getTrajectoryAtOuterPoint(), and TrackExtrapolator::propagateTrackToVolume().
{ return extra_->outerY(); }
double reco::Track::outerZ | ( | ) | const [inline] |
z coordinate of the outermost hit position
Definition at line 81 of file Track.h.
References extra_.
Referenced by AlCaHOCalibProducer::getFreeTrajectoryState(), EcalShowerProperties::getTrajectoryAtOuterPoint(), PlotRecTracks::getTrajectoryAtOuterPoint(), and TrackExtrapolator::propagateTrackToVolume().
{ return extra_->outerZ(); }
TrackingRecHitRef reco::Track::recHit | ( | size_t | i | ) | const [inline] |
Get i-th hit on the track.
Definition at line 67 of file Track.h.
References extra_.
Referenced by SiStripMonitorMuonHLT::analyzeOnTrackClusters(), SegmentToTrackAssociator::associate(), MuonAlignmentAnalyzer::doMatching(), MuonAlignment::doMatching(), TrackListCombiner::produce(), cms::TrackListMerger::produce(), FastTrackMerger::produce(), TrackCandidateProducer::produce(), SeedGeneratorFromProtoTracksEDProducer::produce(), reco::TransientTrack::recHit(), and SeedFromProtoTrack::SeedFromProtoTrack().
trackingRecHit_iterator reco::Track::recHitsBegin | ( | ) | const [inline] |
Iterator to first hit on the track.
Definition at line 63 of file Track.h.
References extra_.
Referenced by FWConvTrackHitsDetailView::addModules(), FWTrackHitsDetailView::addModules(), fireworks::addSiStripClusters(), TrackSplittingMonitor::analyze(), RPCRecHitProbability::analyze(), SegmentTrackAnalyzer::analyze(), RPCMonitorDigi::analyze(), CosmicSplitterValidation::analyze(), SegmentsTrackAssociator::associate(), QuickTrackAssociatorByHits::associateRecoToSimImplementation(), MuonErrorMatrixAdjuster::attachRecHits(), FWTracksModulesProxyBuilder::build(), FWTrackTrackingRecHitProxyBuilder::build(), AlignmentTrackSelector::checkPrescaledHits(), helper::GsfElectronCollectionStoreManager::cloneAndStore(), SiStripFineDelayHit::closestCluster(), helper::MuonCollectionStoreManager::clusterRefsOK(), RecoMuonValidator::countMuonHits(), RecoMuonValidator::countTrackerHits(), AlignmentTrackSelector::detailedHitsCheck(), CalibrationTrackSelector::detailedHitsCheck(), PrimaryVertexAnalyzer4PU::dumpHitInfo(), TkAlCaRecoMonitor::fillHitmaps(), MillePedeMonitor::fillTrack(), PrimaryVertexAnalyzer4PU::fillTrackHistos(), MuonAlignmentPreFilter::filter(), FastTrackMerger::findId(), TrackCandidateProducer::findId(), QuickTrackAssociatorByHits::getAllSimTrackIdentifiers(), GlobalTrajectoryBuilderBase::getTransientRecHits(), GlobalCosmicMuonTrajectoryBuilder::getTransientRecHits(), GlobalCosmicMuonTrajectoryBuilder::isTraversing(), MuonSegmentMatcher::matchCSC(), MuonSegmentMatcher::matchDT(), spr::matchedSimTrack(), ConversionHitChecker::nSharedHits(), FWTrackResidualDetailView::prepareData(), GlobalMuonToMuonProducer::printTrackRecHits(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), FastTrackMerger::produce(), reco::modules::CosmicTrackSelector::produce(), cms::TrackListMerger::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::AnalyticalTrackSelector::produce(), SiStripElectronAssociator::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), reco::modules::CosmicTrackSplitter::produce(), MuonTrackProducer::produce(), TrackClusterSplitter::produce(), L3TkMuonProducer::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), reco::modules::TrackerTrackHitFilter::produceFromTrack(), fireworks::pushNearbyPixelHits(), fireworks::pushPixelHits(), TSGForRoadSearch::pushTrajectorySeed(), SiStripFineDelayHit::rechit(), reco::TransientTrack::recHitsBegin(), reco::modules::CosmicTrackSelector::select(), ora::QueryableVector< Item >::select(), and CosmicMuonLinksProducer::sharedHits().
{ return extra_->recHitsBegin(); }
trackingRecHit_iterator reco::Track::recHitsEnd | ( | ) | const [inline] |
Iterator to last hit on the track.
Definition at line 65 of file Track.h.
References extra_.
Referenced by FWConvTrackHitsDetailView::addModules(), FWTrackHitsDetailView::addModules(), fireworks::addSiStripClusters(), TrackSplittingMonitor::analyze(), RPCRecHitProbability::analyze(), SegmentTrackAnalyzer::analyze(), RPCMonitorDigi::analyze(), CosmicSplitterValidation::analyze(), SegmentsTrackAssociator::associate(), QuickTrackAssociatorByHits::associateRecoToSimImplementation(), MuonErrorMatrixAdjuster::attachRecHits(), FWTracksModulesProxyBuilder::build(), FWTrackTrackingRecHitProxyBuilder::build(), AlignmentTrackSelector::checkPrescaledHits(), helper::GsfElectronCollectionStoreManager::cloneAndStore(), SiStripFineDelayHit::closestCluster(), helper::MuonCollectionStoreManager::clusterRefsOK(), RecoMuonValidator::countMuonHits(), RecoMuonValidator::countTrackerHits(), AlignmentTrackSelector::detailedHitsCheck(), CalibrationTrackSelector::detailedHitsCheck(), SiStripFineDelayHit::detId(), PrimaryVertexAnalyzer4PU::dumpHitInfo(), TkAlCaRecoMonitor::fillHitmaps(), MillePedeMonitor::fillTrack(), PrimaryVertexAnalyzer4PU::fillTrackHistos(), MuonAlignmentPreFilter::filter(), FastTrackMerger::findId(), TrackCandidateProducer::findId(), QuickTrackAssociatorByHits::getAllSimTrackIdentifiers(), GlobalTrajectoryBuilderBase::getTransientRecHits(), GlobalCosmicMuonTrajectoryBuilder::getTransientRecHits(), GlobalCosmicMuonTrajectoryBuilder::isTraversing(), MuonSegmentMatcher::matchCSC(), MuonSegmentMatcher::matchDT(), spr::matchedSimTrack(), ConversionHitChecker::nSharedHits(), GlobalMuonToMuonProducer::printTrackRecHits(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), FastTrackMerger::produce(), reco::modules::CosmicTrackSelector::produce(), cms::TrackListMerger::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::AnalyticalTrackSelector::produce(), SiStripElectronAssociator::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), reco::modules::CosmicTrackSplitter::produce(), MuonTrackProducer::produce(), TrackClusterSplitter::produce(), L3TkMuonProducer::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), reco::modules::TrackerTrackHitFilter::produceFromTrack(), fireworks::pushNearbyPixelHits(), fireworks::pushPixelHits(), TSGForRoadSearch::pushTrajectorySeed(), SiStripFineDelayHit::rechit(), reco::TransientTrack::recHitsEnd(), reco::modules::CosmicTrackSelector::select(), ora::QueryableVector< Item >::select(), and CosmicMuonLinksProducer::sharedHits().
{ return extra_->recHitsEnd(); }
size_t reco::Track::recHitsSize | ( | ) | const [inline] |
Get number of RecHits. (Warning, this includes invalid hits, which are not physical hits).
Definition at line 69 of file Track.h.
References extra_.
Referenced by SiStripMonitorMuonHLT::analyzeOnTrackClusters(), SegmentToTrackAssociator::associate(), MuonAlignment::doMatching(), TrackListCombiner::produce(), cms::TrackListMerger::produce(), FastTrackMerger::produce(), TrackCandidateProducer::produce(), TrackClusterSplitter::produce(), SeedGeneratorFromProtoTracksEDProducer::produce(), QualityFilter::produce(), TSGForRoadSearch::pushTrajectorySeed(), reco::TransientTrack::recHitsSize(), and SeedFromProtoTrack::SeedFromProtoTrack().
{ return extra_->recHitsSize(); }
const TrackResiduals& reco::Track::residuals | ( | ) | const [inline] |
Access the lightweight track residuals; these are stored in TrackExtra and provide residual information with 4 bits of precision per hit
Definition at line 117 of file Track.h.
References extra_.
Referenced by FWTrackResidualDetailView::prepareData(), cms::TrackListMerger::produce(), cms::SimpleTrackListMerger::produce(), reco::modules::CosmicTrackSelector::produce(), FastTrackMerger::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::AnalyticalTrackSelector::produce(), and reco::modules::HICaloCompatibleTrackSelector::produce().
{ return extra_->residuals(); }
double Track::residualX | ( | int | position | ) | const |
return the residual (local x/y) for the hit in the ith position; this position is aligned with the position in the HitPattern
Definition at line 14 of file Track.cc.
References extra_, and reco::TrackBase::hitPattern().
{ return extra_->residuals().residualX(position, hitPattern()); }
double Track::residualY | ( | int | position | ) | const |
Definition at line 19 of file Track.cc.
References extra_, and reco::TrackBase::hitPattern().
{ return extra_->residuals().residualY(position, hitPattern()); }
PropagationDirection reco::Track::seedDirection | ( | ) | const [inline] |
direction of how the hits were sorted in the original seed
Definition at line 105 of file Track.h.
References extra_.
Referenced by helper::GsfElectronCollectionStoreManager::cloneAndStore(), reco::modules::CosmicTrackSplitter::makeCandidate(), reco::modules::TrackerTrackHitFilter::makeCandidate(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), TrackListCombiner::produce(), cms::TrackListMerger::produce(), cms::SimpleTrackListMerger::produce(), reco::modules::CosmicTrackSelector::produce(), FastTrackMerger::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), TrackCandidateProducer::produce(), MuonTrackProducer::produce(), QualityFilter::produce(), and reco::modules::HICaloCompatibleTrackSelector::produce().
{return extra_->seedDirection();}
edm::RefToBase<TrajectorySeed> reco::Track::seedRef | ( | ) | const [inline] |
return the edm::reference to the trajectory seed in the original seeds collection. If the collection has been dropped from the Event, the reference may be invalid. Its validity should be tested, before the reference is actually used.
Definition at line 112 of file Track.h.
References extra_.
Referenced by PFElecTkProducer::applySelection(), PFElecTkProducer::FindPfRef(), reco::modules::CosmicTrackSplitter::makeCandidate(), reco::modules::TrackerTrackHitFilter::makeCandidate(), TrackListCombiner::produce(), FastTrackMerger::produce(), reco::modules::CosmicTrackSelector::produce(), cms::SimpleTrackListMerger::produce(), cms::TrackListMerger::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::AnalyticalTrackSelector::produce(), TrackCandidateProducer::produce(), QualityFilter::produce(), and reco::modules::HICaloCompatibleTrackSelector::produce().
{ return extra_->seedRef(); }
void reco::Track::setExtra | ( | const TrackExtraRef & | ref | ) | [inline] |
set reference to "extra" object
Definition at line 95 of file Track.h.
References extra_.
Referenced by helper::GsfElectronCollectionStoreManager::cloneAndStore(), MuonErrorMatrixAdjuster::makeTrackExtra(), helper::MuonCollectionStoreManager::processMuon(), AlCaIsoTracksProducer::produce(), MuonTrackProducer::produce(), cms::RoadSearchTrackListCleaner::produce(), GsfTrackProducerBase::putInEvt(), KfTrackProducerBase::putInEvt(), and TrackProducerWithSCAssociation::putInEvt().
{ extra_ = ref; }
TrackExtraRef reco::Track::extra_ [private] |
Reference to additional information stored only on RECO.
Definition at line 125 of file Track.h.
Referenced by extra(), fillInner(), fillOuter(), innerDetId(), innerMomentum(), innerOk(), innerPosition(), innerStateCovariance(), outerDetId(), outerEta(), outerMomentum(), outerOk(), outerP(), outerPhi(), outerPosition(), outerPt(), outerPx(), outerPy(), outerPz(), outerRadius(), outerStateCovariance(), outerTheta(), outerX(), outerY(), outerZ(), recHit(), recHitsBegin(), recHitsEnd(), recHitsSize(), residuals(), residualX(), residualY(), seedDirection(), seedRef(), and setExtra().