A track fit through a single RP. More...
#include <TotemRPLocalTrack.h>
Classes | |
class | FittedRecHit |
Public Member Functions | |
void | addHit (unsigned int detId, const FittedRecHit &hit) |
double | getChiSquared () const |
double | getChiSquaredOverNDF () const |
TMatrixD | getCovarianceMatrix () const |
TVector3 | getDirectionVector () const |
const edm::DetSetVector < FittedRecHit > & | getHits () const |
TVectorD | getParameterVector () const |
TVector3 | getTrackCentrePoint () |
TVector2 | getTrackPoint (double z) const |
returns (x, y) vector More... | |
double | getTx () const |
double | getTxSigma () const |
double | getTy () const |
double | getTySigma () const |
double | getX0 () const |
double | getX0Sigma () const |
double | getX0Variance () const |
double | getY0 () const |
double | getY0Sigma () const |
double | getY0Variance () const |
double | getZ0 () const |
bool | isValid () const |
void | setChiSquared (double &chiSquared) |
void | setCovarianceMatrix (const TMatrixD &par_covariance_matrix) |
void | setParameterVector (const TVectorD &track_params_vector) |
void | setValid (bool valid) |
void | setZ0 (double z0) |
TotemRPLocalTrack () | |
TotemRPLocalTrack (double z0, const TVectorD &track_params_vector, const TMatrixD &par_covariance_matrix, double chiSquared) | |
TMatrixD | trackPointInterpolationCovariance (double z) const |
virtual | ~TotemRPLocalTrack () |
Static Public Attributes | |
static const int | covarianceSize = dimension * dimension |
static const int | dimension = 4 |
< parameter vector size More... | |
Private Member Functions | |
const double & | CovarianceMatrixElement (int i, int j) const |
double & | CovarianceMatrixElement (int i, int j) |
Private Attributes | |
double | chiSquared_ |
fit chi^2 More... | |
double | par_covariance_matrix_ [covarianceSize] |
edm::DetSetVector< FittedRecHit > | track_hits_vector_ |
double | track_params_vector_ [dimension] |
track parameters: (x0, y0, tx, ty); x = x0 + tx*(z-z0) ... More... | |
bool | valid_ |
fit valid? More... | |
double | z0_ |
Friends | |
bool | operator< (const TotemRPLocalTrack &l, const TotemRPLocalTrack &r) |
A track fit through a single RP.
x = x0+tx*(z-z0) y = ...
z0 is defined below x any y refer to the global (x, y) system with the beam at (x = 0, y = 0). Only VALID tracks (IsValid()==true) can be later used for physics reconstruction!
Definition at line 31 of file TotemRPLocalTrack.h.
|
inline |
Definition at line 68 of file TotemRPLocalTrack.h.
TotemRPLocalTrack::TotemRPLocalTrack | ( | double | z0, |
const TVectorD & | track_params_vector, | ||
const TMatrixD & | par_covariance_matrix, | ||
double | chiSquared | ||
) |
Definition at line 35 of file TotemRPLocalTrack.cc.
References CovarianceMatrixElement(), dimension, i, j, and track_params_vector_.
|
inlinevirtual |
Definition at line 75 of file TotemRPLocalTrack.h.
|
inline |
Definition at line 78 of file TotemRPLocalTrack.h.
References track_hits_vector_.
|
inlineprivate |
Definition at line 141 of file TotemRPLocalTrack.h.
References dimension, j, and par_covariance_matrix_.
Referenced by getCovarianceMatrix(), getTxSigma(), getTySigma(), getX0Sigma(), getX0Variance(), getY0Sigma(), getY0Variance(), setCovarianceMatrix(), TotemRPLocalTrack(), and trackPointInterpolationCovariance().
|
inlineprivate |
Definition at line 146 of file TotemRPLocalTrack.h.
References dimension, j, and par_covariance_matrix_.
|
inline |
|
inline |
Definition at line 116 of file TotemRPLocalTrack.h.
References chiSquared_, and track_hits_vector_.
TMatrixD TotemRPLocalTrack::getCovarianceMatrix | ( | ) | const |
Definition at line 71 of file TotemRPLocalTrack.cc.
References CovarianceMatrixElement(), dimension, i, j, and visualization-live-secondInstance_cfg::m.
|
inline |
|
inline |
Definition at line 77 of file TotemRPLocalTrack.h.
References track_hits_vector_.
TVectorD TotemRPLocalTrack::getParameterVector | ( | ) | const |
Definition at line 51 of file TotemRPLocalTrack.cc.
References dimension, i, track_params_vector_, and findQualityFiles::v.
|
inline |
Definition at line 127 of file TotemRPLocalTrack.h.
References track_params_vector_, and z0_.
|
inline |
returns (x, y) vector
Definition at line 119 of file TotemRPLocalTrack.h.
References track_params_vector_, and z0_.
|
inline |
Definition at line 94 of file TotemRPLocalTrack.h.
References track_params_vector_.
Referenced by getDirectionVector().
|
inline |
Definition at line 95 of file TotemRPLocalTrack.h.
References CovarianceMatrixElement(), and mathSSE::sqrt().
|
inline |
Definition at line 97 of file TotemRPLocalTrack.h.
References track_params_vector_.
Referenced by getDirectionVector().
|
inline |
Definition at line 98 of file TotemRPLocalTrack.h.
References CovarianceMatrixElement(), and mathSSE::sqrt().
|
inline |
Definition at line 83 of file TotemRPLocalTrack.h.
References track_params_vector_.
|
inline |
Definition at line 84 of file TotemRPLocalTrack.h.
References CovarianceMatrixElement(), and mathSSE::sqrt().
|
inline |
Definition at line 85 of file TotemRPLocalTrack.h.
References CovarianceMatrixElement().
|
inline |
Definition at line 87 of file TotemRPLocalTrack.h.
References track_params_vector_.
|
inline |
Definition at line 88 of file TotemRPLocalTrack.h.
References CovarianceMatrixElement(), and mathSSE::sqrt().
|
inline |
Definition at line 89 of file TotemRPLocalTrack.h.
References CovarianceMatrixElement().
|
inline |
|
inline |
Definition at line 134 of file TotemRPLocalTrack.h.
References valid_.
Referenced by core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
void TotemRPLocalTrack::setCovarianceMatrix | ( | const TMatrixD & | par_covariance_matrix | ) |
Definition at line 84 of file TotemRPLocalTrack.cc.
References CovarianceMatrixElement(), dimension, i, and j.
void TotemRPLocalTrack::setParameterVector | ( | const TVectorD & | track_params_vector | ) |
Definition at line 63 of file TotemRPLocalTrack.cc.
References dimension, i, and track_params_vector_.
|
inline |
|
inline |
TMatrixD TotemRPLocalTrack::trackPointInterpolationCovariance | ( | double | z | ) | const |
Definition at line 14 of file TotemRPLocalTrack.cc.
References CovarianceMatrixElement(), dimension, h, i, j, JetComb::kMult, and z0_.
|
friend |
Definition at line 93 of file TotemRPLocalTrack.cc.
|
private |
fit chi^2
Definition at line 163 of file TotemRPLocalTrack.h.
Referenced by getChiSquared(), getChiSquaredOverNDF(), and setChiSquared().
Definition at line 66 of file TotemRPLocalTrack.h.
|
static |
< parameter vector size
covariance matrix size
Definition at line 63 of file TotemRPLocalTrack.h.
Referenced by CovarianceMatrixElement(), getCovarianceMatrix(), getParameterVector(), operator<(), setCovarianceMatrix(), setParameterVector(), TotemRPLocalTrack(), and trackPointInterpolationCovariance().
|
private |
Definition at line 160 of file TotemRPLocalTrack.h.
Referenced by CovarianceMatrixElement().
|
private |
Definition at line 151 of file TotemRPLocalTrack.h.
Referenced by addHit(), getChiSquaredOverNDF(), and getHits().
|
private |
track parameters: (x0, y0, tx, ty); x = x0 + tx*(z-z0) ...
Definition at line 154 of file TotemRPLocalTrack.h.
Referenced by getParameterVector(), getTrackCentrePoint(), getTrackPoint(), getTx(), getTy(), getX0(), getY0(), operator<(), setParameterVector(), and TotemRPLocalTrack().
|
private |
fit valid?
Definition at line 166 of file TotemRPLocalTrack.h.
Referenced by isValid(), and setValid().
|
private |
z where x0 and y0 are evaluated. filled from TotemRPGeometry::GetRPGlobalTranslation
Definition at line 158 of file TotemRPLocalTrack.h.
Referenced by getTrackCentrePoint(), getTrackPoint(), getZ0(), operator<(), setZ0(), and trackPointInterpolationCovariance().