#include <DataFormats/TrackReco/interface/TrackBase.h>
Public Member Functions | |
TrackAlgorithm | algo () const |
AlgoMask | algoMask () const |
unsigned long long | algoMaskUL () const |
std::string | algoName () const |
bool | appendHitPattern (const DetId &id, TrackingRecHit::Type hitType, const TrackerTopology &ttopo) |
bool | appendHitPattern (const TrackingRecHit &hit, const TrackerTopology &ttopo) |
append a single hit to the HitPattern More... | |
bool | appendHitPattern (const uint16_t pattern, TrackingRecHit::Type hitType) |
template<typename C > | |
bool | appendHits (const C &c, const TrackerTopology &ttopo) |
append hit patterns from vector of hit references More... | |
template<typename I > | |
bool | appendHits (const I &begin, const I &end, const TrackerTopology &ttopo) |
bool | appendMuonHitPattern (const DetId &id, TrackingRecHit::Type hitType) |
bool | appendTrackerHitPattern (uint16_t subdet, uint16_t layer, uint16_t stereo, TrackingRecHit::Type hitType) |
double | beta () const |
velocity at the reference point in natural units More... | |
double | betaError () const |
error on beta More... | |
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 covariance matrix (i, j = 0, ... 4) More... | |
double | covBetaBeta () const |
error on beta More... | |
double | covt0t0 () const |
error on t0 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). 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 | 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 | dxyError () const |
error on dxy More... | |
double | dxyError (const BeamSpot &theBeamSpot) const |
error on dxy with respect to a user-given beamspot More... | |
double | dxyError (Point const &vtx, math::Error< 3 >::type const &vertexCov) const |
error on dxy with respect to a user-given reference point + uncertainty (i.e. reco::Vertex position) 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) 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 | isAlgoInMask (TrackAlgorithm a) const |
bool | isLooper () const |
bool | isTimeOk () const |
return true if timing measurement is usable More... | |
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... | |
TrackAlgorithm | originalAlgo () const |
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 | resetHitPattern () |
Sets HitPattern as empty. More... | |
void | setAlgoMask (AlgoMask a) |
void | setAlgorithm (const TrackAlgorithm a) |
Track algorithm. More... | |
void | setNLoops (signed char value) |
void | setOriginalAlgorithm (const TrackAlgorithm a) |
void | setQuality (const TrackQuality) |
void | setQualityMask (int qualMask) |
void | setStopReason (uint8_t value) |
uint8_t | stopReason () const |
double | t0 () const |
time at the reference point More... | |
double | t0Error () const |
error on t0 More... | |
double | theta () const |
polar angle More... | |
double | thetaError () const |
error on theta More... | |
TrackBase () | |
default constructor More... | |
TrackBase (double chi2, double ndof, const Point &vertex, const Vector &momentum, int charge, const CovarianceMatrix &cov, TrackAlgorithm=undefAlgorithm, TrackQuality quality=undefQuality, signed char nloops=0, uint8_t stopReason=0, float t0=0.f, float beta=0.f, float covt0t0=-1.f, float covbetabeta=-1.f) | |
constructor from fit parameters and error matrix 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... | |
Static Public Member Functions | |
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 | |
static const std::string | algoNames [] |
static const std::string | qualityNames [] |
Private Attributes | |
std::bitset< algoSize > | algoMask_ |
algo mask, bit set for the algo where it was reconstructed + each algo a track was found overlapping by the listmerger More... | |
uint8_t | algorithm_ |
track algorithm More... | |
float | beta_ |
char | charge_ |
electric charge More... | |
float | chi2_ |
chi-squared More... | |
float | covariance_ [covarianceSize] |
perigee 5x5 covariance matrix More... | |
float | covbetabeta_ |
float | covt0t0_ |
errors for time and velocity (separate from cov for now) More... | |
HitPattern | hitPattern_ |
hit pattern More... | |
Vector | momentum_ |
momentum vector at innermost point More... | |
float | ndof_ |
number of degrees of freedom More... | |
signed char | nLoops_ |
number of loops made during the building of the trajectory of a looper particle More... | |
uint8_t | originalAlgorithm_ |
track algorithm More... | |
uint8_t | quality_ |
track quality More... | |
uint8_t | stopReason_ |
Stop Reason. More... | |
float | t0_ |
time at the reference point on track More... | |
Point | vertex_ |
innermost (reference) point on track More... | |
Common base class to all track types, including Muon fits. Internally, the following information is stored:
A reference position on the track: (vx,vy,vz)
Momentum at this given reference point on track: (px,py,pz)
5D curvilinear covariance matrix from the track fit
Charge
Chi-square and number of degrees of freedom
Summary information of the hit pattern
For tracks reconstructed in the CMS Tracker, the reference position is the point of closest approach to the centre of CMS. For muons, this is not necessarily true.
Parameters associated to the 5D curvilinear covariance matrix:
(qoverp, lambda, phi, dxy, dsz)
defined as:
qoverp = q / abs(p) = signed inverse of momentum [1/GeV]
lambda = pi/2 - polar angle at the given point
phi = azimuth angle at the given point
dxy = -vx*sin(phi) + vy*cos(phi) [cm]
dsz = vz*cos(lambda) - (vx*cos(phi)+vy*sin(phi))*sin(lambda) [cm]
Geometrically, dxy is the signed distance in the XY plane between the the straight line passing through (vx,vy) with azimuthal angle phi and the point (0,0).
The dsz parameter is the signed distance in the SZ plane between the the straight line passing through (vx,vy,vz) with angles (phi, lambda) and the point (s=0,z=0). The S axis is defined by the projection of the straight line onto the XY plane. The convention is to assign the S coordinate for (vx,vy) as the value vx*cos(phi)+vy*sin(phi). This value is zero when (vx,vy) is the point of minimum transverse distance to (0,0).
Note that dxy and dsz provide sensible estimates of the distance from the true particle trajectory to (0,0,0) ONLY in two cases:
When (vx,vy,vz) already correspond to the point of minimum transverse distance to (0,0,0) or is close to it (so that the differences between considering the exact trajectory or a straight line in this range are negligible). This is usually true for Tracker tracks.
When the track has infinite or extremely high momentum
More details about this parametrization are provided in the following document:
A. Strandlie, W. Wittek, "Propagation of Covariance Matrices...", CMS Note 2006/001
Definition at line 62 of file TrackBase.h.
typedef std::bitset<algoSize> reco::TrackBase::AlgoMask |
algo mask
Definition at line 145 of file TrackBase.h.
5 parameter covariance matrix
Definition at line 74 of file TrackBase.h.
typedef unsigned int reco::TrackBase::index |
index type
Definition at line 86 of file TrackBase.h.
parameter vector
Definition at line 71 of file TrackBase.h.
typedef math::XYZPoint reco::TrackBase::Point |
point in the space
Definition at line 80 of file TrackBase.h.
spatial vector
Definition at line 77 of file TrackBase.h.
anonymous enum |
anonymous enum |
anonymous enum |
track algorithm
Definition at line 89 of file TrackBase.h.
track quality
Enumerator | |
---|---|
undefQuality | |
loose | |
tight | |
highPurity | |
confirmed | |
goodIterative | |
looseSetWithPV | |
highPuritySetWithPV | |
discarded | |
qualitySize |
Definition at line 150 of file TrackBase.h.
TrackBase::TrackBase | ( | ) |
default constructor
Definition at line 59 of file TrackBase.cc.
References algoMask_, algorithm_, covariance_, dimension, mps_fire::i, charmTagsComputerCvsB_cfi::idx, and dqmiolumiharvest::j.
TrackBase::TrackBase | ( | double | chi2, |
double | ndof, | ||
const Point & | vertex, | ||
const Vector & | momentum, | ||
int | charge, | ||
const CovarianceMatrix & | cov, | ||
TrackAlgorithm | algorithm = undefAlgorithm , |
||
TrackQuality | quality = undefQuality , |
||
signed char | nloops = 0 , |
||
uint8_t | stopReason = 0 , |
||
float | t0 = 0.f , |
||
float | beta = 0.f , |
||
float | covt0t0 = -1.f , |
||
float | covbetabeta = -1.f |
||
) |
constructor from fit parameters and error matrix
Definition at line 83 of file TrackBase.cc.
References algoMask_, algorithm_, covariance_, dimension, mps_fire::i, charmTagsComputerCvsB_cfi::idx, dqmiolumiharvest::j, quality(), and setQuality().
|
virtual |
|
inline |
Definition at line 532 of file TrackBase.h.
References algorithm_.
Referenced by algoName(), ElectronConversionRejectionValidator::analyze(), TkConvValidator::analyze(), ConversionProducer::buildCollection(), TrackExtenderWithMTDT< TrackCollection >::buildTrack(), ElectronTkIsolation::passAlgo(), EleTkIsolFromCands::passAlgo(), and QcdUeDQM::trackSelection().
|
static |
Definition at line 137 of file TrackBase.cc.
References algoNames, algoSize, spr::find(), Skims_PA_cff::name, findQualityFiles::size, and undefAlgorithm.
Referenced by AlignmentTrackSelector::AlignmentTrackSelector(), BeamFitter::BeamFitter(), TCMETAlgo::configure(), TrackingNtuple::fillSeeds(), cms::MuonTCMETValueMapProducer::MuonTCMETValueMapProducer(), QcdUeDQM::QcdUeDQM(), RecoTrackSelectorBase::RecoTrackSelectorBase(), TrackAlgoPriorityOrderESProducer::TrackAlgoPriorityOrderESProducer(), and EleTkIsolFromCands::TrkCuts::TrkCuts().
|
inline |
Definition at line 400 of file TrackBase.h.
References algoMask_.
Referenced by algoMaskUL(), isAlgoInMask(), and BadGlobalMuonTagger::outInOnly().
|
inline |
|
inline |
Definition at line 535 of file TrackBase.h.
References algo().
Referenced by LhcTrackAnalyzer::analyze(), and TrackingNtuple::fillTracks().
|
inlinestatic |
|
inline |
Definition at line 491 of file TrackBase.h.
References reco::HitPattern::appendHit(), and hitPattern_.
|
inline |
append a single hit to the HitPattern
Definition at line 495 of file TrackBase.h.
References reco::HitPattern::appendHit(), and hitPattern_.
Referenced by MuonErrorMatrixAdjuster::attachRecHits(), and SeedToTrackProducer::produce().
|
inline |
Definition at line 506 of file TrackBase.h.
References reco::HitPattern::appendHit(), hitPattern_, and topSingleLeptonDQM_PU_cfi::pattern.
bool reco::TrackBase::appendHits | ( | const C & | c, |
const TrackerTopology & | ttopo | ||
) |
append hit patterns from vector of hit references
Definition at line 522 of file TrackBase.h.
References reco::HitPattern::appendHits(), HltBtagPostValidation_cff::c, and hitPattern_.
bool reco::TrackBase::appendHits | ( | const I & | begin, |
const I & | end, | ||
const TrackerTopology & | ttopo | ||
) |
Definition at line 517 of file TrackBase.h.
References reco::HitPattern::appendHits(), begin, end, and hitPattern_.
|
inline |
This is meant to be used only in cases where the an already-packed hit information is re-interpreted in terms of HitPattern (i.e. the IO rule for reading old versions of HitPattern)
Definition at line 510 of file TrackBase.h.
References reco::HitPattern::appendMuonHit(), and hitPattern_.
|
inline |
These are meant to be used only in cases where the an already-packed hit information is re-interpreted in terms of HitPattern (i.e. MiniAOD PackedCandidate, and the IO rule for reading old versions of HitPattern)
Definition at line 499 of file TrackBase.h.
References reco::HitPattern::appendTrackerHit(), and hitPattern_.
|
inline |
velocity at the reference point in natural units
Definition at line 644 of file TrackBase.h.
References beta_.
|
inline |
error on beta
Definition at line 743 of file TrackBase.h.
References covbetabeta_, and mathSSE::sqrt().
|
inline |
track electric charge
Definition at line 581 of file TrackBase.h.
References charge_.
Referenced by EwkMuLumiMonitorDQM::analyze(), ObjMonitor::analyze(), TestOutliers::analyze(), CosmicSplitterValidation::analyze(), PrimaryVertexValidation::analyze(), MuonTrackValidator::analyze(), PackedCandidateTrackValidator::analyze(), AlignmentTrackSelector::basicCuts(), ConversionProducer::buildCollection(), reco::CandidatePtrTransientTrack::charge(), reco::TrackTransientTrack::charge(), reco::GsfTransientTrack::charge(), AlignmentTwoBodyDecayTrackSelector::checkCharge(), converter::StandAloneMuonTrackToCandidate::convert(), converter::TrackToCandidate::convert(), muonisolation::PixelTrackExtractor::directionAtPresetRadius(), CandidateChargeBTagComputer::discriminator(), egammaTools::getConversionInfo(), AlCaHOCalibProducer::getFreeTrajectoryState(), FWPFTrackUtils::getTrack(), SeedFromProtoTrack::init(), HLTmumutktkVtxProducer::initialFreeState(), HLTmumutkVtxProducer::initialFreeState(), HLTmmkkFilter::initialFreeState(), HLTmmkFilter::initialFreeState(), trajectoryStateTransform::initialFreeState(), trajectoryStateTransform::innerFreeState(), MuonErrorMatrixAdjuster::makeTrack(), MatcherByPullsAlgorithm::match(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::RecoTauPiZeroStripPlugin3::operator()(), trajectoryStateTransform::outerFreeState(), IsolatedTracksCone::printTrack(), IsolatedTracksNxN::printTrack(), AlignmentMonitorMuonSystemMap1D::processMuonResidualsFromTrack(), AlignmentMonitorMuonVsCurvature::processMuonResidualsFromTrack(), AlignmentMonitorSegmentDifferences::processMuonResidualsFromTrack(), MuonAlignmentFromReference::processMuonResidualsFromTrack(), PFDisplacedTrackerVertexProducer::produce(), pat::PATIsolatedTrackProducer::produce(), spr::propagateCosmicCALO(), TrackExtrapolator::propagateTrackToVolume(), ptError(), qoverp(), FWConvTrackHitsDetailView::setTextInfo(), and ConversionProducer::trackD0Cut().
|
inline |
chi-squared of the fit
Definition at line 572 of file TrackBase.h.
References chi2_.
Referenced by TrackTypeMonitor::analyze(), PrimaryVertexValidation::analyze(), PackedCandidateTrackValidator::analyze(), reco::TransientTrack::chi2(), WtoLNuSelector::filter(), JetVertexChecker::filter(), MuonErrorMatrixAdjuster::makeTrack(), reco::TransientTrack::normalizedChi2(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), MultiTrackSelector::select(), and HIMultiTrackSelector::select().
|
inline |
return track covariance matrix
Definition at line 683 of file TrackBase.h.
References fill(), and visualization-live-secondInstance_cfg::m.
Referenced by PackedCandidateTrackValidator::analyze(), tauImpactParameter::ParticleBuilder::createTrackParticle(), dxyError(), MatcherByPullsAlgorithm::fillInvCov(), DeepBoostedJetTagInfoProducer::fillParticleFeatures(), SeedFromProtoTrack::init(), HLTmumutktkVtxProducer::initialFreeState(), HLTmumutkVtxProducer::initialFreeState(), HLTmmkFilter::initialFreeState(), HLTmmkkFilter::initialFreeState(), trajectoryStateTransform::initialFreeState(), MuonErrorMatrixAdjuster::makeTrack(), MuonErrorMatrixAdjuster::makeTrackExtra(), ptError(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::selectPriVtxCompatibleWithTrack(), and pat::PackedCandidate::setTrackProperties().
|
inline |
(i,j)-th element of covariance matrix (i, j = 0, ... 4)
Definition at line 693 of file TrackBase.h.
References covariance_, covIndex(), mps_fire::i, and dqmiolumiharvest::j.
|
inline |
|
inlinestatic |
covariance matrix index in array
Definition at line 526 of file TrackBase.h.
References a, b, mps_fire::i, and dqmiolumiharvest::j.
Referenced by covariance(), reco::GsfTrack::covarianceMode(), error(), and reco::GsfTrack::errorMode().
|
inline |
|
inline |
dxy parameter in perigee convention (d0 = -dxy)
Definition at line 596 of file TrackBase.h.
References dxy().
Referenced by TrackTypeMonitor::analyze(), TrackSplittingMonitor::analyze(), TestOutliers::analyze(), CosmicSplitterValidation::analyze(), AlignmentTrackSelector::basicCuts(), PFEGammaProducer::createSingleLegConversions(), WtoLNuSelector::filter(), egammaTools::getConversionInfo(), CosmicSplitterValidation::is_gold_muon(), IsolatedTracksCone::printTrack(), IsolatedTracksNxN::printTrack(), and ConversionProducer::trackD0Cut().
|
inline |
error on d0
Definition at line 725 of file TrackBase.h.
References error(), and i_dxy.
Referenced by TrackSplittingMonitor::analyze(), TestOutliers::analyze(), CosmicSplitterValidation::analyze(), PrimaryVertexValidation::analyze(), MultiTrackSelector::select(), HIMultiTrackSelector::select(), and ConversionProducer::trackD0Cut().
|
inline |
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)
Definition at line 599 of file TrackBase.h.
References p(), pt(), px(), py(), pz(), vx(), vy(), and vz().
Referenced by TestOutliers::analyze(), CosmicSplitterValidation::is_gold_muon(), MatcherByPullsAlgorithm::match(), parameters(), RecoTracktoTP::r_dsz(), TPtoRecoTrack::rA_dsz(), and TPtoRecoTrack::rB_dsz().
|
inline |
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.
Definition at line 664 of file TrackBase.h.
References p(), pt(), px(), py(), pz(), vx(), vy(), and vz().
|
inline |
|
inline |
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).
Definition at line 593 of file TrackBase.h.
References pt(), px(), py(), vx(), and vy().
Referenced by TrackTypeMonitor::analyze(), RecoMuonValidator::analyze(), EwkMuLumiMonitorDQM::analyze(), BDHadronTrackMonitoringAnalyzer::analyze(), TestOutliers::analyze(), PrimaryVertexValidation::analyze(), GenPurposeSkimmerData::analyze(), IsolatedTracksNxN::analyze(), PackedCandidateTrackValidator::analyze(), PileupJetIdAlgo::computeIdVariables(), Electron.Electron::cutBasedId(), d0(), muonisolation::PixelTrackExtractor::directionAtPresetRadius(), PFDisplacedVertexHelper::TracksSelector::dxy(), dxy(), ntupleDataFormat.Track::dxyPull(), WtoLNuSelector::filter(), V0Fitter::fitAll(), PFDisplacedVertexCandidateFinder::goodPtResolution(), spr::goodTrack(), PFDisplacedVertexHelper::isTrackSelected(), MatcherByPullsAlgorithm::match(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::RecoTauPiZeroStripPlugin3::operator()(), parameters(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), pat::PATIsolatedTrackProducer::produce(), TriggerMatcherToHLTDebug::produce(), RecoTracktoTP::r_d02(), RecoTracktoTP::r_dxy(), TPtoRecoTrack::rA_d02(), TPtoRecoTrack::rA_dxy(), TPtoRecoTrack::rB_d02(), TPtoRecoTrack::rB_dxy(), pf2pat::IPCutPFCandidateSelectorDefinition::select(), CosmicTrackSelector::select(), MultiTrackSelector::select(), HIMultiTrackSelector::select(), ConversionProducer::trackD0Cut(), and QcdUeDQM::trackSelection().
|
inline |
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.
Definition at line 659 of file TrackBase.h.
References dxy(), reco::BeamSpot::position(), and vz().
Referenced by Electron.Electron::cutBasedId(), and ntupleDataFormat.Track::dxyPull().
|
inline |
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.
Definition at line 652 of file TrackBase.h.
References pt(), px(), py(), vx(), and vy().
Referenced by Electron.Electron::cutBasedId(), and ntupleDataFormat.Track::dxyPull().
|
inline |
error on dxy
Definition at line 722 of file TrackBase.h.
References error(), and i_dxy.
Referenced by PackedCandidateTrackValidator::analyze(), reco::RecoChargedRefCandidate::dxyError(), reco::RecoCandidate::dxyError(), reco::PFCandidate::dxyError(), dxyError(), V0Fitter::fitAll(), HIMultiTrackSelector::processMVA(), pat::PATIsolatedTrackProducer::produce(), pf2pat::IPCutPFCandidateSelectorDefinition::select(), ConversionProducer::trackD0Cut(), and QcdUeDQM::trackSelection().
|
inline |
error on dxy with respect to a user-given beamspot
Definition at line 746 of file TrackBase.h.
References dxyError(), reco::BeamSpot::position(), reco::BeamSpot::rotatedCovariance3D(), and vz().
double TrackBase::dxyError | ( | Point const & | vtx, |
math::Error< 3 >::type const & | vertexCov | ||
) | const |
error on dxy with respect to a user-given reference point + uncertainty (i.e. reco::Vertex position)
Definition at line 148 of file TrackBase.cc.
References covariance(), i_dxy, i_phi, pt(), px(), py(), mathSSE::sqrt(), and badGlobalMuonTaggersAOD_cff::vtx.
|
inline |
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)
Definition at line 602 of file TrackBase.h.
References pt(), px(), py(), pz(), vx(), vy(), and vz().
Referenced by TrackTypeMonitor::analyze(), RecoMuonValidator::analyze(), ObjMonitor::analyze(), TrackSplittingMonitor::analyze(), BDHadronTrackMonitoringAnalyzer::analyze(), TestOutliers::analyze(), HLTMuonMatchAndPlot::analyze(), CosmicSplitterValidation::analyze(), PrimaryVertexValidation::analyze(), IsolatedTracksNxN::analyze(), PackedCandidateTrackValidator::analyze(), AlignmentTrackSelector::basicCuts(), PileupJetIdAlgo::computeIdVariables(), Electron.Electron::cutBasedId(), ntupleDataFormat.Track::dzPull(), HcalHBHEMuonHighEtaAnalyzer::fillTrackParameters(), WtoLNuSelector::filter(), reco::tau::RecoTauQualityCuts::filterChargedCand(), reco::tau::RecoTauQualityCuts::filterTrack_(), V0Fitter::fitAll(), getBestVertex(), getBestVertex_withError(), egammaTools::getConversionInfo(), spr::goodTrack(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::RecoTauPiZeroStripPlugin3::operator()(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), pat::PATPackedCandidateProducer::produce(), pat::PATIsolatedTrackProducer::produce(), TriggerMatcherToHLTDebug::produce(), RecoTracktoTP::r_dz(), RecoTracktoTP::r_dz2(), TPtoRecoTrack::rA_dz(), TPtoRecoTrack::rA_dz2(), TPtoRecoTrack::rB_dz(), TPtoRecoTrack::rB_dz2(), pf2pat::IPCutPFCandidateSelectorDefinition::select(), CosmicTrackSelector::select(), MultiTrackSelector::select(), HIMultiTrackSelector::select(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::selectPriVtxCompatibleWithTrack(), and QcdUeDQM::trackSelection().
|
inline |
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.
Definition at line 672 of file TrackBase.h.
References pt(), px(), py(), pz(), vx(), vy(), and vz().
Referenced by Electron.Electron::cutBasedId(), and ntupleDataFormat.Track::dzPull().
|
inline |
error on dz
Definition at line 731 of file TrackBase.h.
References error(), i_dsz, p(), and pt().
Referenced by TrackSplittingMonitor::analyze(), TestOutliers::analyze(), CosmicSplitterValidation::analyze(), PrimaryVertexValidation::analyze(), PackedCandidateTrackValidator::analyze(), reco::RecoChargedRefCandidate::dzError(), reco::RecoCandidate::dzError(), reco::PFCandidate::dzError(), V0Fitter::fitAll(), TrackFilterForPVFinding::operator()(), HIMultiTrackSelector::processMVA(), pat::PATIsolatedTrackProducer::produce(), pf2pat::IPCutPFCandidateSelectorDefinition::select(), MultiTrackSelector::select(), HIMultiTrackSelector::select(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::selectPriVtxCompatibleWithTrack(), and QcdUeDQM::trackSelection().
|
inline |
error on specified element
Definition at line 696 of file TrackBase.h.
References covariance_, covIndex(), mps_fire::i, and mathSSE::sqrt().
Referenced by Page1Parser.Page1Parser::check_for_whole_start_tag(), d0Error(), dszError(), dxyError(), dzError(), etaError(), lambdaError(), phiError(), TriggerMatcherToHLTDebug::produce(), qoverpError(), and thetaError().
|
inline |
pseudorapidity of momentum vector
Definition at line 623 of file TrackBase.h.
References momentum_.
Referenced by Particle.Particle::__str__(), RecoMuonValidator::analyze(), EwkMuLumiMonitorDQM::analyze(), ObjMonitor::analyze(), GlobalMuonMatchAnalyzer::analyze(), BDHadronTrackMonitoringAnalyzer::analyze(), TestOutliers::analyze(), CosmicSplitterValidation::analyze(), PrimaryVertexValidation::analyze(), GenPurposeSkimmerData::analyze(), IsoTrackCalibration::analyze(), IsoTrackCalib::analyze(), IsolatedTracksCone::analyze(), IsolatedTracksNxN::analyze(), BeamHaloAnalyzer::analyze(), PackedCandidateTrackValidator::analyze(), HcalHBHEMuonHighEtaAnalyzer::analyzeHadron(), HcalHBHEMuonHighEtaAnalyzer::analyzeMuon(), CalibrationTrackSelector::basicCuts(), AlignmentTrackSelector::basicCuts(), FWTrackProxyBuilder::build(), pat::CaloIsolationEnergy::calculate(), EgammaL1TkIsolation::calIsol(), EleTkIsolFromCands::calIsol(), spr::chargeIsolationHcal(), muonisolation::PixelTrackExtractor::deposit(), muonisolation::TrackExtractor::deposit(), muonisolation::PixelTrackExtractor::directionAtPresetRadius(), reco::HcalNoiseInfoProducer::filltracks(), HcalIsoTrkAnalyzer::fillTree(), AlCaIsoTracksFilter::filter(), LeptonSkimming::filter(), PFElecTkProducer::FindPfRef(), Tau3MuReco::getDeltaR(), MuonRecoAnalyzer::getDeltaR(), HLTMuonL3PreFilter::hltFilter(), HLTMuonDimuonL3Filter::hltFilter(), Jet.Jet::jetID(), PFDisplacedVertexCandidateFinder::link(), ticl::SeedingRegionByTracks::makeRegions(), MatcherByPullsAlgorithm::match(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::RecoTauPiZeroStripPlugin3::operator()(), EleTkIsolFromCands::passTrkSel(), IsolatedTracksCone::printTrack(), IsolatedTracksNxN::printTrack(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), OutsideInMuonSeeder::produce(), pat::PATPackedCandidateProducer::produce(), TrackTimeValueMapProducer::produce(), pat::PATIsolatedTrackProducer::produce(), SeedToTrackProducer::produce(), HLTScoutingMuonProducer::produce(), TriggerMatcherToHLTDebug::produce(), spr::propagateCALO(), Jet.Jet::puJetId(), CutsIsolatorWithCorrection::result(), SimpleCutsIsolator::result(), CosmicTrackSelector::select(), MultiTrackSelector::select(), HIMultiTrackSelector::select(), AlCaIsoTracksProducer::select(), FWConvTrackHitsDetailView::setTextInfo(), FWPFTrackUtils::setupLegoTrack(), FWPFTrackUtils::setupTrack(), IsoTrig::studyMipCut(), EwkMuLumiMonitorDQM::tkIso(), HcalIsoTrkAnalyzer::trackP(), StudyCaloResponse::trackPID(), and QcdUeDQM::trackSelection().
|
inline |
error on eta
Definition at line 716 of file TrackBase.h.
References error(), i_lambda, p(), and pt().
Referenced by CosmicSplitterValidation::analyze(), PackedCandidateTrackValidator::analyze(), HIMultiTrackSelector::processMVA(), and MuonTrackingRegionBuilder::region().
TrackBase::CovarianceMatrix & TrackBase::fill | ( | CovarianceMatrix & | v | ) | const |
fill SMatrix
Definition at line 124 of file TrackBase.cc.
References covariance_, reco::fillCovariance(), and findQualityFiles::v.
Referenced by covariance().
|
inline |
Access the hit pattern, indicating in which Tracker layers the track has hits.
Definition at line 489 of file TrackBase.h.
References hitPattern_.
Referenced by TrackTypeMonitor::analyze(), BDHadronTrackMonitoringAnalyzer::analyze(), TkConvValidator::analyze(), PrimaryVertexValidation::analyze(), IsolatedTracksCone::analyze(), IsolatedTracksNxN::analyze(), PackedCandidateTrackValidator::analyze(), spr::coneChargeIsolation(), HcalHBHEMuonHighEtaAnalyzer::fillTrackParameters(), WtoLNuSelector::filter(), egammaTools::getConversionInfo(), spr::goodTrack(), reco::TransientTrack::hitPattern(), PFDisplacedVertexHelper::isTrackSelected(), reco::TransientTrack::numberOfLostHits(), reco::TransientTrack::numberOfValidHits(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::RecoTauPiZeroStripPlugin3::operator()(), pat::PATLostTracks::passTrkCuts(), EleTkIsolFromCands::passTrkSel(), IsolatedTracksCone::printTrack(), IsolatedTracksNxN::printTrack(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), pat::PATPackedCandidateProducer::produce(), pat::PATIsolatedTrackProducer::produce(), CosmicTrackSelector::select(), MultiTrackSelector::select(), HIMultiTrackSelector::select(), pat::PackedCandidate::setHits(), FWConvTrackHitsDetailView::setTextInfo(), and QcdUeDQM::trackSelection().
|
inline |
Definition at line 402 of file TrackBase.h.
References a, and algoMask().
Referenced by BadGlobalMuonTagger::outInOnly().
|
inline |
|
inline |
return true if timing measurement is usable
Definition at line 188 of file TrackBase.h.
References covt0t0_.
|
inline |
Lambda angle.
Definition at line 590 of file TrackBase.h.
References M_PI_2, and momentum_.
Referenced by TestOutliers::analyze(), and parameters().
|
inline |
|
inline |
track momentum vector
Definition at line 635 of file TrackBase.h.
References momentum_.
Referenced by BPHMonitor::analyze(), PhotonValidator::analyze(), StudyCaloResponse::analyze(), IsolatedTracksHcalScale::analyze(), IsolatedTracksCone::analyze(), IsolatedTracksNxN::analyze(), PackedCandidateTrackValidator::analyze(), btagbtvdeep::TrackPairInfoBuilder::buildTrackPairInfo(), converter::StandAloneMuonTrackToCandidate::convert(), converter::TrackToCandidate::convert(), SiStripFineDelayHit::detId(), EgammaHLTTrackIsolation::electronIsolation(), JetVertexChecker::filter(), SeedFromProtoTrack::init(), HLTmumutktkVtxProducer::initialFreeState(), HLTmumutkVtxProducer::initialFreeState(), HLTmmkkFilter::initialFreeState(), HLTmmkFilter::initialFreeState(), trajectoryStateTransform::initialFreeState(), CalibrationTrackSelectorFromDetIdList::makeCandidate(), reco::modules::CosmicTrackSplitter::makeCandidate(), reco::modules::TrackerTrackHitFilter::makeCandidate(), MuonErrorMatrixAdjuster::makeTrack(), reco::PFDisplacedVertex::momentum(), GhostTrackComputer::operator()(), CombinedSVComputer::operator()(), IsolatedTracksCone::printTrack(), IsolatedTracksNxN::printTrack(), SeedGeneratorFromProtoTracksEDProducer::produce(), SoftLepton::refineJetAxis(), MuonTrackingRegionBuilder::region(), and ObjectValidator::validTrack().
|
inline |
number of degrees of freedom of the fit
Definition at line 575 of file TrackBase.h.
References ndof_.
Referenced by TrackTypeMonitor::analyze(), PackedCandidateTrackValidator::analyze(), WtoLNuSelector::filter(), MuonErrorMatrixAdjuster::makeTrack(), reco::TransientTrack::ndof(), reco::TransientTrack::normalizedChi2(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), MultiTrackSelector::select(), HIMultiTrackSelector::select(), and QcdUeDQM::trackSelection().
|
inline |
|
inline |
chi-squared divided by n.d.o.f. (or chi-squared * 1e6 if n.d.o.f. is zero)
Definition at line 578 of file TrackBase.h.
Referenced by TrackSplittingMonitor::analyze(), TestOutliers::analyze(), CosmicSplitterValidation::analyze(), PrimaryVertexValidation::analyze(), IsolatedTracksNxN::analyze(), BeamHaloAnalyzer::analyze(), PackedCandidateTrackValidator::analyze(), CalibrationTrackSelector::basicCuts(), AlignmentTrackSelector::basicCuts(), CSCHaloAlgo::Calculate(), DeepBoostedJetTagInfoProducer::fillParticleFeatures(), V0Fitter::fitAll(), PFDisplacedVertexCandidateFinder::goodPtResolution(), spr::goodTrack(), PFDisplacedVertexHelper::isTrackSelected(), reco::tau::lead_track_chi2(), MuonResidualsFromTrack::normalizedChi2(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::RecoTauPiZeroStripPlugin3::operator()(), IsolatedTracksCone::printTrack(), IsolatedTracksNxN::printTrack(), AlignmentMonitorMuonVsCurvature::processMuonResidualsFromTrack(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), CosmicTrackSelector::select(), MultiTrackSelector::select(), HIMultiTrackSelector::select(), pat::PackedCandidate::setTrackProperties(), ConversionProducer::trackQualityFilter(), and QcdUeDQM::trackSelection().
|
inline |
number of cases where track crossed a layer without getting a hit.
Definition at line 754 of file TrackBase.h.
References hitPattern_, reco::HitPattern::numberOfLostHits(), and reco::HitPattern::TRACK_HITS.
Referenced by AlignmentTrackSelector::basicCuts(), reco::Track::lost(), IsolatedTracksCone::printTrack(), IsolatedTracksNxN::printTrack(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), MultiTrackSelector::select(), and HIMultiTrackSelector::select().
|
inline |
number of valid hits found
Definition at line 751 of file TrackBase.h.
References hitPattern_, and reco::HitPattern::numberOfValidHits().
Referenced by BDHadronTrackMonitoringAnalyzer::analyze(), TestOutliers::analyze(), PrimaryVertexValidation::analyze(), MuonTrackValidator::analyze(), BeamHaloAnalyzer::analyze(), QuickTrackAssociatorByHitsImpl::associateRecoToSimImplementation(), CalibrationTrackSelector::basicCuts(), AlignmentTrackSelector::basicCuts(), MuonAlignmentAnalyzer::doMatching(), V0Fitter::fitAll(), reco::Track::found(), PFDisplacedVertexHelper::isTrackSelected(), pat::PATLostTracks::passTrkCuts(), IsolatedTracksCone::printTrack(), IsolatedTracksNxN::printTrack(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), TriggerMatcherToHLTDebug::produce(), IPProducer< Container, Base, Helper >::produce(), MultiTrackSelector::select(), HIMultiTrackSelector::select(), and ObjectValidator::validTrack().
|
inline |
Definition at line 533 of file TrackBase.h.
References originalAlgorithm_.
Referenced by MTVHistoProducerAlgoForTracker::fill_duplicate_histos().
|
inline |
momentum vector magnitude
Definition at line 605 of file TrackBase.h.
References momentum_.
Referenced by RecoMuonValidator::analyze(), EwkMuLumiMonitorDQM::analyze(), CosmicSplitterValidation::analyze(), PrimaryVertexValidation::analyze(), IsoTrackCalibration::analyze(), StudyCaloResponse::analyze(), IsoTrackCalib::analyze(), IsolatedTracksHcalScale::analyze(), IsolatedTracksCone::analyze(), IsolatedTracksNxN::analyze(), AlignmentTrackSelector::basicCuts(), HBHEHitMap::calcTracksNeighborTowers_(), HBHEHitMap::calcTracksSameTowers_(), pat::TrackerIsolationPt::calculate(), spr::chargeIsolation(), spr::chargeIsolationCone(), spr::chargeIsolationEcal(), spr::chargeIsolationHcal(), IsoTrig::chgIsolation(), spr::coneChargeIsolation(), dsz(), dzError(), etaError(), PFRecoTauDiscriminationAgainstMuon2Helper::eval(), reco::HcalNoiseInfoProducer::filltracks(), HcalIsoTrkAnalyzer::fillTree(), AlCaIsoTracksFilter::filter(), egammaTools::getConversionInfo(), IsoTrig::getGoodTracks(), PFDisplacedVertexHelper::lambdaCP(), MuonIdTruthInfo::matchChi2(), muonid::matchTracks(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), IsolatedTracksCone::printTrack(), IsolatedTracksNxN::printTrack(), TrackTimeValueMapProducer::produce(), pat::PATIsolatedTrackProducer::produce(), spr::propagateCALO(), Electron.Electron::ptErr(), ptError(), qoverp(), PFAlgo::reconstructTrack(), MuonTrackingRegionBuilder::region(), AlCaIsoTracksProducer::select(), IsoTrig::studyIsolation(), IsoTrig::studyMipCut(), and IsoTrig::StudyTrkEbyP().
|
inline |
i-th parameter ( i = 0, ... 4 )
Definition at line 690 of file TrackBase.h.
References mps_fire::i, and parameters().
Referenced by tauImpactParameter::ParticleBuilder::createTrackParticle(), and TriggerMatcherToHLTDebug::produce().
|
inline |
Track parameters with one-to-one correspondence to the covariance matrix.
Definition at line 678 of file TrackBase.h.
References dsz(), dxy(), lambda(), phi(), and qoverp().
Referenced by SiStripFineDelayHit::detId(), and parameter().
|
inline |
azimuthal angle of momentum vector
Definition at line 620 of file TrackBase.h.
References momentum_.
Referenced by Particle.Particle::__str__(), RecoMuonValidator::analyze(), ObjMonitor::analyze(), TrackSplittingMonitor::analyze(), BDHadronTrackMonitoringAnalyzer::analyze(), TestOutliers::analyze(), CosmicSplitterValidation::analyze(), PrimaryVertexValidation::analyze(), GenPurposeSkimmerData::analyze(), IsoTrackCalibration::analyze(), IsoTrackCalib::analyze(), PackedCandidateTrackValidator::analyze(), CalibrationTrackSelector::basicCuts(), AlignmentTrackSelector::basicCuts(), pat::CaloIsolationEnergy::calculate(), EgammaL1TkIsolation::calIsol(), EleTkIsolFromCands::calIsol(), spr::chargeIsolationHcal(), AlignmentTwoBodyDecayTrackSelector::checkAcoplanarity(), AlignmentTwoBodyDecayTrackSelector::checkMETAcoplanarity(), muonisolation::PixelTrackExtractor::deposit(), muonisolation::TrackExtractor::deposit(), muonisolation::PixelTrackExtractor::directionAtPresetRadius(), HcalIsoTrkAnalyzer::fillTree(), AlCaIsoTracksFilter::filter(), LeptonSkimming::filter(), PFElecTkProducer::FindPfRef(), Tau3MuReco::getDeltaR(), MuonRecoAnalyzer::getDeltaR(), HLTMuonL3PreFilter::hltFilter(), HLTMuonDimuonL3Filter::hltFilter(), CosmicSplitterValidation::is_gold_muon(), PFDisplacedVertexCandidateFinder::link(), MatcherByPullsAlgorithm::match(), MuonIdTruthInfo::matchChi2(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::RecoTauPiZeroStripPlugin3::operator()(), parameters(), EleTkIsolFromCands::passTrkSel(), ntupleDataFormat.Track::phiPull(), IsolatedTracksCone::printTrack(), IsolatedTracksNxN::printTrack(), pat::PATPackedCandidateProducer::produce(), pat::PATIsolatedTrackProducer::produce(), SeedToTrackProducer::produce(), HLTScoutingMuonProducer::produce(), spr::propagateCALO(), AlCaIsoTracksProducer::select(), FWConvTrackHitsDetailView::setTextInfo(), IsoTrig::studyMipCut(), EwkMuLumiMonitorDQM::tkIso(), HcalIsoTrkAnalyzer::trackP(), StudyCaloResponse::trackPID(), and QcdUeDQM::trackSelection().
|
inline |
error on phi
Definition at line 719 of file TrackBase.h.
References error(), and i_phi.
Referenced by TrackSplittingMonitor::analyze(), TestOutliers::analyze(), CosmicSplitterValidation::analyze(), PackedCandidateTrackValidator::analyze(), PFMEtSignInterfaceBase::compResolution(), SeedToTrackProducer::produce(), and MuonTrackingRegionBuilder::region().
|
inline |
track transverse momentum
Definition at line 608 of file TrackBase.h.
References momentum_, and mathSSE::sqrt().
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), PFCandConnector::analyseNuclearWSec(), DiDispStaMuonMonitor::analyze(), RecoMuonValidator::analyze(), EwkMuLumiMonitorDQM::analyze(), ObjMonitor::analyze(), TrackSplittingMonitor::analyze(), GlobalMuonMatchAnalyzer::analyze(), ElectronConversionRejectionValidator::analyze(), BDHadronTrackMonitoringAnalyzer::analyze(), TkConvValidator::analyze(), TestOutliers::analyze(), CosmicSplitterValidation::analyze(), PrimaryVertexValidation::analyze(), GenPurposeSkimmerData::analyze(), IsoTrackCalibration::analyze(), StudyCaloResponse::analyze(), IsoTrackCalib::analyze(), IsolatedTracksHcalScale::analyze(), IsolatedTracksCone::analyze(), IsolatedTracksNxN::analyze(), PackedCandidateTrackValidator::analyze(), CalibrationTrackSelector::basicCuts(), AlignmentTrackSelector::basicCuts(), FWTrackProxyBuilder::build(), EleTkIsolFromCands::calIsol(), Photon.Photon::calScaledIsoValueExp(), Photon.Photon::calScaledIsoValueLin(), Photon.Photon::calScaledIsoValueQuadr(), muonisolation::PixelTrackExtractor::deposit(), muonisolation::TrackExtractor::deposit(), muonisolation::PixelTrackExtractor::directionAtPresetRadius(), CandidateChargeBTagComputer::discriminator(), dsz(), dxy(), dxyError(), dz(), dzError(), etaError(), reco::HcalNoiseInfoProducer::filltracks(), HcalIsoTrkAnalyzer::fillTree(), JetVertexChecker::filter(), AlCaIsoTracksFilter::filter(), LeptonSkimming::filter(), V0Fitter::fitAll(), egammaTools::getConversionInfo(), PFDisplacedVertexCandidateFinder::goodPtResolution(), spr::goodTrack(), HLTMuonL3PreFilter::hltFilter(), HLTMuonDimuonL3Filter::hltFilter(), PFDisplacedVertexHelper::isTrackSelected(), PFDisplacedVertexCandidateFinder::link(), MatcherByPullsAlgorithm::match(), muonid::matchTracks(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::RecoTauPiZeroStripPlugin3::operator()(), reco::Vertex::TrackEqual::operator()(), pat::PATLostTracks::passTrkCuts(), IsolatedTracksCone::printTrack(), IsolatedTracksNxN::printTrack(), AlignmentMonitorMuonVsCurvature::processMuonResidualsFromTrack(), AlignmentMonitorMuonSystemMap1D::processMuonResidualsFromTrack(), AlignmentMonitorSegmentDifferences::processMuonResidualsFromTrack(), MuonAlignmentFromReference::processMuonResidualsFromTrack(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), pat::PATPackedCandidateProducer::produce(), TrackTimeValueMapProducer::produce(), pat::PATIsolatedTrackProducer::produce(), SeedToTrackProducer::produce(), HLTScoutingMuonProducer::produce(), TriggerMatcherToHLTDebug::produce(), Electron.Electron::ptErr(), ptError(), ntupleDataFormat.Track::ptPull(), MuonTrackingRegionBuilder::region(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), CutsIsolatorWithCorrection::result(), AnalyticalTrackSelector::run(), MultiTrackSelector::run(), HIMultiTrackSelector::run(), CosmicTrackSelector::select(), MultiTrackSelector::select(), HIMultiTrackSelector::select(), AlCaIsoTracksProducer::select(), reco::modules::HICaloCompatibleTrackSelector::selectByPFCands(), reco::modules::HICaloCompatibleTrackSelector::selectByTowers(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::selectPriVtxCompatibleWithTrack(), Jet.Jet::setCorrP4(), FWConvTrackHitsDetailView::setTextInfo(), FWPFTrackUtils::setupLegoTrack(), FWPFTrackUtils::setupTrack(), IsoTrig::studyMipCut(), EwkMuLumiMonitorDQM::tkIso(), reco::PFDisplacedVertex::trackPosition(), QcdUeDQM::trackSelection(), and ObjectValidator::validTrack().
|
inline |
error on Pt (set to 1000 TeV if charge==0 for safety)
Definition at line 702 of file TrackBase.h.
References charge(), covariance(), i_lambda, i_qoverp, p(), pt(), pz(), and mathSSE::sqrt().
Referenced by TrackSplittingMonitor::analyze(), TestOutliers::analyze(), CosmicSplitterValidation::analyze(), PackedCandidateTrackValidator::analyze(), PFMEtSignInterfaceBase::compResolution(), PFDisplacedVertexCandidateFinder::goodPtResolution(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::RecoTauPiZeroStripPlugin3::operator()(), EleTkIsolFromCands::passTrkSel(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), SeedToTrackProducer::produce(), MultiTrackSelector::select(), HIMultiTrackSelector::select(), and QcdUeDQM::trackSelection().
|
inline |
x coordinate of momentum vector
Definition at line 611 of file TrackBase.h.
References momentum_.
Referenced by EwkMuLumiMonitorDQM::analyze(), BPHMonitor::analyze(), PrimaryVertexValidation::analyze(), IsoTrackCalib::analyze(), pat::TrackerIsolationPt::calculate(), FWInvMassDialog::Calculate(), IsoTrig::chgIsolation(), L6SLBCorrector::correction(), L6SLBCorrectorImpl::correction(), dsz(), dummyPrediction(), dxy(), dxyError(), dz(), HcalIsoTrkAnalyzer::fillTree(), AlCaIsoTracksFilter::filter(), egammaTools::getConversionInfo(), IsoTrig::getGoodTracks(), FWPFTrackUtils::getTrack(), PFDisplacedVertexHelper::lambdaCP(), muonid::matchTracks(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), pat::PATIsolatedTrackProducer::produce(), TrackExtrapolator::propagateTrackToVolume(), PFAlgo::reconstructTrack(), AlCaIsoTracksProducer::select(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::selectPriVtxCompatibleWithTrack(), IsoTrig::studyIsolation(), IsoTrig::studyMipCut(), and IsoTrig::StudyTrkEbyP().
|
inline |
y coordinate of momentum vector
Definition at line 614 of file TrackBase.h.
References momentum_.
Referenced by EwkMuLumiMonitorDQM::analyze(), BPHMonitor::analyze(), PrimaryVertexValidation::analyze(), IsoTrackCalib::analyze(), pat::TrackerIsolationPt::calculate(), FWInvMassDialog::Calculate(), IsoTrig::chgIsolation(), L6SLBCorrector::correction(), L6SLBCorrectorImpl::correction(), dsz(), dummyPrediction(), dxy(), dxyError(), dz(), HcalIsoTrkAnalyzer::fillTree(), AlCaIsoTracksFilter::filter(), egammaTools::getConversionInfo(), IsoTrig::getGoodTracks(), FWPFTrackUtils::getTrack(), PFDisplacedVertexHelper::lambdaCP(), muonid::matchTracks(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), pat::PATIsolatedTrackProducer::produce(), TrackExtrapolator::propagateTrackToVolume(), PFAlgo::reconstructTrack(), AlCaIsoTracksProducer::select(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::selectPriVtxCompatibleWithTrack(), IsoTrig::studyIsolation(), IsoTrig::studyMipCut(), and IsoTrig::StudyTrkEbyP().
|
inline |
z coordinate of momentum vector
Definition at line 617 of file TrackBase.h.
References momentum_.
Referenced by EwkMuLumiMonitorDQM::analyze(), BPHMonitor::analyze(), PrimaryVertexValidation::analyze(), IsoTrackCalib::analyze(), pat::TrackerIsolationPt::calculate(), FWInvMassDialog::Calculate(), IsoTrig::chgIsolation(), L6SLBCorrector::correction(), L6SLBCorrectorImpl::correction(), dsz(), dummyPrediction(), dz(), HcalIsoTrkAnalyzer::fillTree(), AlCaIsoTracksFilter::filter(), egammaTools::getConversionInfo(), IsoTrig::getGoodTracks(), FWPFTrackUtils::getTrack(), PFDisplacedVertexHelper::lambdaCP(), muonid::matchTracks(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), AlignmentMonitorSegmentDifferences::processMuonResidualsFromTrack(), AlignmentMonitorMuonSystemMap1D::processMuonResidualsFromTrack(), AlignmentMonitorMuonVsCurvature::processMuonResidualsFromTrack(), MuonAlignmentFromReference::processMuonResidualsFromTrack(), pat::PATIsolatedTrackProducer::produce(), TrackExtrapolator::propagateTrackToVolume(), ptError(), PFAlgo::reconstructTrack(), AlCaIsoTracksProducer::select(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::selectPriVtxCompatibleWithTrack(), IsoTrig::studyIsolation(), IsoTrig::studyMipCut(), and IsoTrig::StudyTrkEbyP().
|
inline |
q / p
Definition at line 584 of file TrackBase.h.
Referenced by TestOutliers::analyze(), PrimaryVertexValidation::analyze(), spr::goodTrack(), MatcherByPullsAlgorithm::match(), parameters(), IsolatedTracksCone::printTrack(), and IsolatedTracksNxN::printTrack().
|
inline |
error on signed transverse curvature
Definition at line 699 of file TrackBase.h.
References error(), and i_qoverp.
Referenced by TestOutliers::analyze(), spr::goodTrack(), IsolatedTracksCone::printTrack(), and IsolatedTracksNxN::printTrack().
|
inline |
Track quality.
Definition at line 537 of file TrackBase.h.
References goodIterative, highPurity, data-class-funcs::q, quality_, and undefQuality.
Referenced by BPHMonitor::analyze(), PrimaryVertexValidation::analyze(), StudyCaloResponse::analyze(), IsolatedTracksCone::analyze(), IsolatedTracksNxN::analyze(), PackedCandidateTrackValidator::analyze(), spr::chargeIsolation(), spr::chargeIsolationEcal(), spr::chargeIsolationHcal(), spr::coneChargeIsolation(), TemplatedJetProbabilityComputer< Container, Base >::discriminator(), TemplatedJetBProbabilityComputer< Container, Base >::discriminator(), spr::goodTrack(), PFDisplacedVertexHelper::isTrackSelected(), TrackFilterForPVFinding::operator()(), TemplatedTrackCountingComputer< Container, Base >::orderedSignificances(), EleTkIsolFromCands::passQual(), IsolatedTracksCone::printTrack(), IsolatedTracksNxN::printTrack(), spr::propagateCALO(), spr::propagateCosmicCALO(), reco::modules::HICaloCompatibleTrackSelector::selectByPFCands(), reco::modules::HICaloCompatibleTrackSelector::selectByTowers(), TrackBase(), and QcdUeDQM::trackSelection().
|
static |
Definition at line 126 of file TrackBase.cc.
References spr::find(), Skims_PA_cff::name, qualityNames, qualitySize, findQualityFiles::size, and undefQuality.
Referenced by AlCaIsoTracksFilter::AlCaIsoTracksFilter(), AlCaIsoTracksProducer::AlCaIsoTracksProducer(), AlignmentTrackSelector::AlignmentTrackSelector(), TrackTypeMonitor::analyze(), PatTrackAnalyzer::analyze(), StandaloneTrackMonitor::analyze(), tadqm::TrackAnalyzer::analyze(), TrackCount::analyze(), FSQDQM::analyze(), IsolatedTracksCone::analyze(), IsolatedTracksNxN::analyze(), BeamFitter::BeamFitter(), QGTagger::calcVariables(), spr::chargeIsolation(), spr::chargeIsolationEcal(), spr::chargeIsolationHcal(), spr::coneChargeIsolation(), FilterOutLowPt::filter(), FilterOutScraping::filter(), TrackIsoCalculator::getBkgSubTrackIso(), TrackIsoCalculator::getTrackIso(), HcalHBHEMuonHighEtaAnalyzer::HcalHBHEMuonHighEtaAnalyzer(), HcalIsoTrkAnalyzer::HcalIsoTrkAnalyzer(), HITrackClusterRemover::HITrackClusterRemover(), IsolatedTracksHcalScale::IsolatedTracksHcalScale(), IsoTrackCalib::IsoTrackCalib(), IsoTrackCalibration::IsoTrackCalibration(), IsoTrig::IsoTrig(), PFDisplacedVertexHelper::isTrackSelected(), JetPlusTrackProducerAA::JetPlusTrackProducerAA(), LightPFTrackProducer::LightPFTrackProducer(), LowPtGsfElectronSeedProducer::loop(), MuonTrackCut::MuonTrackCut(), TrackClassFilter::operator()(), PrimaryVertexValidation::passesTrackCuts(), pat::PATLostTracks::PATLostTracks(), PFTrackProducer::PFTrackProducer(), IsolatedTracksCone::printTrack(), IsolatedTracksNxN::printTrack(), reco::modules::HICaloCompatibleTrackSelector::produce(), PromptTrackCountingComputer::PromptTrackCountingComputer(), spr::propagateCALO(), spr::propagateCosmicCALO(), QcdUeDQM::QcdUeDQM(), QualityCutsAnalyzer::QualityCutsAnalyzer(), RecoTrackSelectorBase::RecoTrackSelectorBase(), reco::modules::HICaloCompatibleTrackSelector::selectByPFCands(), reco::modules::HICaloCompatibleTrackSelector::selectByTowers(), lowptgsfeleseed::Features::set(), L1Analysis::L1AnalysisRecoTrack::SetTracks(), StudyCaloResponse::StudyCaloResponse(), StudyTriggerHLT::StudyTriggerHLT(), TemplatedJetBProbabilityComputer< Container, Base >::TemplatedJetBProbabilityComputer(), TemplatedJetProbabilityComputer< Container, Base >::TemplatedJetProbabilityComputer(), TemplatedTrackCountingComputer< Container, Base >::TemplatedTrackCountingComputer(), TrackExtrapolator::TrackExtrapolator(), TrackFilterForPVFinding::TrackFilterForPVFinding(), TrackListMerger::TrackListMerger(), reco::TrackSelector::TrackSelector(), and EleTkIsolFromCands::TrkCuts::TrkCuts().
|
inline |
Definition at line 784 of file TrackBase.h.
References quality_.
Referenced by pat::PATIsolatedTrackProducer::produce(), MultiTrackSelector::run(), and HIMultiTrackSelector::run().
|
inlinestatic |
Definition at line 557 of file TrackBase.h.
References createfilelist::int, data-class-funcs::q, qualityNames, and qualitySize.
Referenced by TkAlCaRecoMonitor::bookHistograms(), IsolatedTracksCone::printTrack(), and IsolatedTracksNxN::printTrack().
|
inline |
Reference point on the track.
Definition at line 638 of file TrackBase.h.
References vertex_.
Referenced by CosmicSplitterValidation::analyze(), SeedFromProtoTrack::init(), MuonErrorMatrixAdjuster::makeTrack(), IsolatedTracksCone::printTrack(), IsolatedTracksNxN::printTrack(), and pat::PATPackedCandidateProducer::produce().
|
inline |
Sets HitPattern as empty.
Definition at line 514 of file TrackBase.h.
References reco::HitPattern::clear(), and hitPattern_.
|
inline |
|
inline |
Track algorithm.
Definition at line 773 of file TrackBase.h.
References a, algoMask_, algorithm_, and setOriginalAlgorithm().
Referenced by TrackListCombiner::produce().
|
inline |
Definition at line 788 of file TrackBase.h.
References nLoops_, and relativeConstraints::value.
|
inline |
Definition at line 779 of file TrackBase.h.
References a, algoMask_, and originalAlgorithm_.
Referenced by setAlgorithm().
|
inline |
Definition at line 549 of file TrackBase.h.
References data-class-funcs::q, quality_, and undefQuality.
Referenced by TrackBase().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
polar angle
Definition at line 587 of file TrackBase.h.
References momentum_.
Referenced by TrackSplittingMonitor::analyze(), CosmicSplitterValidation::analyze(), PrimaryVertexValidation::analyze(), MatcherByPullsAlgorithm::match(), MuonIdTruthInfo::matchChi2(), and Tau.Tau::zImpact().
|
inline |
error on theta
Definition at line 710 of file TrackBase.h.
References error(), and i_lambda.
Referenced by TrackSplittingMonitor::analyze(), TestOutliers::analyze(), and CosmicSplitterValidation::analyze().
|
inline |
fraction of valid hits on the track
Definition at line 759 of file TrackBase.h.
References hitPattern_, reco::HitPattern::MISSING_INNER_HITS, reco::HitPattern::MISSING_OUTER_HITS, reco::HitPattern::numberOfLostTrackerHits(), reco::HitPattern::numberOfValidTrackerHits(), reco::HitPattern::TRACK_HITS, and validateGeometry_cfg::valid.
|
inline |
reference point on the track. This method is DEPRECATED, please use referencePoint() instead
Definition at line 647 of file TrackBase.h.
References vertex_.
Referenced by PrimaryVertexValidation::analyze(), converter::StandAloneMuonTrackToCandidate::convert(), converter::TrackToCandidate::convert(), Tau.Tau::dxy(), EgammaHLTTrackIsolation::electronIsolation(), ElectronTkIsolation::getIso(), FWPFTrackUtils::getTrack(), HLTmumutktkVtxProducer::initialFreeState(), HLTmumutkVtxProducer::initialFreeState(), HLTmmkFilter::initialFreeState(), HLTmmkkFilter::initialFreeState(), trajectoryStateTransform::initialFreeState(), and SeedGeneratorFromProtoTracksEDProducer::produce().
|
inline |
x coordinate of the reference point on track
Definition at line 626 of file TrackBase.h.
References vertex_.
Referenced by GenPurposeSkimmerData::analyze(), PackedCandidateTrackValidator::analyze(), dsz(), dxy(), dz(), MatcherByPullsAlgorithm::match(), TrackExtrapolator::propagateTrackToVolume(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::selectPriVtxCompatibleWithTrack(), and EwkMuLumiMonitorDQM::tkIso().
|
inline |
y coordinate of the reference point on track
Definition at line 629 of file TrackBase.h.
References vertex_.
Referenced by GenPurposeSkimmerData::analyze(), PackedCandidateTrackValidator::analyze(), dsz(), dxy(), dz(), MatcherByPullsAlgorithm::match(), TrackExtrapolator::propagateTrackToVolume(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::selectPriVtxCompatibleWithTrack(), and EwkMuLumiMonitorDQM::tkIso().
|
inline |
z coordinate of the reference point on track
Definition at line 632 of file TrackBase.h.
References vertex_.
Referenced by GenPurposeSkimmerData::analyze(), PackedCandidateTrackValidator::analyze(), EgammaL1TkIsolation::calIsol(), EleTkIsolFromCands::calIsol(), dsz(), dxy(), dxyError(), dz(), MatcherByPullsAlgorithm::match(), EleTkIsolFromCands::passTrkSel(), TrackExtrapolator::propagateTrackToVolume(), PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::selectPriVtxCompatibleWithTrack(), and EwkMuLumiMonitorDQM::tkIso().
|
private |
algo mask, bit set for the algo where it was reconstructed + each algo a track was found overlapping by the listmerger
Definition at line 463 of file TrackBase.h.
Referenced by algoMask(), setAlgoMask(), setAlgorithm(), setOriginalAlgorithm(), and TrackBase().
|
static |
Definition at line 147 of file TrackBase.h.
Referenced by algoByName(), algoName(), GeneralPurposeTrackAnalyzer::beginJob(), tadqm::TrackAnalyzer::bookHistosForHitProperties(), and MTVHistoProducerAlgoForTracker::bookRecoHistos().
|
private |
track algorithm
Definition at line 472 of file TrackBase.h.
Referenced by algo(), setAlgorithm(), and TrackBase().
|
private |
norm of the particle velocity at innermost point on track can multiply by momentum_.Unit() to get velocity vector
Definition at line 460 of file TrackBase.h.
Referenced by beta().
|
private |
|
private |
|
private |
perigee 5x5 covariance matrix
Definition at line 441 of file TrackBase.h.
Referenced by covariance(), error(), fill(), and TrackBase().
|
private |
Definition at line 444 of file TrackBase.h.
Referenced by betaError(), and covBetaBeta().
|
private |
errors for time and velocity (separate from cov for now)
Definition at line 444 of file TrackBase.h.
Referenced by covt0t0(), isTimeOk(), and t0Error().
|
private |
hit pattern
Definition at line 438 of file TrackBase.h.
Referenced by appendHitPattern(), appendHits(), appendMuonHitPattern(), appendTrackerHitPattern(), hitPattern(), numberOfLostHits(), numberOfValidHits(), resetHitPattern(), and validFraction().
|
private |
|
private |
number of degrees of freedom
Definition at line 466 of file TrackBase.h.
Referenced by ndof(), and normalizedChi2().
|
private |
number of loops made during the building of the trajectory of a looper particle
Definition at line 482 of file TrackBase.h.
Referenced by isLooper(), nLoops(), and setNLoops().
|
private |
track algorithm
Definition at line 475 of file TrackBase.h.
Referenced by originalAlgo(), and setOriginalAlgorithm().
|
private |
track quality
Definition at line 478 of file TrackBase.h.
Referenced by quality(), qualityMask(), setQuality(), and setQualityMask().
|
static |
Definition at line 163 of file TrackBase.h.
Referenced by tadqm::TrackAnalyzer::bookHistosForState(), qualityByName(), and qualityName().
|
private |
Stop Reason.
Definition at line 485 of file TrackBase.h.
Referenced by setStopReason(), and stopReason().
|
private |
time at the reference point on track
Definition at line 453 of file TrackBase.h.
Referenced by t0().
|
private |
innermost (reference) point on track
Definition at line 450 of file TrackBase.h.
Referenced by referencePoint(), vertex(), vx(), vy(), and vz().