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 30 of file TotemRPLocalTrack.h.
|
inline |
Definition at line 71 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 |
Definition at line 78 of file TotemRPLocalTrack.h.
|
inline |
Definition at line 81 of file TotemRPLocalTrack.h.
References CovarianceMatrixElement(), and mathSSE::sqrt().
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack().
|
inline |
|
inline |
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 141 of file TotemRPLocalTrack.h.
|
inlineprivate |
Definition at line 139 of file TotemRPLocalTrack.h.
Referenced by addHit(), covarianceMatrix(), setCovarianceMatrix(), TotemRPLocalTrack(), trackPointInterpolationCovariance(), x0(), and x0Sigma().
|
inline |
Definition at line 102 of file TotemRPLocalTrack.h.
|
inline |
|
inline |
Definition at line 132 of file TotemRPLocalTrack.h.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 119 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 115 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 134 of file TotemRPLocalTrack.h.
References dimension, mps_fire::i, dqmiolumiharvest::j, and par_covariance_matrix_.
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack().
|
inline |
Definition at line 94 of file TotemRPLocalTrack.h.
References track_params_vector_.
Referenced by TotemRPLocalTrackFitterAlgorithm::fitTrack().
|
inline |
Definition at line 128 of file TotemRPLocalTrack.h.
References RunInfoPI::valid, and valid_.
|
inline |
returns (x, y) vector
Definition at line 122 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 |
|
inline |
|
inline |
|
inline |
Definition at line 100 of file TotemRPLocalTrack.h.
|
inline |
Definition at line 85 of file TotemRPLocalTrack.h.
References CovarianceMatrixElement(), and mathSSE::sqrt().
Referenced by ElasticPlotDQMSource::analyze().
|
inline |
|
inline |
|
inline |
Definition at line 89 of file TotemRPLocalTrack.h.
Referenced by ElasticPlotDQMSource::analyze().
|
inline |
Definition at line 90 of file TotemRPLocalTrack.h.
|
inline |
|
inline |
|
friend |
Definition at line 86 of file TotemRPLocalTrack.cc.
|
private |
fit chi^2
Definition at line 155 of file TotemRPLocalTrack.h.
Definition at line 69 of file TotemRPLocalTrack.h.
|
static |
< parameter vector size
covariance matrix size
Definition at line 66 of file TotemRPLocalTrack.h.
Referenced by covarianceMatrix(), operator<(), parameterVector(), setCovarianceMatrix(), setParameterVector(), setValid(), TotemRPLocalTrack(), and trackPointInterpolationCovariance().
|
private |
Definition at line 152 of file TotemRPLocalTrack.h.
Referenced by setValid().
|
private |
Definition at line 143 of file TotemRPLocalTrack.h.
Referenced by chiSquared().
|
private |
track parameters: (x0, y0, tx, ty); x = x0 + tx*(z-z0) ...
Definition at line 146 of file TotemRPLocalTrack.h.
Referenced by hits(), parameterVector(), setParameterVector(), setZ0(), TotemRPLocalTrack(), trackPoint(), and y0Variance().
|
private |
|
private |
z where x0 and y0 are evaluated. filled from CTPPSGeometry::getRPTranslation
Definition at line 150 of file TotemRPLocalTrack.h.
Referenced by chiSquaredOverNDF(), trackPoint(), trackPointInterpolationCovariance(), x0Variance(), and y0().