#include <DataFormats/TrackReco/interface/Track.h>
Public Member Functions | |
const TrackExtraRef & | extra () const |
reference to "extra" object More... | |
CovarianceMatrix & | fillInner (CovarianceMatrix &v) const |
fill outermost trajectory state curvilinear errors More... | |
CovarianceMatrix & | fillOuter (CovarianceMatrix &v) const |
fill outermost trajectory state curvilinear errors More... | |
unsigned short | found () const |
Number of valid hits on track. More... | |
unsigned int | innerDetId () const |
DetId of the detector on which surface the innermost state is located. More... | |
const math::XYZVector & | innerMomentum () const |
momentum vector at the innermost hit position More... | |
bool | innerOk () const |
return true if the innermost hit is valid More... | |
const math::XYZPoint & | innerPosition () const |
position of the innermost hit More... | |
CovarianceMatrix | innerStateCovariance () const |
innermost trajectory state curvilinear errors More... | |
unsigned short | lost () const |
Number of lost (=invalid) hits on track. More... | |
unsigned int | outerDetId () const |
DetId of the detector on which surface the outermost state is located. More... | |
double | outerEta () const |
pseudorapidity of the momentum vector at the outermost hit position More... | |
const math::XYZVector & | outerMomentum () const |
momentum vector at the outermost hit position More... | |
bool | outerOk () const |
return true if the outermost hit is valid More... | |
double | outerP () const |
magnitude of momentum vector at the outermost hit position More... | |
double | outerPhi () const |
azimuthal angle of the momentum vector at the outermost hit position More... | |
const math::XYZPoint & | outerPosition () const |
position of the outermost hit More... | |
double | outerPt () const |
transverse momentum at the outermost hit position More... | |
double | outerPx () const |
x coordinate of momentum vector at the outermost hit position More... | |
double | outerPy () const |
y coordinate of momentum vector at the outermost hit position More... | |
double | outerPz () const |
z coordinate of momentum vector at the outermost hit position More... | |
double | outerRadius () const |
polar radius of the outermost hit position More... | |
CovarianceMatrix | outerStateCovariance () const |
outermost trajectory state curvilinear errors More... | |
double | outerTheta () const |
polar angle of the momentum vector at the outermost hit position More... | |
double | outerX () const |
x coordinate of the outermost hit position More... | |
double | outerY () const |
y coordinate of the outermost hit position More... | |
double | outerZ () const |
z coordinate of the outermost hit position More... | |
TrackingRecHitRef | recHit (size_t i) const |
Get i-th hit on the track. More... | |
trackingRecHit_iterator | recHitsBegin () const |
Iterator to first hit on the track. More... | |
trackingRecHit_iterator | recHitsEnd () const |
Iterator to last hit on the track. More... | |
size_t | recHitsSize () const |
Get number of RecHits. (Warning, this includes invalid hits, which are not physical hits). More... | |
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 More... | |
edm::RefToBase< TrajectorySeed > | seedRef () const |
void | setExtra (const TrackExtraRef &ref) |
set reference to "extra" object More... | |
Track () | |
default constructor More... | |
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 More... | |
virtual | ~Track () |
virtual destructor More... | |
Public Member Functions inherited from reco::TrackBase | |
TrackAlgorithm | algo () const |
std::string | algoName () const |
void | appendHitPattern (const TrackingRecHit &hit) |
int | charge () const |
track electric charge More... | |
double | chi2 () const |
chi-squared of the fit More... | |
CovarianceMatrix | covariance () const |
return track covariance matrix More... | |
double | covariance (int i, int j) const |
(i,j)-th element of covarianve matrix ( i, j = 0, ... 4 ) More... | |
double | d0 () const |
dxy parameter in perigee convention (d0 = - dxy) More... | |
double | d0Error () const |
error on d0 More... | |
double | dsz () const |
dsz parameter (THIS IS NOT the SZ impact parameter to (0,0,0) if refPoint is far from (0,0,0): see parametrization definition above for details) More... | |
double | dsz (const Point &myBeamSpot) const |
dsz parameter with respect to a user-given beamSpot (WARNING: this quantity can only be interpreted as the distance in the S-Z plane to the beamSpot, if the beam spot is reasonably close to the refPoint, since linear approximations are involved). This is a good approximation for Tracker tracks. More... | |
double | dszError () const |
error on dsz More... | |
double | dxy () const |
dxy parameter. (This is the transverse impact parameter w.r.t. to (0,0,0) ONLY if refPoint is close to (0,0,0): see parametrization definition above for details). See also function dxy(myBeamSpot) below. More... | |
double | dxy (const Point &myBeamSpot) const |
dxy parameter with respect to a user-given beamSpot (WARNING: this quantity can only be interpreted as a minimum transverse distance if beamSpot, if the beam spot is reasonably close to the refPoint, since linear approximations are involved). This is a good approximation for Tracker tracks. More... | |
double | dxy (const BeamSpot &theBeamSpot) const |
dxy parameter with respect to the beamSpot taking into account the beamspot slopes WARNING: this quantity can only be interpreted as a minimum transverse distance if beamSpot, if the beam spot is reasonably close to the refPoint, since linear approximations are involved). This is a good approximation for Tracker tracks. More... | |
double | dxyError () const |
error on dxy More... | |
double | dz () const |
dz parameter (= dsz/cos(lambda)). This is the track z0 w.r.t (0,0,0) only if the refPoint is close to (0,0,0). See also function dz(myBeamSpot) below. More... | |
double | dz (const Point &myBeamSpot) const |
dz parameter with respect to a user-given beamSpot (WARNING: this quantity can only be interpreted as the track z0, if the beamSpot is reasonably close to the refPoint, since linear approximations are involved). This is a good approximation for Tracker tracks. More... | |
double | dzError () const |
error on dz More... | |
double | error (int i) const |
error on specified element More... | |
double | eta () const |
pseudorapidity of momentum vector More... | |
double | etaError () const |
error on eta More... | |
CovarianceMatrix & | fill (CovarianceMatrix &v) const |
fill SMatrix More... | |
const HitPattern & | hitPattern () const |
Access the hit pattern, indicating in which Tracker layers the track has hits. More... | |
bool | isLooper () const |
double | lambda () const |
Lambda angle. More... | |
double | lambdaError () const |
error on lambda More... | |
const Vector & | momentum () const |
track momentum vector More... | |
double | ndof () const |
number of degrees of freedom of the fit More... | |
signed char | nLoops () const |
double | normalizedChi2 () const |
chi-squared divided by n.d.o.f. (or chi-squared * 1e6 if n.d.o.f. is zero) More... | |
unsigned short | numberOfLostHits () const |
number of cases where track crossed a layer without getting a hit. More... | |
unsigned short | numberOfValidHits () const |
number of valid hits found More... | |
double | p () const |
momentum vector magnitude More... | |
double | parameter (int i) const |
i-th parameter ( i = 0, ... 4 ) More... | |
ParameterVector | parameters () const |
Track parameters with one-to-one correspondence to the covariance matrix. More... | |
double | phi () const |
azimuthal angle of momentum vector More... | |
double | phiError () const |
error on phi More... | |
double | pt () const |
track transverse momentum More... | |
double | ptError () const |
error on Pt (set to 1000 TeV if charge==0 for safety) More... | |
double | px () const |
x coordinate of momentum vector More... | |
double | py () const |
y coordinate of momentum vector More... | |
double | pz () const |
z coordinate of momentum vector More... | |
double | qoverp () const |
q/p More... | |
double | qoverpError () const |
error on signed transverse curvature More... | |
bool | quality (const TrackQuality) const |
Track quality. More... | |
int | qualityMask () const |
const Point & | referencePoint () const |
Reference point on the track. More... | |
void | setAlgorithm (const TrackAlgorithm a, bool set=true) |
position index More... | |
template<typename C > | |
void | setHitPattern (const C &c) |
set hit patterns from vector of hit references More... | |
template<typename I > | |
void | setHitPattern (const I &begin, const I &end) |
void | setHitPattern (const TrackingRecHit &hit, size_t i) |
set hit pattern for specified hit More... | |
void | setHitPattern (const HitPattern &hitP) |
set hitPattern from pre-defined hitPattern More... | |
void | setNLoops (signed char value) |
void | setQuality (const TrackQuality, bool set=true) |
void | setQualityMask (int qualMask) |
template<typename C > | |
void | setTrackerExpectedHitsInner (const C &c) |
template<typename I > | |
void | setTrackerExpectedHitsInner (const I &begin, const I &end) |
void | setTrackerExpectedHitsInner (const TrackingRecHit &hit, size_t i) |
void | setTrackerExpectedHitsInner (const HitPattern &hitP) |
template<typename C > | |
void | setTrackerExpectedHitsOuter (const C &c) |
template<typename I > | |
void | setTrackerExpectedHitsOuter (const I &begin, const I &end) |
void | setTrackerExpectedHitsOuter (const TrackingRecHit &hit, size_t i) |
void | setTrackerExpectedHitsOuter (const HitPattern &hitP) |
double | theta () const |
polar angle More... | |
double | thetaError () const |
error on theta More... | |
TrackBase () | |
default constructor More... | |
TrackBase (double chi2, double ndof, const Point &referencePoint, const Vector &momentum, int charge, const CovarianceMatrix &, TrackAlgorithm=undefAlgorithm, TrackQuality quality=undefQuality, signed char nloops=0) | |
constructor from fit parameters and error matrix More... | |
const HitPattern & | trackerExpectedHitsInner () const |
Access the hit pattern counting (in the Tracker) the number of expected crossed layers before the first trajectory's hit. More... | |
const HitPattern & | trackerExpectedHitsOuter () const |
Access the hit pattern counting (in the Tracker) the number of expected crossed layers after the last trajectory's hit. More... | |
double | validFraction () const |
fraction of valid hits on the track More... | |
const Point & | vertex () const |
reference point on the track. This method is DEPRECATED, please use referencePoint() instead More... | |
double | vx () const |
x coordinate of the reference point on track More... | |
double | vy () const |
y coordinate of the reference point on track More... | |
double | vz () const |
z coordinate of the reference point on track More... | |
virtual | ~TrackBase () |
virtual destructor More... | |
Private Attributes | |
TrackExtraRef | extra_ |
Reference to additional information stored only on RECO. More... | |
Additional Inherited Members | |
Public Types inherited from reco::TrackBase | |
enum | { dimension = 5 } |
parameter dimension More... | |
enum | { covarianceSize = dimension * ( dimension + 1 ) / 2 } |
error matrix size More... | |
enum | { i_qoverp = 0, i_lambda, i_phi, i_dxy, i_dsz } |
enumerator provided indices to the five parameters More... | |
typedef math::Error< dimension > ::type | CovarianceMatrix |
5 parameter covariance matrix More... | |
typedef unsigned int | index |
index type More... | |
typedef math::Vector < dimension >::type | ParameterVector |
parameter vector More... | |
typedef math::XYZPoint | Point |
point in the space More... | |
enum | TrackAlgorithm { undefAlgorithm =0, ctf =1, rs =2, cosmics =3, iter0 =4, iter1 =5, iter2 =6, iter3 =7, iter4 =8, iter5 =9, iter6 =10, iter7 =11, iter8 =12, iter9 =13, iter10 =14, outInEcalSeededConv =15, inOutEcalSeededConv =16, nuclInter =17, standAloneMuon =18, globalMuon =19, cosmicStandAloneMuon =20, cosmicGlobalMuon =21, iter1LargeD0 =22, iter2LargeD0 =23, iter3LargeD0 =24, iter4LargeD0 =25, iter5LargeD0 =26, bTagGhostTracks =27, beamhalo =28, gsf =29, algoSize =30 } |
track algorithm More... | |
enum | TrackQuality { undefQuality =-1, loose =0, tight =1, highPurity =2, confirmed =3, goodIterative =4, looseSetWithPV =5, highPuritySetWithPV =6, qualitySize =7 } |
track quality More... | |
typedef math::XYZVector | Vector |
spatial vector More... | |
Static Public Member Functions inherited from reco::TrackBase | |
static TrackAlgorithm | algoByName (const std::string &name) |
static std::string | algoName (TrackAlgorithm) |
static index | covIndex (index i, index j) |
covariance matrix index in array More... | |
static TrackQuality | qualityByName (const std::string &name) |
static std::string | qualityName (TrackQuality) |
Static Public Attributes inherited from reco::TrackBase | |
static const std::string | algoNames [] |
static const std::string | qualityNames [] = { "loose", "tight", "highPurity", "confirmed", "goodIterative", "looseSetWithPV", "highPuritySetWithPV"} |
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 |
||
) |
constructor from fit parameters and error matrix
Definition at line 5 of file Track.cc.
|
inline |
reference to "extra" object
Definition at line 97 of file Track.h.
References extra_.
Referenced by PFElecTkProducer::applySelection(), TrackDetectorAssociator::associate(), FWTracksRecHitsProxyBuilder::build(), FWTracksModulesProxyBuilder::build(), FWTrackProxyBuilder::build(), FWTrackHitsDetailView::build(), FWConvTrackHitsDetailView::build(), FWTrackResidualDetailView::build(), ConversionProducer::buildCollection(), ConversionProducer::checkPhi(), fw::estimate_field(), PFElecTkProducer::FindPfRef(), AlCaHOCalibProducer::getFreeTrajectoryState(), FWPFTrackUtils::getTrack(), trajectoryStateTransform::innerFreeState(), trajectoryStateTransform::innerStateOnSurface(), MultiTrajectoryStateTransform::innerStateOnSurface(), MuonErrorMatrixAdjuster::makeTrackExtra(), trajectoryStateTransform::outerFreeState(), trajectoryStateTransform::outerStateOnSurface(), MultiTrajectoryStateTransform::outerStateOnSurface(), MuonIdProducer::overlap(), fireworks::prepareTrack(), ExtraFromSeeds::produce(), MuonIdProducer::produce(), and TrackExtrapolator::propagateTrackToVolume().
|
inline |
fill outermost trajectory state curvilinear errors
Definition at line 57 of file Track.h.
References extra_.
|
inline |
fill outermost trajectory state curvilinear errors
Definition at line 55 of file Track.h.
References extra_.
|
inline |
Number of valid hits on track.
Definition at line 100 of file Track.h.
References reco::TrackBase::numberOfValidHits().
Referenced by pf_01_customizeAll.SeqVisitor::__init__(), pf_01_customizeSimulation.SeqVisitor::__init__(), DeDxDiscriminatorLearner::algoAnalyze(), MuonTrackValidator::analyze(), QuickTrackAssociatorByHits::associateRecoToSimImplementation(), QuickTrackAssociatorByHits::associateSimToRecoImplementation(), pf_01_customizeAll.SeqVisitor::enter(), pf_01_customizeSimulation.SeqVisitor::enter(), MTVHistoProducerAlgoForTracker::fill_generic_recoTrack_histos(), PrimaryVertexAnalyzer4PU::fillTrackHistos(), CSCEfficiency::filter(), pf_01_customizeAll.SeqVisitor::prepareSearch(), pf_01_customizeSimulation.SeqVisitor::prepareSearch(), GlobalMuonToMuonProducer::printTrackRecHits(), DeDxDiscriminatorProducer::produce(), reco::modules::MultiTrackSelector::select(), and ConversionProducer::trackQualityFilter().
|
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(), CSCEfficiency::filter(), reco::modules::CosmicTrackSplitter::makeCandidate(), reco::modules::TrackerTrackHitFilter::makeCandidate(), TrackMerger::merge(), PrintRecoObjects::print(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), TrackListCombiner::produce(), QualityFilter::produce(), MuonTrackProducer::produce(), FastTrackMerger::produce(), L3TkMuonProducer::produce(), cms::SimpleTrackListMerger::produce(), cms::TrackListMerger::produce(), TrackCandidateProducer::produce(), reco::modules::CosmicTrackSelector::produce(), reco::modules::DuplicateListMerger::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), TrackTransformerForGlobalCosmicMuons::transform(), TrackTransformer::transform(), TrackTransformerForCosmicMuons::transform(), and GlobalMuonRefitter::transform().
|
inline |
momentum vector at the innermost hit position
Definition at line 45 of file Track.h.
References extra_.
Referenced by TrackDetectorAssociator::associate(), ConversionProducer::buildCollection(), IdealHelixParameters::calculate(), ConversionProducer::checkPhi(), helper::GsfElectronCollectionStoreManager::cloneAndStore(), PFEGammaProducer::createSingleLegConversions(), TrackDetectorAssociator::crossedIP(), IdealHelixParameters::evalCircleCenter(), IdealHelixParameters::evalMomentumatTangentPoint(), IdealHelixParameters::evalTangentPoint(), AlCaHOCalibProducer::getFreeTrajectoryState(), trajectoryStateTransform::innerFreeState(), TrackMerger::merge(), reco::PFDisplacedVertex::momentum(), fireworks::prepareTrack(), ConversionProducer::preselectTrackPair(), PrintRecoObjects::print(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), TrackListCombiner::produce(), QualityFilter::produce(), MuonTrackProducer::produce(), FastTrackMerger::produce(), L3TkMuonProducer::produce(), cms::SimpleTrackListMerger::produce(), cms::TrackListMerger::produce(), TrackCandidateProducer::produce(), reco::modules::DuplicateTrackMerger::produce(), reco::modules::CosmicTrackSelector::produce(), reco::modules::DuplicateListMerger::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), and MuonTrackingRegionBuilder::region().
|
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(), QualityFilter::produce(), MuonTrackProducer::produce(), FastTrackMerger::produce(), L3TkMuonProducer::produce(), cms::TrackListMerger::produce(), cms::SimpleTrackListMerger::produce(), TrackCandidateProducer::produce(), reco::modules::CosmicTrackSelector::produce(), reco::modules::DuplicateListMerger::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), reco::modules::TrackMultiSelector::produce(), and reco::modules::TrackFullCloneSelectorBase< Selector >::produce().
|
inline |
position of the innermost hit
Definition at line 42 of file Track.h.
References extra_.
Referenced by TrackDetectorAssociator::associate(), ConversionProducer::buildCollection(), IdealHelixParameters::calculate(), TrackEfficiencyMonitor::checkSemiCylinder(), helper::GsfElectronCollectionStoreManager::cloneAndStore(), PFEGammaProducer::createSingleLegConversions(), TrackDetectorAssociator::crossedIP(), AlignmentTrackSelector::detailedHitsCheck(), directionAlongMomentum(), fw::estimate_field(), IdealHelixParameters::evalCircleCenter(), IdealHelixParameters::evalMomentumatTangentPoint(), IdealHelixParameters::evalTangentPoint(), MillePedeMonitor::fillTrack(), PrimaryVertexAnalyzer4PU::fillTrackHistos(), CSCEfficiency::filter(), AlCaHOCalibProducer::getFreeTrajectoryState(), trajectoryStateTransform::innerFreeState(), reco::modules::CosmicTrackSplitter::makeCandidate(), reco::modules::TrackerTrackHitFilter::makeCandidate(), TrackMerger::merge(), fireworks::prepareTrack(), PrintRecoObjects::print(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), TrackListCombiner::produce(), QualityFilter::produce(), MuonTrackProducer::produce(), FastTrackMerger::produce(), L3TkMuonProducer::produce(), cms::SimpleTrackListMerger::produce(), cms::TrackListMerger::produce(), TrackCandidateProducer::produce(), reco::modules::DuplicateTrackMerger::produce(), reco::modules::CosmicTrackSelector::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::DuplicateListMerger::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), PropagateToMuon::startingState(), and SiStripFineDelayTOF::trackParameters().
|
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(), QualityFilter::produce(), MuonTrackProducer::produce(), FastTrackMerger::produce(), L3TkMuonProducer::produce(), cms::SimpleTrackListMerger::produce(), cms::TrackListMerger::produce(), TrackCandidateProducer::produce(), reco::modules::CosmicTrackSelector::produce(), reco::modules::DuplicateListMerger::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), reco::modules::TrackMultiSelector::produce(), and reco::modules::TrackFullCloneSelectorBase< Selector >::produce().
|
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().
|
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(), CSCEfficiency::filter(), reco::modules::CosmicTrackSplitter::makeCandidate(), reco::modules::TrackerTrackHitFilter::makeCandidate(), TrackMerger::merge(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), TrackListCombiner::produce(), QualityFilter::produce(), MuonTrackProducer::produce(), FastTrackMerger::produce(), L3TkMuonProducer::produce(), cms::SimpleTrackListMerger::produce(), cms::TrackListMerger::produce(), TrackCandidateProducer::produce(), reco::modules::CosmicTrackSelector::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::DuplicateListMerger::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), TrackTransformerForGlobalCosmicMuons::transform(), TrackTransformer::transform(), TrackTransformerForCosmicMuons::transform(), and GlobalMuonRefitter::transform().
|
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().
|
inline |
momentum vector at the outermost hit position
Definition at line 49 of file Track.h.
References extra_.
Referenced by PFTrackTransformer::addPoints(), TrackDetectorAssociator::associate(), ConversionProducer::buildCollection(), helper::GsfElectronCollectionStoreManager::cloneAndStore(), PFEGammaProducer::createSingleLegConversions(), TrackDetectorAssociator::crossedIP(), fw::estimate_field(), CSCEfficiency::filter(), TrackMerger::merge(), trajectoryStateTransform::outerFreeState(), fireworks::prepareTrack(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), TrackListCombiner::produce(), QualityFilter::produce(), MuonTrackProducer::produce(), FastTrackMerger::produce(), L3TkMuonProducer::produce(), cms::SimpleTrackListMerger::produce(), cms::TrackListMerger::produce(), TrackCandidateProducer::produce(), reco::modules::CosmicTrackSelector::produce(), reco::modules::DuplicateListMerger::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), and SiStripFineDelayTOF::trackParameters().
|
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(), QualityFilter::produce(), MuonTrackProducer::produce(), FastTrackMerger::produce(), L3TkMuonProducer::produce(), cms::TrackListMerger::produce(), cms::SimpleTrackListMerger::produce(), TrackCandidateProducer::produce(), reco::modules::CosmicTrackSelector::produce(), reco::modules::DuplicateListMerger::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), reco::modules::TrackMultiSelector::produce(), and reco::modules::TrackFullCloneSelectorBase< Selector >::produce().
|
inline |
magnitude of momentum vector at the outermost hit position
Definition at line 83 of file Track.h.
References extra_.
|
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().
|
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(), PFEGammaProducer::createSingleLegConversions(), TrackDetectorAssociator::crossedIP(), AlignmentTrackSelector::detailedHitsCheck(), fw::estimate_field(), MillePedeMonitor::fillTrack(), CSCEfficiency::filter(), reco::modules::CosmicTrackSplitter::makeCandidate(), reco::modules::TrackerTrackHitFilter::makeCandidate(), TrackMerger::merge(), trajectoryStateTransform::outerFreeState(), fireworks::prepareTrack(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), TrackListCombiner::produce(), QualityFilter::produce(), MuonTrackProducer::produce(), FastTrackMerger::produce(), L3TkMuonProducer::produce(), cms::SimpleTrackListMerger::produce(), cms::TrackListMerger::produce(), TrackCandidateProducer::produce(), reco::modules::DuplicateTrackMerger::produce(), reco::modules::CosmicTrackSelector::produce(), reco::modules::DuplicateListMerger::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), spr::propagateTrackerEnd(), PropagateToMuon::startingState(), and SiStripFineDelayTOF::trackParameters().
|
inline |
transverse momentum at the outermost hit position
Definition at line 85 of file Track.h.
References extra_.
|
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(), and TrackExtrapolator::propagateTrackToVolume().
|
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(), and TrackExtrapolator::propagateTrackToVolume().
|
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(), and TrackExtrapolator::propagateTrackToVolume().
|
inline |
polar radius of the outermost hit position
Definition at line 93 of file Track.h.
References extra_.
|
inline |
outermost trajectory state curvilinear errors
Definition at line 51 of file Track.h.
References extra_.
Referenced by helper::GsfElectronCollectionStoreManager::cloneAndStore(), helper::MuonCollectionStoreManager::processMuon(), helper::TrackCollectionStoreManager::processTrack(), TrackListCombiner::produce(), QualityFilter::produce(), MuonTrackProducer::produce(), FastTrackMerger::produce(), L3TkMuonProducer::produce(), cms::SimpleTrackListMerger::produce(), cms::TrackListMerger::produce(), TrackCandidateProducer::produce(), reco::modules::CosmicTrackSelector::produce(), reco::modules::DuplicateListMerger::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), reco::modules::TrackMultiSelector::produce(), and reco::modules::TrackFullCloneSelectorBase< Selector >::produce().
|
inline |
polar angle of the momentum vector at the outermost hit position
Definition at line 91 of file Track.h.
References extra_.
|
inline |
x coordinate of the outermost hit position
Definition at line 77 of file Track.h.
References extra_.
Referenced by AlCaHOCalibProducer::getFreeTrajectoryState(), and TrackExtrapolator::propagateTrackToVolume().
|
inline |
y coordinate of the outermost hit position
Definition at line 79 of file Track.h.
References extra_.
Referenced by AlCaHOCalibProducer::getFreeTrajectoryState(), and TrackExtrapolator::propagateTrackToVolume().
|
inline |
z coordinate of the outermost hit position
Definition at line 81 of file Track.h.
References extra_.
Referenced by AlCaHOCalibProducer::getFreeTrajectoryState(), and TrackExtrapolator::propagateTrackToVolume().
|
inline |
Get i-th hit on the track.
Definition at line 67 of file Track.h.
References extra_.
Referenced by SiStripMonitorMuonHLT::analyzeOnTrackClusters(), SegmentToTrackAssociator::associate(), OutsideInMuonSeeder::doDebug(), MuonAlignmentAnalyzer::doMatching(), MuonAlignment::doMatching(), SeedGeneratorFromProtoTracksEDProducer::produce(), TrackListCombiner::produce(), FastTrackMerger::produce(), cms::TrackListMerger::produce(), TrackCandidateProducer::produce(), reco::modules::DuplicateListMerger::produce(), reco::TransientTrack::recHit(), and SeedFromProtoTrack::SeedFromProtoTrack().
|
inline |
Iterator to first hit on the track.
Definition at line 63 of file Track.h.
References extra_.
Referenced by FWTrackHitsDetailView::addModules(), FWConvTrackHitsDetailView::addModules(), fireworks::addSiStripClusters(), RPCRecHitProbability::analyze(), RPCMonitorDigi::analyze(), TrackSplittingMonitor::analyze(), TestOutliers::analyze(), CosmicSplitterValidation::analyze(), SegmentsTrackAssociator::associate(), QuickTrackAssociatorByHits::associateRecoToSimImplementation(), QuickTrackAssociatorByHits::associateSimToRecoImplementation(), MuonErrorMatrixAdjuster::attachRecHits(), FWTrackTrackingRecHitProxyBuilder::build(), FWTracksModulesProxyBuilder::build(), AlignmentTrackSelector::checkPrescaledHits(), helper::GsfElectronCollectionStoreManager::cloneAndStore(), SiStripFineDelayHit::closestCluster(), helper::MuonCollectionStoreManager::clusterRefsOK(), RecoMuonValidator::countMuonHits(), RecoMuonValidator::countTrackerHits(), CalibrationTrackSelector::detailedHitsCheck(), AlignmentTrackSelector::detailedHitsCheck(), PrimaryVertexAnalyzer4PU::dumpHitInfo(), TrackQuality::evaluate(), TkAlCaRecoMonitor::fillHitmaps(), MillePedeMonitor::fillTrack(), PrimaryVertexAnalyzer4PU::fillTrackHistos(), MuonAlignmentPreFilter::filter(), FastTrackMerger::findId(), TrackCandidateProducer::findId(), GlobalCosmicMuonTrajectoryBuilder::getTransientRecHits(), GlobalTrajectoryBuilderBase::getTransientRecHits(), GlobalCosmicMuonTrajectoryBuilder::isTraversing(), MuonSegmentMatcher::matchCSC(), MuonSegmentMatcher::matchDT(), spr::matchedSimTrack(), TrackMerger::merge(), ConversionHitChecker::nSharedHits(), FWTrackResidualDetailView::prepareData(), GlobalMuonToMuonProducer::printTrackRecHits(), helper::MuonCollectionStoreManager::processMuon(), reco::modules::MultiTrackSelector::processMVA(), helper::TrackCollectionStoreManager::processTrack(), MuonTrackProducer::produce(), FastTrackMerger::produce(), L3TkMuonProducer::produce(), cms::TrackListMerger::produce(), reco::modules::CosmicTrackSelector::produce(), SiStripElectronAssociator::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), TrackClusterSplitter::produce(), reco::modules::CosmicTrackSplitter::produce(), reco::modules::TrackerTrackHitFilter::produceFromTrack(), fireworks::pushNearbyPixelHits(), fireworks::pushPixelHits(), TSGForRoadSearch::pushTrajectorySeed(), SiStripFineDelayHit::rechit(), reco::TransientTrack::recHitsBegin(), reco::modules::CosmicTrackSelector::select(), reco::modules::MultiTrackSelector::select(), and CosmicMuonLinksProducer::sharedHits().
|
inline |
Iterator to last hit on the track.
Definition at line 65 of file Track.h.
References extra_.
Referenced by FWTrackHitsDetailView::addModules(), FWConvTrackHitsDetailView::addModules(), fireworks::addSiStripClusters(), RPCRecHitProbability::analyze(), RPCMonitorDigi::analyze(), TrackSplittingMonitor::analyze(), TestOutliers::analyze(), CosmicSplitterValidation::analyze(), SegmentsTrackAssociator::associate(), QuickTrackAssociatorByHits::associateRecoToSimImplementation(), QuickTrackAssociatorByHits::associateSimToRecoImplementation(), MuonErrorMatrixAdjuster::attachRecHits(), FWTrackTrackingRecHitProxyBuilder::build(), FWTracksModulesProxyBuilder::build(), AlignmentTrackSelector::checkPrescaledHits(), helper::GsfElectronCollectionStoreManager::cloneAndStore(), SiStripFineDelayHit::closestCluster(), helper::MuonCollectionStoreManager::clusterRefsOK(), RecoMuonValidator::countMuonHits(), RecoMuonValidator::countTrackerHits(), CalibrationTrackSelector::detailedHitsCheck(), AlignmentTrackSelector::detailedHitsCheck(), SiStripFineDelayHit::detId(), PrimaryVertexAnalyzer4PU::dumpHitInfo(), TrackQuality::evaluate(), TkAlCaRecoMonitor::fillHitmaps(), MillePedeMonitor::fillTrack(), PrimaryVertexAnalyzer4PU::fillTrackHistos(), MuonAlignmentPreFilter::filter(), FastTrackMerger::findId(), TrackCandidateProducer::findId(), GlobalCosmicMuonTrajectoryBuilder::getTransientRecHits(), GlobalTrajectoryBuilderBase::getTransientRecHits(), GlobalCosmicMuonTrajectoryBuilder::isTraversing(), MuonSegmentMatcher::matchCSC(), MuonSegmentMatcher::matchDT(), spr::matchedSimTrack(), TrackMerger::merge(), ConversionHitChecker::nSharedHits(), GlobalMuonToMuonProducer::printTrackRecHits(), helper::MuonCollectionStoreManager::processMuon(), reco::modules::MultiTrackSelector::processMVA(), helper::TrackCollectionStoreManager::processTrack(), MuonTrackProducer::produce(), FastTrackMerger::produce(), L3TkMuonProducer::produce(), cms::TrackListMerger::produce(), reco::modules::CosmicTrackSelector::produce(), SiStripElectronAssociator::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), reco::modules::TrackMultiSelector::produce(), reco::modules::TrackFullCloneSelectorBase< Selector >::produce(), TrackClusterSplitter::produce(), reco::modules::CosmicTrackSplitter::produce(), reco::modules::TrackerTrackHitFilter::produceFromTrack(), fireworks::pushNearbyPixelHits(), fireworks::pushPixelHits(), TSGForRoadSearch::pushTrajectorySeed(), SiStripFineDelayHit::rechit(), reco::TransientTrack::recHitsEnd(), reco::modules::CosmicTrackSelector::select(), reco::modules::MultiTrackSelector::select(), and CosmicMuonLinksProducer::sharedHits().
|
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(), OutsideInMuonSeeder::doDebug(), MuonAlignment::doMatching(), TrackMerger::merge(), TrackListCombiner::produce(), SeedGeneratorFromProtoTracksEDProducer::produce(), QualityFilter::produce(), FastTrackMerger::produce(), cms::TrackListMerger::produce(), TrackCandidateProducer::produce(), reco::modules::DuplicateListMerger::produce(), TrackClusterSplitter::produce(), TSGForRoadSearch::pushTrajectorySeed(), reco::TransientTrack::recHitsSize(), and SeedFromProtoTrack::SeedFromProtoTrack().
|
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(), FastTrackMerger::produce(), cms::TrackListMerger::produce(), cms::SimpleTrackListMerger::produce(), reco::modules::CosmicTrackSelector::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::DuplicateListMerger::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), and reco::modules::TrackMultiSelector::produce().
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().
Referenced by TrackVertexArbitration::trackVertexArbitrator().
double Track::residualY | ( | int | position | ) | const |
Definition at line 19 of file Track.cc.
References extra_, and reco::TrackBase::hitPattern().
Referenced by TrackVertexArbitration::trackVertexArbitrator().
|
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(), QualityFilter::produce(), MuonTrackProducer::produce(), FastTrackMerger::produce(), cms::SimpleTrackListMerger::produce(), cms::TrackListMerger::produce(), TrackCandidateProducer::produce(), reco::modules::CosmicTrackSelector::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::DuplicateListMerger::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), reco::modules::TrackMultiSelector::produce(), and reco::modules::TrackFullCloneSelectorBase< Selector >::produce().
|
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 TestOutliers::analyze(), PFElecTkProducer::applySelection(), PFElecTkProducer::FindPfRef(), reco::modules::CosmicTrackSplitter::makeCandidate(), reco::modules::TrackerTrackHitFilter::makeCandidate(), TrackListCombiner::produce(), QualityFilter::produce(), FastTrackMerger::produce(), cms::TrackListMerger::produce(), cms::SimpleTrackListMerger::produce(), TrackCandidateProducer::produce(), reco::modules::CosmicTrackSelector::produce(), reco::modules::DuplicateListMerger::produce(), reco::modules::AnalyticalTrackSelector::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), and reco::modules::TrackMultiSelector::produce().
|
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(), MuonTrackProducer::produce(), GsfTrackMixer::produce(), AlCaIsoTracksProducer::produce(), SeedToTrackProducer::produce(), KfTrackProducerBase::putInEvt(), GsfTrackProducerBase::putInEvt(), and TrackProducerWithSCAssociation::putInEvt().
|
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().