23 #ifndef genfit_KalmanFittedStateOnPlane_h
24 #define genfit_KalmanFittedStateOnPlane_h
26 #include "MeasuredStateOnPlane.h"
50 double getChiSquareIncrement()
const {
return chiSquareIncrement_;}
51 double getNdf()
const {
return ndf_;}
53 void setChiSquareIncrement(
double chiSquareIncrement) {chiSquareIncrement_ = chiSquareIncrement;}
54 void setNdf(
double ndf) {
ndf_ = ndf;}
59 double chiSquareIncrement_;
72 inline KalmanFittedStateOnPlane::KalmanFittedStateOnPlane() :
78 inline KalmanFittedStateOnPlane::KalmanFittedStateOnPlane(
const TVectorD& state,
const TMatrixDSym& cov,
const SharedPlanePtr& plane,
const AbsTrackRep* rep,
double chiSquareIncrement,
double ndf) :
79 MeasuredStateOnPlane(state, cov, plane, rep), chiSquareIncrement_(chiSquareIncrement), ndf_(ndf)
84 inline KalmanFittedStateOnPlane::KalmanFittedStateOnPlane(
const TVectorD& state,
const TMatrixDSym& cov,
const SharedPlanePtr& plane,
const AbsTrackRep* rep,
const TVectorD& auxInfo,
double chiSquareIncrement,
double ndf) :
85 MeasuredStateOnPlane(state, cov, plane, rep, auxInfo), chiSquareIncrement_(chiSquareIncrement), ndf_(ndf)
90 inline KalmanFittedStateOnPlane::KalmanFittedStateOnPlane(
const MeasuredStateOnPlane& state,
double chiSquareIncrement,
double ndf) :
91 MeasuredStateOnPlane(state), chiSquareIncrement_(chiSquareIncrement), ndf_(ndf)
96 inline KalmanFittedStateOnPlane& KalmanFittedStateOnPlane::operator=(KalmanFittedStateOnPlane other) {
101 inline void KalmanFittedStateOnPlane::swap(KalmanFittedStateOnPlane& other) {
102 MeasuredStateOnPlane::swap(other);
103 std::swap(this->chiSquareIncrement_, other.chiSquareIncrement_);
104 std::swap(this->
ndf_, other.ndf_);
Abstract base class for a track representation.
#MeasuredStateOnPlane with additional info produced by a Kalman filter or DAF.
double ndf_
Degrees of freedom. Needs to be a double because of DAF.
#StateOnPlane with additional covariance matrix.
Defines for I/O streams used for error and debug printing.
std::shared_ptr< genfit::DetPlane > SharedPlanePtr
Shared Pointer to a DetPlane.