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 | |
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 66 of file TotemRPLocalTrack.h.
TotemRPLocalTrack::TotemRPLocalTrack | ( | double | z0, |
const TVectorD & | track_params_vector, | ||
const TMatrixD & | par_covariance_matrix, | ||
double | chiSquared | ||
) |
Definition at line 34 of file TotemRPLocalTrack.cc.
References CovarianceMatrixElement(), dimension, mps_fire::i, dqmiolumiharvest::j, and track_params_vector_.
|
inlinevirtual |
Definition at line 73 of file TotemRPLocalTrack.h.
|
inline |
Definition at line 76 of file TotemRPLocalTrack.h.
References track_hits_vector_.
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack().
|
inline |
Definition at line 109 of file TotemRPLocalTrack.h.
References chiSquared_.
Referenced by setChiSquared().
|
inline |
Definition at line 112 of file TotemRPLocalTrack.h.
References chiSquared_, and track_hits_vector_.
TMatrixD TotemRPLocalTrack::covarianceMatrix | ( | ) | const |
Definition at line 67 of file TotemRPLocalTrack.cc.
References CovarianceMatrixElement(), dimension, mps_fire::i, dqmiolumiharvest::j, and visualization-live-secondInstance_cfg::m.
|
inlineprivate |
Definition at line 134 of file TotemRPLocalTrack.h.
References dimension, dqmiolumiharvest::j, and par_covariance_matrix_.
Referenced by covarianceMatrix(), setCovarianceMatrix(), TotemRPLocalTrack(), trackPointInterpolationCovariance(), txSigma(), tySigma(), x0Sigma(), x0Variance(), y0Sigma(), and y0Variance().
|
inlineprivate |
Definition at line 136 of file TotemRPLocalTrack.h.
References dimension, dqmiolumiharvest::j, and par_covariance_matrix_.
|
inline |
Definition at line 97 of file TotemRPLocalTrack.h.
|
inline |
Definition at line 75 of file TotemRPLocalTrack.h.
References track_hits_vector_.
Referenced by TotemRPLocalTrackFitter::produce().
|
inline |
Definition at line 127 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 track_hits_vector_.
TVectorD TotemRPLocalTrack::parameterVector | ( | ) | const |
Definition at line 49 of file TotemRPLocalTrack.cc.
References dimension, mps_fire::i, track_params_vector_, and findQualityFiles::v.
|
inline |
Definition at line 110 of file TotemRPLocalTrack.h.
References chiSquared(), and chiSquared_.
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack().
void TotemRPLocalTrack::setCovarianceMatrix | ( | const TMatrixD & | par_covariance_matrix | ) |
Definition at line 79 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 60 of file TotemRPLocalTrack.cc.
References dimension, mps_fire::i, and track_params_vector_.
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack().
|
inline |
Definition at line 129 of file TotemRPLocalTrack.h.
References valid_.
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack().
|
inline |
Definition at line 89 of file TotemRPLocalTrack.h.
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack().
|
inline |
Definition at line 123 of file TotemRPLocalTrack.h.
References track_params_vector_, and z0_.
|
inline |
returns (x, y) vector
Definition at line 117 of file TotemRPLocalTrack.h.
References track_params_vector_, and 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, dqmiolumiharvest::j, JetComb::kMult, and z0_.
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack().
|
inline |
Definition at line 91 of file TotemRPLocalTrack.h.
References track_params_vector_.
Referenced by directionVector().
|
inline |
Definition at line 92 of file TotemRPLocalTrack.h.
References CovarianceMatrixElement(), and mathSSE::sqrt().
|
inline |
Definition at line 94 of file TotemRPLocalTrack.h.
References track_params_vector_.
Referenced by directionVector().
|
inline |
Definition at line 95 of file TotemRPLocalTrack.h.
References CovarianceMatrixElement(), and mathSSE::sqrt().
|
inline |
Definition at line 80 of file TotemRPLocalTrack.h.
References track_params_vector_.
Referenced by ElasticPlotDQMSource::analyze().
|
inline |
Definition at line 81 of file TotemRPLocalTrack.h.
References CovarianceMatrixElement(), and mathSSE::sqrt().
|
inline |
Definition at line 82 of file TotemRPLocalTrack.h.
References CovarianceMatrixElement().
|
inline |
Definition at line 84 of file TotemRPLocalTrack.h.
References track_params_vector_.
Referenced by ElasticPlotDQMSource::analyze().
|
inline |
Definition at line 85 of file TotemRPLocalTrack.h.
References CovarianceMatrixElement(), and mathSSE::sqrt().
|
inline |
Definition at line 86 of file TotemRPLocalTrack.h.
References CovarianceMatrixElement().
|
inline |
|
friend |
Definition at line 87 of file TotemRPLocalTrack.cc.
|
private |
fit chi^2
Definition at line 150 of file TotemRPLocalTrack.h.
Referenced by chiSquared(), chiSquaredOverNDF(), and setChiSquared().
Definition at line 64 of file TotemRPLocalTrack.h.
|
static |
< parameter vector size
covariance matrix size
Definition at line 61 of file TotemRPLocalTrack.h.
Referenced by covarianceMatrix(), CovarianceMatrixElement(), operator<(), parameterVector(), setCovarianceMatrix(), setParameterVector(), TotemRPLocalTrack(), and trackPointInterpolationCovariance().
|
private |
Definition at line 147 of file TotemRPLocalTrack.h.
Referenced by CovarianceMatrixElement().
|
private |
Definition at line 138 of file TotemRPLocalTrack.h.
Referenced by addHit(), chiSquaredOverNDF(), hits(), and numberOfPointsUsedForFit().
|
private |
track parameters: (x0, y0, tx, ty); x = x0 + tx*(z-z0) ...
Definition at line 141 of file TotemRPLocalTrack.h.
Referenced by operator<(), parameterVector(), setParameterVector(), TotemRPLocalTrack(), trackCentrePoint(), trackPoint(), tx(), ty(), x0(), and y0().
|
private |
fit valid?
Definition at line 153 of file TotemRPLocalTrack.h.
Referenced by isValid(), and setValid().
|
private |
z where x0 and y0 are evaluated. filled from CTPPSGeometry::getRPTranslation
Definition at line 145 of file TotemRPLocalTrack.h.
Referenced by operator<(), setZ0(), trackCentrePoint(), trackPoint(), trackPointInterpolationCovariance(), and z0().