23 #ifndef genfit_KalmanFittedStateOnPlane_h
24 #define genfit_KalmanFittedStateOnPlane_h
26 #include "MeasuredStateOnPlane.h"
49 double getChiSquareIncrement()
const {
return chiSquareIncrement_;}
50 double getNdf()
const {
return ndf_;}
52 void setChiSquareIncrement(
double chiSquareIncrement) {chiSquareIncrement_ = chiSquareIncrement;}
53 void setNdf(
double ndf) {
ndf_ = ndf;}
58 double chiSquareIncrement_;
71 inline KalmanFittedStateOnPlane::KalmanFittedStateOnPlane() :
77 inline KalmanFittedStateOnPlane::KalmanFittedStateOnPlane(
const TVectorD& state,
const TMatrixDSym& cov,
const SharedPlanePtr& plane,
const AbsTrackRep* rep,
double chiSquareIncrement,
double ndf) :
78 MeasuredStateOnPlane(state, cov, plane, rep), chiSquareIncrement_(chiSquareIncrement), ndf_(ndf)
83 inline KalmanFittedStateOnPlane::KalmanFittedStateOnPlane(
const TVectorD& state,
const TMatrixDSym& cov,
const SharedPlanePtr& plane,
const AbsTrackRep* rep,
const TVectorD& auxInfo,
double chiSquareIncrement,
double ndf) :
84 MeasuredStateOnPlane(state, cov, plane, rep, auxInfo), chiSquareIncrement_(chiSquareIncrement), ndf_(ndf)
89 inline KalmanFittedStateOnPlane::KalmanFittedStateOnPlane(
const MeasuredStateOnPlane& state,
double chiSquareIncrement,
double ndf) :
90 MeasuredStateOnPlane(state), chiSquareIncrement_(chiSquareIncrement), ndf_(ndf)
95 inline KalmanFittedStateOnPlane& KalmanFittedStateOnPlane::operator=(KalmanFittedStateOnPlane other) {
100 inline void KalmanFittedStateOnPlane::swap(KalmanFittedStateOnPlane& other) {
101 MeasuredStateOnPlane::swap(other);
102 std::swap(this->chiSquareIncrement_, other.chiSquareIncrement_);
103 std::swap(this->
ndf_, other.ndf_);
109 #endif // genfit_KalmanFittedStateOnPlane_h