#include <DataFormats/TrackReco/interface/TrackExtra.h>
Public Types | |
enum | { dimension = 5 } |
tracker parameter dimension More... | |
enum | { covarianceSize = dimension * (dimension + 1) / 2 } |
track error matrix size More... | |
typedef math::Error< 5 >::type | CovarianceMatrix |
5 parameter covariance matrix More... | |
typedef unsigned int | index |
index type More... | |
typedef math::XYZPoint | Point |
point in the space More... | |
typedef math::XYZVector | Vector |
spatial vector More... | |
Public Types inherited from reco::TrackExtraBase | |
using | Chi2sFive = std::vector< unsigned char > |
using | TrajParams = std::vector< LocalTrajectoryParameters > |
Public Member Functions | |
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 int | innerDetId () const |
DetId of the detector on which surface the innermost state is located. More... | |
const Vector & | innerMomentum () const |
momentum vector at innermost hit position More... | |
bool | innerOk () const |
returns true if the innermost hit is valid More... | |
const Point & | innerPosition () const |
innermost hit position More... | |
CovarianceMatrix | innerStateCovariance () const |
innermost trajectory state curvilinear errors More... | |
unsigned int | outerDetId () const |
DetId of the detector on which surface the outermost state is located. More... | |
double | outerEta () const |
pseudorapidity the momentum vector at the outermost hit position More... | |
const Vector & | outerMomentum () const |
momentum vector at outermost hit position More... | |
bool | outerOk () const |
returns 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 Point & | outerPosition () const |
outermost hit position 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 the outermost hit position More... | |
double | outerY () const |
y coordinate the outermost hit position More... | |
double | outerZ () const |
z coordinate the outermost hit position More... | |
const TrackResiduals & | residuals () const |
get the residuals More... | |
const PropagationDirection & | seedDirection () const |
const edm::RefToBase< TrajectorySeed > & | seedRef () const |
void | setResiduals (const TrackResiduals &r) |
set the residuals More... | |
void | setSeedRef (const edm::RefToBase< TrajectorySeed > &r) |
TrackExtra () | |
default constructor More... | |
TrackExtra (const Point &outerPosition, const Vector &outerMomentum, bool ok, const Point &innerPosition, const Vector &innerMomentum, bool iok, const CovarianceMatrix &outerState, unsigned int outerId, const CovarianceMatrix &innerState, unsigned int innerId, PropagationDirection seedDir, edm::RefToBase< TrajectorySeed > seedRef=edm::RefToBase< TrajectorySeed >()) | |
constructor from outermost/innermost position and momentum and Seed information More... | |
Public Member Functions inherited from reco::TrackExtraBase | |
Chi2sFive const & | chi2sX5 () const |
unsigned int | firstRecHit () const |
TrackingRecHitRef | recHit (unsigned int i) const |
get i-th recHit More... | |
TrackingRecHitRef | recHitRef (unsigned int i) const |
get a ref to i-th recHit More... | |
trackingRecHit_iterator | recHitsBegin () const |
first iterator over RecHits More... | |
trackingRecHit_iterator | recHitsEnd () const |
last iterator over RecHits More... | |
TrackingRecHitCollection const & | recHitsProduct () const |
unsigned int | recHitsSize () const |
number of RecHits More... | |
void | setHits (TrackingRecHitRefProd const &prod, unsigned firstH, unsigned int nH) |
void | setTrajParams (TrajParams tmps, Chi2sFive chi2s) |
TrackExtraBase () | |
default constructor More... | |
TrajParams const & | trajParams () const |
Private Attributes | |
float | innerCovariance_ [covarianceSize] |
innermost trajectory state More... | |
unsigned int | innerDetId_ |
Vector | innerMomentum_ |
momentum vector at innermost hit position More... | |
bool | innerOk_ |
innermost hit validity flag More... | |
Point | innerPosition_ |
innermost hit position More... | |
float | outerCovariance_ [covarianceSize] |
outermost trajectory state curvilinear errors More... | |
unsigned int | outerDetId_ |
Vector | outerMomentum_ |
momentum vector at outermost hit position More... | |
bool | outerOk_ |
outermost hit validity flag More... | |
Point | outerPosition_ |
outermost hit position More... | |
PropagationDirection | seedDir_ |
edm::RefToBase< TrajectorySeed > | seedRef_ |
TrackResiduals | trackResiduals_ |
unbiased track residuals More... | |
Additional information about a reconstructed track. It is stored in RECO and supplements the basic information stored in the Track class that is stored on AOD only. If you wish to use information in the TrackExtra class, you should access it via the reference supplied in the Track class.
Definition at line 27 of file TrackExtra.h.
typedef math::Error<5>::type reco::TrackExtra::CovarianceMatrix |
5 parameter covariance matrix
Definition at line 39 of file TrackExtra.h.
typedef unsigned int reco::TrackExtra::index |
index type
Definition at line 41 of file TrackExtra.h.
point in the space
Definition at line 35 of file TrackExtra.h.
spatial vector
Definition at line 37 of file TrackExtra.h.
anonymous enum |
tracker parameter dimension
Enumerator | |
---|---|
dimension |
Definition at line 31 of file TrackExtra.h.
anonymous enum |
track error matrix size
Enumerator | |
---|---|
covarianceSize |
Definition at line 33 of file TrackExtra.h.
|
inline |
default constructor
Definition at line 44 of file TrackExtra.h.
References covarianceSize, mps_fire::i, innerCovariance_, innerMomentum(), innerPosition(), convertSQLiteXML::ok, outerCovariance_, outerMomentum(), outerPosition(), and seedRef().
TrackExtra::TrackExtra | ( | const Point & | outerPosition, |
const Vector & | outerMomentum, | ||
bool | ok, | ||
const Point & | innerPosition, | ||
const Vector & | innerMomentum, | ||
bool | iok, | ||
const CovarianceMatrix & | outerState, | ||
unsigned int | outerId, | ||
const CovarianceMatrix & | innerState, | ||
unsigned int | innerId, | ||
PropagationDirection | seedDir, | ||
edm::RefToBase< TrajectorySeed > | seedRef = edm::RefToBase<TrajectorySeed>() |
||
) |
constructor from outermost/innermost position and momentum and Seed information
Definition at line 6 of file TrackExtra.cc.
References dimension, mps_fire::i, training_settings::idx, innerCovariance_, and outerCovariance_.
TrackExtra::CovarianceMatrix & TrackExtra::fillInner | ( | CovarianceMatrix & | v | ) | const |
fill outermost trajectory state curvilinear errors
Definition at line 54 of file TrackExtra.cc.
References reco::fillCovariance(), and innerCovariance_.
Referenced by outerRadius().
TrackExtra::CovarianceMatrix & TrackExtra::fillOuter | ( | CovarianceMatrix & | v | ) | const |
fill outermost trajectory state curvilinear errors
Definition at line 49 of file TrackExtra.cc.
References reco::fillCovariance(), and outerCovariance_.
Referenced by outerRadius().
|
inline |
DetId of the detector on which surface the innermost state is located.
Definition at line 154 of file TrackExtra.h.
References innerDetId_.
|
inline |
momentum vector at innermost hit position
Definition at line 85 of file TrackExtra.h.
References innerMomentum_.
Referenced by TrackExtra().
|
inline |
returns true if the innermost hit is valid
Definition at line 89 of file TrackExtra.h.
References innerOk_.
|
inline |
innermost hit position
Definition at line 81 of file TrackExtra.h.
References innerPosition_.
Referenced by TrackExtra().
TrackExtra::CovarianceMatrix TrackExtra::innerStateCovariance | ( | ) | const |
innermost trajectory state curvilinear errors
Definition at line 42 of file TrackExtra.cc.
References reco::fillCovariance(), innerCovariance_, and findQualityFiles::v.
Referenced by outerRadius().
|
inline |
DetId of the detector on which surface the outermost state is located.
Definition at line 150 of file TrackExtra.h.
References outerDetId_.
|
inline |
pseudorapidity the momentum vector at the outermost hit position
Definition at line 129 of file TrackExtra.h.
References outerMomentum().
|
inline |
momentum vector at outermost hit position
Definition at line 73 of file TrackExtra.h.
References outerMomentum_.
Referenced by outerEta(), outerP(), outerPhi(), outerPt(), outerTheta(), and TrackExtra().
|
inline |
returns true if the outermost hit is valid
Definition at line 77 of file TrackExtra.h.
References outerOk_.
|
inline |
magnitude of momentum vector at the outermost hit position
Definition at line 117 of file TrackExtra.h.
References outerMomentum().
|
inline |
azimuthal angle of the momentum vector at the outermost hit position
Definition at line 125 of file TrackExtra.h.
References outerMomentum().
|
inline |
outermost hit position
Definition at line 69 of file TrackExtra.h.
References outerPosition_.
Referenced by outerRadius(), and TrackExtra().
|
inline |
transverse momentum at the outermost hit position
Definition at line 121 of file TrackExtra.h.
References outerMomentum().
|
inline |
x coordinate of momentum vector at the outermost hit position
Definition at line 93 of file TrackExtra.h.
References outerMomentum_.
|
inline |
y coordinate of momentum vector at the outermost hit position
Definition at line 97 of file TrackExtra.h.
References outerMomentum_.
|
inline |
z coordinate of momentum vector at the outermost hit position
Definition at line 101 of file TrackExtra.h.
References outerMomentum_.
|
inline |
polar radius of the outermost hit position
Definition at line 137 of file TrackExtra.h.
References CMS_THREAD_SAFE, fillInner(), fillOuter(), innerStateCovariance(), outerPosition(), outerStateCovariance(), and findQualityFiles::v.
TrackExtra::CovarianceMatrix TrackExtra::outerStateCovariance | ( | ) | const |
outermost trajectory state curvilinear errors
Definition at line 35 of file TrackExtra.cc.
References reco::fillCovariance(), outerCovariance_, and findQualityFiles::v.
Referenced by outerRadius().
|
inline |
polar angle of the momentum vector at the outermost hit position
Definition at line 133 of file TrackExtra.h.
References outerMomentum().
|
inline |
x coordinate the outermost hit position
Definition at line 105 of file TrackExtra.h.
References outerPosition_.
|
inline |
y coordinate the outermost hit position
Definition at line 109 of file TrackExtra.h.
References outerPosition_.
|
inline |
z coordinate the outermost hit position
Definition at line 113 of file TrackExtra.h.
References outerPosition_.
|
inline |
get the residuals
Definition at line 179 of file TrackExtra.h.
References trackResiduals_.
|
inline |
|
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 167 of file TrackExtra.h.
References seedRef_.
Referenced by ExtraFromSeeds::produce(), and TrackExtra().
|
inline |
set the residuals
Definition at line 174 of file TrackExtra.h.
References alignCSCRings::r, and trackResiduals_.
Referenced by TrackListMerger::produce(), CosmicTrackSelector::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), KfTrackProducerBase::putInEvt(), and AnalyticalTrackSelector::run().
|
inline |
|
private |
innermost trajectory state
Definition at line 203 of file TrackExtra.h.
Referenced by fillInner(), innerStateCovariance(), and TrackExtra().
|
private |
Definition at line 204 of file TrackExtra.h.
Referenced by innerDetId().
|
private |
momentum vector at innermost hit position
Definition at line 199 of file TrackExtra.h.
Referenced by innerMomentum().
|
private |
|
private |
|
private |
outermost trajectory state curvilinear errors
Definition at line 192 of file TrackExtra.h.
Referenced by fillOuter(), outerStateCovariance(), and TrackExtra().
|
private |
Definition at line 193 of file TrackExtra.h.
Referenced by outerDetId().
|
private |
momentum vector at outermost hit position
Definition at line 188 of file TrackExtra.h.
Referenced by outerMomentum(), outerPx(), outerPy(), and outerPz().
|
private |
|
private |
outermost hit position
Definition at line 186 of file TrackExtra.h.
Referenced by outerPosition(), outerX(), outerY(), and outerZ().
|
private |
Definition at line 206 of file TrackExtra.h.
Referenced by seedDirection().
|
private |
Definition at line 207 of file TrackExtra.h.
Referenced by seedRef(), and setSeedRef().
|
private |
unbiased track residuals
Definition at line 210 of file TrackExtra.h.
Referenced by residuals(), and setResiduals().