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, mps_fire::i, 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_.
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack().
|
inlineprivate |
Definition at line 141 of file TotemRPLocalTrack.h.
References 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 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, mps_fire::i, and funct::m.
Referenced by getDirectionVector().
|
inline |
Definition at line 100 of file TotemRPLocalTrack.h.
References getCovarianceMatrix(), getParameterVector(), getTx(), getTy(), setCovarianceMatrix(), and setParameterVector().
|
inline |
Definition at line 77 of file TotemRPLocalTrack.h.
References track_hits_vector_.
Referenced by TotemRPLocalTrackFitter::produce().
TVectorD TotemRPLocalTrack::getParameterVector | ( | ) | const |
Definition at line 51 of file TotemRPLocalTrack.cc.
References dimension, mps_fire::i, track_params_vector_, and findQualityFiles::v.
Referenced by getDirectionVector().
|
inline |
Definition at line 127 of file TotemRPLocalTrack.h.
References track_params_vector_, trackPointInterpolationCovariance(), z, and z0_.
|
inline |
returns (x, y) vector
Definition at line 119 of file TotemRPLocalTrack.h.
References track_params_vector_, and z0_.
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack().
|
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 ntupleDataFormat._Object::_checkIsValid(), TotemRPLocalTrackFitter::produce(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 114 of file TotemRPLocalTrack.h.
References chiSquared_.
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack().
void TotemRPLocalTrack::setCovarianceMatrix | ( | const TMatrixD & | par_covariance_matrix | ) |
Definition at line 84 of file TotemRPLocalTrack.cc.
References CovarianceMatrixElement(), dimension, and mps_fire::i.
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack(), and getDirectionVector().
void TotemRPLocalTrack::setParameterVector | ( | const TVectorD & | track_params_vector | ) |
Definition at line 63 of file TotemRPLocalTrack.cc.
References dimension, mps_fire::i, and track_params_vector_.
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack(), and getDirectionVector().
|
inline |
Definition at line 136 of file TotemRPLocalTrack.h.
References checklumidiff::l, operator<, alignCSCRings::r, and valid_.
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack().
|
inline |
Definition at line 92 of file TotemRPLocalTrack.h.
References z0_.
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack().
TMatrixD TotemRPLocalTrack::trackPointInterpolationCovariance | ( | double | z | ) | const |
Definition at line 14 of file TotemRPLocalTrack.cc.
References CovarianceMatrixElement(), dimension, h, mps_fire::i, JetComb::kMult, and z0_.
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack(), and getTrackCentrePoint().
|
friend |
Definition at line 93 of file TotemRPLocalTrack.cc.
Referenced by setValid().
|
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 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().