Belle II Software  release-08-01-10
MeasurementOnPlane Class Reference

Measured coordinates on a plane. More...

#include <MeasurementOnPlane.h>

Inheritance diagram for MeasurementOnPlane:
Collaboration diagram for MeasurementOnPlane:

Public Member Functions

 MeasurementOnPlane (const AbsTrackRep *rep=nullptr)
 
 MeasurementOnPlane (const TVectorD &state, const TMatrixDSym &cov, SharedPlanePtr plane, const AbsTrackRep *rep, const AbsHMatrix *hMatrix, double weight=1.)
 
 MeasurementOnPlane (const MeasurementOnPlane &other)
 copy constructor
 
MeasurementOnPlaneoperator= (MeasurementOnPlane other)
 assignment operator
 
void swap (MeasurementOnPlane &other)
 
const AbsHMatrixgetHMatrix () const
 
double getWeight () const
 
TMatrixDSym getWeightedCov ()
 
void setHMatrix (const AbsHMatrix *hMatrix)
 
void setWeight (double weight)
 
void Print (Option_t *option="") const override
 
void swap (MeasuredStateOnPlane &other)
 
void swap (StateOnPlane &other)
 
virtual MeasuredStateOnPlaneclone () const override
 
const TMatrixDSym & getCov () const
 
TMatrixDSym & getCov ()
 
void blowUpCov (double blowUpFac, bool resetOffDiagonals=true, double maxVal=-1.)
 Blow up covariance matrix with blowUpFac. Per default, off diagonals are reset to 0 and the maximum values are limited to maxVal.
 
void setStateCov (const TVectorD &state, const TMatrixDSym &cov)
 
void setStateCovPlane (const TVectorD &state, const TMatrixDSym &cov, const SharedPlanePtr &plane)
 
void setCov (const TMatrixDSym &cov)
 
TMatrixDSym get6DCov () const
 
void getPosMomCov (TVector3 &pos, TVector3 &mom, TMatrixDSym &cov) const
 
void get6DStateCov (TVectorD &stateVec, TMatrixDSym &cov) const
 
double getMomVar () const
 
void setPosMomErr (const TVector3 &pos, const TVector3 &mom, const TVector3 &posErr, const TVector3 &momErr)
 
void setPosMomCov (const TVector3 &pos, const TVector3 &mom, const TMatrixDSym &cov6x6)
 
void setPosMomCov (const TVectorD &state6, const TMatrixDSym &cov6x6)
 
const TVectorD & getState () const
 
TVectorD & getState ()
 
const TVectorD & getAuxInfo () const
 
TVectorD & getAuxInfo ()
 
const SharedPlanePtrgetPlane () const
 
const AbsTrackRepgetRep () const
 
void setState (const TVectorD &state)
 
void setPlane (const SharedPlanePtr &plane)
 
void setStatePlane (const TVectorD &state, const SharedPlanePtr &plane)
 
void setAuxInfo (const TVectorD &auxInfo)
 
void setRep (const AbsTrackRep *rep)
 
double extrapolateToPlane (const SharedPlanePtr &plane, bool stopAtBoundary=false, bool calcJacobianNoise=false)
 
double extrapolateToLine (const TVector3 &linePoint, const TVector3 &lineDirection, bool stopAtBoundary=false, bool calcJacobianNoise=false)
 
double extrapolateToPoint (const TVector3 &point, bool stopAtBoundary=false, bool calcJacobianNoise=false)
 
double extrapolateToPoint (const TVector3 &point, const TMatrixDSym &G, bool stopAtBoundary=false, bool calcJacobianNoise=false)
 
double extrapolateToCylinder (double radius, const TVector3 &linePoint=TVector3(0., 0., 0.), const TVector3 &lineDirection=TVector3(0., 0., 1.), bool stopAtBoundary=false, bool calcJacobianNoise=false)
 
double extrapolateToCone (double openingAngle, const TVector3 &conePoint=TVector3(0., 0., 0.), const TVector3 &coneDirection=TVector3(0., 0., 1.), bool stopAtBoundary=false, bool calcJacobianNoise=false)
 
double extrapolateToSphere (double radius, const TVector3 &point=TVector3(0., 0., 0.), bool stopAtBoundary=false, bool calcJacobianNoise=false)
 
double extrapolateBy (double step, bool stopAtBoundary=false, bool calcJacobianNoise=false)
 
double extrapolateToMeasurement (const AbsMeasurement *measurement, bool stopAtBoundary=false, bool calcJacobianNoise=false)
 

Protected Attributes

std::unique_ptr< const AbsHMatrixhMatrix_
 
double weight_
 
TMatrixDSym cov_
 
TVectorD state_
 
TVectorD auxInfo_
 
SharedPlanePtr sharedPlane_
 

Private Member Functions

TVector3 getPos () const
 
TVector3 getMom () const
 
TVector3 getDir () const
 
void getPosMom (TVector3 &pos, TVector3 &mom) const
 
void getPosDir (TVector3 &pos, TVector3 &dir) const
 
TVectorD get6DState () const
 
double getMomMag () const
 
int getPDG () const
 
double getCharge () const
 
double getQop () const
 
double getMass () const
 
double getTime () const
 
void setPosMom (const TVector3 &pos, const TVector3 &mom)
 
void setPosMom (const TVectorD &state6)
 
void setChargeSign (double charge)
 
void setQop (double qop)
 
void setTime (double time)
 

Private Attributes

const AbsTrackReprep_
 Shared ownership. '!' in order to silence ROOT, custom streamer writes and reads this. More...
 

Detailed Description

Measured coordinates on a plane.

The dimensionality will usually be 1 or 2. The HMatrix corresponds to a projection matrix, which is used to project the track parameters with the original dimensionality down to the measured dimensionality.

Definition at line 46 of file MeasurementOnPlane.h.

Member Data Documentation

◆ rep_

const AbsTrackRep* rep_
privateinherited

Shared ownership. '!' in order to silence ROOT, custom streamer writes and reads this.

Pointer to TrackRep with respect to which StateOnPlane is defined

Definition at line 146 of file StateOnPlane.h.


The documentation for this class was generated from the following files: