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 | chiSquared () const |
double | chiSquaredOverNDF () const |
TMatrixD | covarianceMatrix () const |
TVector3 | directionVector () const |
const edm::DetSetVector< FittedRecHit > & | hits () const |
bool | isValid () const |
unsigned short | numberOfPointsUsedForFit () const |
TVectorD | parameterVector () 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) | |
TVector3 | trackCentrePoint () |
TVector2 | trackPoint (double z) const |
returns (x, y) vector More... | |
TMatrixD | trackPointInterpolationCovariance (double z) const |
double | tx () const |
double | txSigma () const |
double | ty () const |
double | tySigma () const |
double | x0 () const |
double | x0Sigma () const |
double | x0Variance () const |
double | y0 () const |
double | y0Sigma () const |
double | y0Variance () const |
double | z0 () const |
virtual | ~TotemRPLocalTrack () |
Static Public Attributes | |
static const int | covarianceSize = dimension * dimension |
static const int | dimension = 4 |
< parameter vector size More... | |
Private Member Functions | |
double & | CovarianceMatrixElement (int i, int j) |
const double & | CovarianceMatrixElement (int i, int j) const |
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 72 of file TotemRPLocalTrack.h.
TotemRPLocalTrack::TotemRPLocalTrack | ( | double | z0, |
const TVectorD & | track_params_vector, | ||
const TMatrixD & | par_covariance_matrix, | ||
double | chiSquared | ||
) |
Definition at line 33 of file TotemRPLocalTrack.cc.
References CovarianceMatrixElement(), dimension, mps_fire::i, dqmiolumiharvest::j, and track_params_vector_.
|
inlinevirtual |
|
inline |
Definition at line 82 of file TotemRPLocalTrack.h.
References CovarianceMatrixElement().
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack().
|
inline |
Definition at line 115 of file TotemRPLocalTrack.h.
|
inline |
Definition at line 118 of file TotemRPLocalTrack.h.
TMatrixD TotemRPLocalTrack::covarianceMatrix | ( | ) | const |
Definition at line 66 of file TotemRPLocalTrack.cc.
References CovarianceMatrixElement(), dimension, mps_fire::i, dqmiolumiharvest::j, and visualization-live-secondInstance_cfg::m.
|
inlineprivate |
Definition at line 142 of file TotemRPLocalTrack.h.
|
inlineprivate |
Definition at line 140 of file TotemRPLocalTrack.h.
Referenced by addHit(), covarianceMatrix(), hits(), setCovarianceMatrix(), setZ0(), TotemRPLocalTrack(), trackPointInterpolationCovariance(), x0(), and y0Variance().
|
inline |
Definition at line 103 of file TotemRPLocalTrack.h.
|
inline |
Definition at line 81 of file TotemRPLocalTrack.h.
References CovarianceMatrixElement(), and mathSSE::sqrt().
|
inline |
Definition at line 133 of file TotemRPLocalTrack.h.
References dimension, mps_fire::i, dqmiolumiharvest::j, and par_covariance_matrix_.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 120 of file TotemRPLocalTrack.h.
TVectorD TotemRPLocalTrack::parameterVector | ( | ) | const |
Definition at line 48 of file TotemRPLocalTrack.cc.
References dimension, mps_fire::i, track_params_vector_, and findQualityFiles::v.
|
inline |
Definition at line 116 of file TotemRPLocalTrack.h.
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack().
void TotemRPLocalTrack::setCovarianceMatrix | ( | const TMatrixD & | par_covariance_matrix | ) |
Definition at line 78 of file TotemRPLocalTrack.cc.
References CovarianceMatrixElement(), dimension, mps_fire::i, and dqmiolumiharvest::j.
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack().
void TotemRPLocalTrack::setParameterVector | ( | const TVectorD & | track_params_vector | ) |
Definition at line 59 of file TotemRPLocalTrack.cc.
References dimension, mps_fire::i, and track_params_vector_.
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack().
|
inline |
Definition at line 135 of file TotemRPLocalTrack.h.
References dimension, mps_fire::i, dqmiolumiharvest::j, and par_covariance_matrix_.
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack().
|
inline |
Definition at line 95 of file TotemRPLocalTrack.h.
References CovarianceMatrixElement(), and mathSSE::sqrt().
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack().
|
inline |
Definition at line 129 of file TotemRPLocalTrack.h.
References validateGeometry_cfg::valid, and valid_.
|
inline |
returns (x, y) vector
Definition at line 123 of file TotemRPLocalTrack.h.
References track_params_vector_, and z0_.
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack().
TMatrixD TotemRPLocalTrack::trackPointInterpolationCovariance | ( | double | z | ) | const |
Definition at line 13 of file TotemRPLocalTrack.cc.
References CovarianceMatrixElement(), dimension, h, mps_fire::i, dqmiolumiharvest::j, JetComb::kMult, z, and z0_.
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack().
|
inline |
Definition at line 97 of file TotemRPLocalTrack.h.
|
inline |
Definition at line 98 of file TotemRPLocalTrack.h.
|
inline |
Definition at line 100 of file TotemRPLocalTrack.h.
|
inline |
Definition at line 101 of file TotemRPLocalTrack.h.
|
inline |
Definition at line 86 of file TotemRPLocalTrack.h.
References CovarianceMatrixElement().
Referenced by ElasticPlotDQMSource::analyze().
|
inline |
Definition at line 87 of file TotemRPLocalTrack.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 92 of file TotemRPLocalTrack.h.
References CovarianceMatrixElement(), and mathSSE::sqrt().
|
inline |
|
friend |
Definition at line 86 of file TotemRPLocalTrack.cc.
|
private |
fit chi^2
Definition at line 156 of file TotemRPLocalTrack.h.
Definition at line 70 of file TotemRPLocalTrack.h.
|
static |
< parameter vector size
covariance matrix size
Definition at line 67 of file TotemRPLocalTrack.h.
Referenced by covarianceMatrix(), isValid(), operator<(), parameterVector(), setCovarianceMatrix(), setParameterVector(), setValid(), TotemRPLocalTrack(), and trackPointInterpolationCovariance().
|
private |
Definition at line 153 of file TotemRPLocalTrack.h.
Referenced by isValid(), and setValid().
|
private |
Definition at line 144 of file TotemRPLocalTrack.h.
|
private |
track parameters: (x0, y0, tx, ty); x = x0 + tx*(z-z0) ...
Definition at line 147 of file TotemRPLocalTrack.h.
Referenced by parameterVector(), setParameterVector(), TotemRPLocalTrack(), trackPoint(), y0Sigma(), z0(), and ~TotemRPLocalTrack().
|
private |
|
private |
z where x0 and y0 are evaluated. filled from CTPPSGeometry::getRPTranslation
Definition at line 151 of file TotemRPLocalTrack.h.
Referenced by trackPoint(), trackPointInterpolationCovariance(), and x0Variance().