#include <GsfTransientTrack.h>
Public Member Functions | |
TrackCharge | charge () const |
const MagneticField * | field () const |
GsfTransientTrack () | |
GsfTransientTrack (const GsfTrack &tk, const MagneticField *field) | |
GsfTransientTrack (const GsfTrackRef &tk, const MagneticField *field) | |
GsfTransientTrack (const GsfTrackRef &tk, const MagneticField *field, const edm::ESHandle< GlobalTrackingGeometry > &trackingGeometry) | |
GsfTransientTrack (const GsfTrack &tk, const MagneticField *field, const edm::ESHandle< GlobalTrackingGeometry > &trackingGeometry) | |
GsfTransientTrack (const GsfTransientTrack &tt) | |
TrajectoryStateOnSurface | impactPointState () const |
bool | impactPointStateAvailable () const |
TrajectoryStateClosestToPoint | impactPointTSCP () const |
FreeTrajectoryState | initialFreeState () const |
TrajectoryStateOnSurface | innermostMeasurementState () const |
GsfTransientTrack & | operator= (const GsfTransientTrack &tt) |
TrajectoryStateOnSurface | outermostMeasurementState () const |
GsfTrackRef | persistentTrackRef () const |
void | setBeamSpot (const reco::BeamSpot &beamSpot) |
void | setES (const edm::EventSetup &) |
void | setTrackingGeometry (const edm::ESHandle< GlobalTrackingGeometry > &) |
TrajectoryStateClosestToBeamLine | stateAtBeamLine () const |
TrajectoryStateOnSurface | stateOnSurface (const GlobalPoint &point) const |
const Track & | track () const |
TrackBaseRef | trackBaseRef () const |
TrajectoryStateClosestToPoint | trajectoryStateClosestToPoint (const GlobalPoint &point) const |
Public Member Functions inherited from reco::GsfTrack | |
int | chargeMode () const |
track electric charge from mode More... | |
CovarianceMatrixMode | covarianceMode () const |
return track covariance matrix from mode More... | |
double | covarianceMode (int i, int j) const |
(i,j)-th element of covarianve matrix ( i, j = 0, ... 2 ) from mode More... | |
double | errorMode (int i) const |
error on specified element from mode More... | |
double | etaMode () const |
pseudorapidity of momentum vector from mode More... | |
double | etaModeError () const |
error on eta from mode More... | |
const GsfTrackExtraRef & | gsfExtra () const |
reference to "extra" object More... | |
GsfTrack () | |
default constructor More... | |
GsfTrack (double chi2, double ndof, const Point &, const Vector &, int charge, const CovarianceMatrix &) | |
double | lambdaMode () const |
Lambda angle from mode. More... | |
double | lambdaModeError () const |
error on lambda from mode More... | |
const Vector & | momentumMode () const |
track momentum vector from mode More... | |
double | parameterMode (int i) const |
i-th parameter ( i = 0, ... 2 ) from mode More... | |
ParameterVectorMode | parametersMode () const |
Track parameters with one-to-one correspondence to the covariance matrix from mode. More... | |
double | phiMode () const |
azimuthal angle of momentum vector from mode More... | |
double | phiModeError () const |
error on phi from mode More... | |
double | pMode () const |
momentum vector magnitude from mode More... | |
double | ptMode () const |
track transverse momentum from mode More... | |
double | ptModeError () const |
error on Pt (set to 1000 TeV if charge==0 for safety) from mode More... | |
double | pxMode () const |
x coordinate of momentum vector from mode More... | |
double | pyMode () const |
y coordinate of momentum vector from mode More... | |
double | pzMode () const |
z coordinate of momentum vector from mode More... | |
double | qoverpMode () const |
q/p from mode More... | |
double | qoverpModeError () const |
error on signed transverse curvature from mode More... | |
void | setGsfExtra (const GsfTrackExtraRef &ref) |
set reference to GSF "extra" object More... | |
void | setMode (int chargeMode, const Vector &momentumMode, const CovarianceMatrixMode &covarianceMode) |
set mode parameters More... | |
double | thetaMode () const |
polar angle from mode More... | |
double | thetaModeError () const |
error on theta from mode More... | |
Public Member Functions inherited from reco::Track | |
const TrackExtraRef & | extra () const |
reference to "extra" object More... | |
CovarianceMatrix & | fillInner (CovarianceMatrix &v) const |
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 |
bool | appendHitPattern (const TrackingRecHit &hit) |
append a single hit to the HitPattern More... | |
bool | appendHitPattern (const DetId &id, TrackingRecHit::Type hitType) |
template<typename C > | |
bool | appendHits (const C &c) |
append hit patterns from vector of hit references More... | |
template<typename I > | |
bool | appendHits (const I &begin, const I &end) |
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 | 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 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) 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 | resetHitPattern () |
Sets HitPattern as empty. More... | |
void | setAlgorithm (const TrackAlgorithm a, bool set=true) |
Track algorithm. More... | |
void | setNLoops (signed char value) |
void | setQuality (const TrackQuality, bool set=true) |
void | setQualityMask (int qualMask) |
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) | |
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... | |
Public Member Functions inherited from reco::BasicTransientTrack | |
virtual CandidatePtr | candidate () const |
virtual | ~BasicTransientTrack () |
Public Member Functions inherited from BasicReferenceCounted | |
void | addReference () const |
BasicReferenceCounted () | |
BasicReferenceCounted (const BasicReferenceCounted &iRHS) | |
const BasicReferenceCounted & | operator= (const BasicReferenceCounted &) |
unsigned int | references () const |
void | removeReference () const |
virtual | ~BasicReferenceCounted () |
Private Member Functions | |
void | calculateTSOSAtVertex () const |
void | init () |
Additional Inherited Members | |
Public Types inherited from reco::GsfTrack | |
enum | { dimensionMode = 3 } |
parameter dimension mode More... | |
enum | { covarianceSizeMode = dimensionMode * ( dimensionMode + 1 ) / 2 } |
error matrix size mode More... | |
typedef math::Error < dimensionMode >::type | CovarianceMatrixMode |
3 parameter covariance matrix (momentum part) from mode More... | |
typedef math::Vector < dimensionMode >::type | ParameterVectorMode |
parameter vector (momentum part) from mode More... | |
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, initialStep = 4, lowPtTripletStep = 5, pixelPairStep = 6, detachedTripletStep = 7, mixedTripletStep = 8, pixelLessStep = 9, tobTecStep = 10, jetCoreRegionalStep = 11, conversionStep = 12, muonSeededStepInOut = 13, muonSeededStepOutIn = 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, hltPixel = 30, hltIter0 = 31, hltIter1 = 32, hltIter2 = 33, hltIter3 = 34, hltIter4 = 35, hltIterX = 36, algoSize = 37 } |
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... | |
Public Types inherited from reco::BasicTransientTrack | |
typedef BasicTransientTrack | BTT |
typedef ProxyBase< BTT, CopyUsingClone< BTT > > | Proxy |
typedef ReferenceCountingPointer < BasicTransientTrack > | RCPtr |
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 [] |
Definition at line 19 of file GsfTransientTrack.h.
GsfTransientTrack::GsfTransientTrack | ( | ) |
Definition at line 15 of file GsfTransientTrack.cc.
GsfTransientTrack::GsfTransientTrack | ( | const GsfTrack & | tk, |
const MagneticField * | field | ||
) |
Definition at line 20 of file GsfTransientTrack.cc.
References trajectoryStateTransform::initialFreeState(), and initialFTS.
GsfTransientTrack::GsfTransientTrack | ( | const GsfTrackRef & | tk, |
const MagneticField * | field | ||
) |
Definition at line 30 of file GsfTransientTrack.cc.
References trajectoryStateTransform::initialFreeState(), and initialFTS.
GsfTransientTrack::GsfTransientTrack | ( | const GsfTrackRef & | tk, |
const MagneticField * | field, | ||
const edm::ESHandle< GlobalTrackingGeometry > & | trackingGeometry | ||
) |
Definition at line 51 of file GsfTransientTrack.cc.
References trajectoryStateTransform::initialFreeState(), and initialFTS.
GsfTransientTrack::GsfTransientTrack | ( | const GsfTrack & | tk, |
const MagneticField * | field, | ||
const edm::ESHandle< GlobalTrackingGeometry > & | trackingGeometry | ||
) |
Definition at line 40 of file GsfTransientTrack.cc.
References trajectoryStateTransform::initialFreeState(), and initialFTS.
GsfTransientTrack::GsfTransientTrack | ( | const GsfTransientTrack & | tt | ) |
Definition at line 63 of file GsfTransientTrack.cc.
References impactPointState(), impactPointTSCP(), initialTSCP, initialTSCPAvailable, initialTSOS, and initialTSOSAvailable.
|
private |
Definition at line 128 of file GsfTransientTrack.cc.
References TransverseImpactPointExtrapolator::extrapolate(), initialFTS, initialTSOS, initialTSOSAvailable, FreeTrajectoryState::position(), and theField.
Referenced by impactPointState().
|
inlinevirtual |
Implements reco::BasicTransientTrack.
Definition at line 82 of file GsfTransientTrack.h.
References reco::TrackBase::charge().
|
inlinevirtual |
Implements reco::BasicTransientTrack.
Definition at line 84 of file GsfTransientTrack.h.
References theField.
|
virtual |
The TSOS at the initial state, made from the stored singl-component state.
Implements reco::BasicTransientTrack.
Definition at line 101 of file GsfTransientTrack.cc.
References calculateTSOSAtVertex(), initialTSOS, and initialTSOSAvailable.
Referenced by GsfTransientTrack().
|
inlinevirtual |
Implements reco::BasicTransientTrack.
Definition at line 73 of file GsfTransientTrack.h.
References initialTSOSAvailable.
|
virtual |
The TrajectoryStateClosestToPoint at the initial state, made from the stored singl-component state.
Implements reco::BasicTransientTrack.
Definition at line 107 of file GsfTransientTrack.cc.
References builder, initialFTS, initialTSCP, initialTSCPAvailable, and FreeTrajectoryState::position().
Referenced by GsfTransientTrack().
|
private |
|
inlinevirtual |
Implements reco::BasicTransientTrack.
Definition at line 41 of file GsfTransientTrack.h.
References initialFTS.
|
virtual |
Implements reco::BasicTransientTrack.
Definition at line 122 of file GsfTransientTrack.cc.
References MultiTrajectoryStateTransform::innerStateOnSurface(), theField, and theTrackingGeometry.
Referenced by stateOnSurface().
GsfTransientTrack& reco::GsfTransientTrack::operator= | ( | const GsfTransientTrack & | tt | ) |
|
virtual |
Implements reco::BasicTransientTrack.
Definition at line 116 of file GsfTransientTrack.cc.
References MultiTrajectoryStateTransform::outerStateOnSurface(), theField, and theTrackingGeometry.
|
inline |
access to original persistent track
Definition at line 78 of file GsfTransientTrack.h.
References tkr_.
Referenced by KinematicVertex::operator reco::Vertex().
|
virtual |
Implements reco::BasicTransientTrack.
Definition at line 94 of file GsfTransientTrack.cc.
References SiPixelRawToDigiRegional_cfi::beamSpot, blStateAvailable, and theBeamSpot.
|
virtual |
Implements reco::BasicTransientTrack.
Definition at line 82 of file GsfTransientTrack.cc.
References edm::EventSetup::get(), and theTrackingGeometry.
|
virtual |
Implements reco::BasicTransientTrack.
Definition at line 88 of file GsfTransientTrack.cc.
References theTrackingGeometry.
|
virtual |
Implements reco::BasicTransientTrack.
Definition at line 148 of file GsfTransientTrack.cc.
References blStateAvailable, initialFTS, theBeamSpot, and trajectoryStateClosestToBeamLine.
|
virtual |
The TSOS at any point. The inner-most multi-state state will be used for the propagation. The TSOS will therefore have multiple components.
Implements reco::BasicTransientTrack.
Definition at line 136 of file GsfTransientTrack.cc.
References TransverseImpactPointExtrapolator::extrapolate(), innermostMeasurementState(), and theTIPExtrapolator.
Referenced by trajectoryStateClosestToPoint().
|
inlinevirtual |
Implements reco::BasicTransientTrack.
Definition at line 86 of file GsfTransientTrack.h.
|
inlinevirtual |
Implements reco::BasicTransientTrack.
Definition at line 80 of file GsfTransientTrack.h.
References tkr_.
|
virtual |
The TrajectoryStateClosestToPoint at any point. The inner-most multi-state state will be used for the propagation. The TSCP will be built out of the collapsed mult-component TSOS.
Implements reco::BasicTransientTrack.
Definition at line 143 of file GsfTransientTrack.cc.
References builder, and stateOnSurface().
|
mutableprivate |
Definition at line 99 of file GsfTransientTrack.h.
Referenced by setBeamSpot(), and stateAtBeamLine().
|
private |
Definition at line 102 of file GsfTransientTrack.h.
Referenced by impactPointTSCP(), and trajectoryStateClosestToPoint().
|
private |
Definition at line 98 of file GsfTransientTrack.h.
Referenced by calculateTSOSAtVertex(), GsfTransientTrack(), impactPointTSCP(), initialFreeState(), and stateAtBeamLine().
|
mutableprivate |
Definition at line 101 of file GsfTransientTrack.h.
Referenced by GsfTransientTrack(), and impactPointTSCP().
|
mutableprivate |
Definition at line 99 of file GsfTransientTrack.h.
Referenced by GsfTransientTrack(), and impactPointTSCP().
|
mutableprivate |
Definition at line 100 of file GsfTransientTrack.h.
Referenced by calculateTSOSAtVertex(), GsfTransientTrack(), and impactPointState().
|
mutableprivate |
Definition at line 99 of file GsfTransientTrack.h.
Referenced by calculateTSOSAtVertex(), GsfTransientTrack(), impactPointState(), and impactPointStateAvailable().
|
private |
Definition at line 104 of file GsfTransientTrack.h.
Referenced by setBeamSpot(), and stateAtBeamLine().
|
private |
Definition at line 96 of file GsfTransientTrack.h.
Referenced by calculateTSOSAtVertex(), field(), innermostMeasurementState(), and outermostMeasurementState().
|
private |
Definition at line 107 of file GsfTransientTrack.h.
Referenced by stateOnSurface().
|
private |
Definition at line 103 of file GsfTransientTrack.h.
Referenced by innermostMeasurementState(), outermostMeasurementState(), setES(), and setTrackingGeometry().
|
private |
Definition at line 95 of file GsfTransientTrack.h.
Referenced by persistentTrackRef(), and trackBaseRef().
|
mutableprivate |
Definition at line 105 of file GsfTransientTrack.h.
Referenced by stateAtBeamLine().