24 #ifndef genfit_MeasurementOnPlane_h
25 #define genfit_MeasurementOnPlane_h
27 #include "MeasuredStateOnPlane.h"
28 #include "AbsHMatrix.h"
63 const AbsHMatrix* getHMatrix()
const {
return hMatrix_.get();}
64 double getWeight()
const {
return weight_;}
66 TMatrixDSym getWeightedCov() {
return weight_*cov_;}
68 void setHMatrix(
const AbsHMatrix* hMatrix) {hMatrix_.reset(hMatrix);}
69 void setWeight(
double weight) {weight_ = fmax(weight, 1.E-10);}
71 void Print(Option_t* option =
"")
const override ;
74 TVector3 getPos()
const;
75 TVector3 getMom()
const;
76 TVector3 getDir()
const;
77 void getPosMom(TVector3& pos, TVector3& mom)
const;
78 void getPosDir(TVector3& pos, TVector3& dir)
const;
79 TVectorD get6DState()
const;
80 double getMomMag()
const;
82 double getCharge()
const;
83 double getQop()
const;
84 double getMass()
const;
85 double getTime()
const;
87 void setPosMom(
const TVector3& pos,
const TVector3& mom);
88 void setPosMom(
const TVectorD& state6);
89 void setChargeSign(
double charge);
90 void setQop(
double qop);
91 void setTime(
double time);
96 std::unique_ptr<const AbsHMatrix> hMatrix_;
HMatrix for projecting from AbsTrackRep parameters to measured parameters in a DetPlane.
Abstract base class for a track representation.
#StateOnPlane with additional covariance matrix.
Measured coordinates on a plane.
MeasurementOnPlane & operator=(MeasurementOnPlane other)
assignment operator
Defines for I/O streams used for error and debug printing.
std::shared_ptr< genfit::DetPlane > SharedPlanePtr
Shared Pointer to a DetPlane.