10 #ifndef DataFormats_CTPPSReco_TotemRPLocalTrack
11 #define DataFormats_CTPPSReco_TotemRPLocalTrack
69 const TVectorD &track_params_vector,
70 const TMatrixD &par_covariance_matrix,
88 inline double z0()
const {
return z0_; }
98 TVector3 vect(
tx(),
ty(), 1);
118 double delta_z = z -
z0_;
TVector3 trackCentrePoint()
TVector3 directionVector() const
double pullNormalization() const
void setChiSquared(double &chiSquared)
double par_covariance_matrix_[covarianceSize]
void addHit(unsigned int detId, const FittedRecHit &hit)
double y0Variance() const
double chiSquared() const
FittedRecHit(const TotemRPRecHit &hit, const TVector3 &space_point_on_det, double residual, double pull)
TVector3 space_point_on_det_
mm
TVector2 trackPoint(double z) const
returns (x, y) vector
A track fit through a single RP.
TMatrixD trackPointInterpolationCovariance(double z) const
const TVector3 & globalCoordinates() const
static const int dimension
< parameter vector size
double track_params_vector_[dimension]
track parameters: (x0, y0, tx, ty); x = x0 + tx*(z-z0) ...
Reconstructed hit in TOTEM RP.
double pull_
normalised residual
const edm::DetSetVector< FittedRecHit > & hits() const
TMatrixD covarianceMatrix() const
void setValid(bool valid)
double chiSquared_
fit chi^2
double chiSquaredOverNDF() const
const double & CovarianceMatrixElement(int i, int j) const
static const int covarianceSize
unsigned short numberOfPointsUsedForFit() const
double x0Variance() const
edm::DetSetVector< FittedRecHit > track_hits_vector_
TVectorD parameterVector() const
virtual ~TotemRPLocalTrack()
void setCovarianceMatrix(const TMatrixD &par_covariance_matrix)
void setPull(double pull)
void setParameterVector(const TVectorD &track_params_vector)
void setResidual(double residual)
friend bool operator<(const TotemRPLocalTrack &l, const TotemRPLocalTrack &r)
void setGlobalCoordinates(const TVector3 &space_point_on_det)
double & CovarianceMatrixElement(int i, int j)