Belle II Software
release-08-01-10
|
Measurement class implementing a measurement of all track parameters. More...
#include <FullMeasurement.h>
Public Member Functions | |
FullMeasurement (int nDim=5) | |
FullMeasurement (const MeasuredStateOnPlane &, int detId=-1, int hitId=-1, TrackPoint *trackPoint=nullptr) | |
virtual AbsMeasurement * | clone () const override |
Deep copy ctor for polymorphic class. | |
virtual SharedPlanePtr | constructPlane (const StateOnPlane &state) const override |
Construct (virtual) detector plane (use state's AbsTrackRep). More... | |
virtual std::vector< MeasurementOnPlane * > | constructMeasurementsOnPlane (const StateOnPlane &state) const override |
Construct MeasurementOnPlane on plane of the state and wrt the states TrackRep. More... | |
virtual const AbsHMatrix * | constructHMatrix (const AbsTrackRep *) const override |
Returns a new AbsHMatrix object. More... | |
TrackPoint * | getTrackPoint () const |
void | setTrackPoint (TrackPoint *tp) |
const TVectorD & | getRawHitCoords () const |
TVectorD & | getRawHitCoords () |
const TMatrixDSym & | getRawHitCov () const |
TMatrixDSym & | getRawHitCov () |
int | getDetId () const |
int | getHitId () const |
virtual bool | isLeftRightMeasurement () const |
If the AbsMeasurement is a wire hit, the left/right resolution will be used. | |
virtual int | getLeftRightResolution () const |
unsigned int | getDim () const |
void | setRawHitCoords (const TVectorD &coords) |
void | setRawHitCov (const TMatrixDSym &cov) |
void | setDetId (int detId) |
void | setHitId (int hitId) |
virtual void | Print (const Option_t *="") const |
Protected Attributes | |
SharedPlanePtr | plane_ |
TVectorD | rawHitCoords_ |
TMatrixDSym | rawHitCov_ |
int | detId_ |
int | hitId_ |
TrackPoint * | trackPoint_ |
Pointer to TrackPoint where the measurement belongs to. | |
Measurement class implementing a measurement of all track parameters.
This class can e.g. be used, if the fitted track parameters measured in one subdetector should be put into one "measurement".
Definition at line 42 of file FullMeasurement.h.
|
overridevirtual |
Returns a new AbsHMatrix object.
Caller must take ownership.
Implements AbsMeasurement.
Definition at line 66 of file FullMeasurement.cc.
|
overridevirtual |
Construct MeasurementOnPlane on plane of the state and wrt the states TrackRep.
The state will usually be the prediction or reference state, and has to be defined AT the measurement. The AbsMeasurement will be projected onto the plane. It's possible to make corrections to the coordinates here (e.g. by using the state coordinates). Usually the vector will contain only one element. But in the case of e.g. a WireMeasurement, it will be 2 (left and right).
Implements AbsMeasurement.
Definition at line 54 of file FullMeasurement.cc.
|
overridevirtual |
Construct (virtual) detector plane (use state's AbsTrackRep).
It's possible to make corrections to the plane here. The state should be defined somewhere near the measurement. For virtual planes, the state will be extrapolated to the POCA to point (SpacepointMeasurement) or line (WireMeasurement), and from this info the plane will be constructed.
Implements AbsMeasurement.
Definition at line 45 of file FullMeasurement.cc.