Belle II Software
release-08-01-10
|
Measurement class implementing a planar hit geometry (1 or 2D) with only a momentum measurement. More...
#include <PlanarMomentumMeasurement.h>
Public Member Functions | |
PlanarMomentumMeasurement () | |
Default contructor with 1 dim. | |
PlanarMomentumMeasurement (const genfit::PlanarMeasurement &parentElement) | |
Copy from other planar measurement and resize the hit coords to one dimension. | |
virtual genfit::AbsMeasurement * | clone () const override |
Clone. | |
virtual const genfit::AbsHMatrix * | constructHMatrix (const genfit::AbsTrackRep *rep) const override |
Construct the QP matrix. | |
int | getPlaneId () const |
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 void | setPlane (const SharedPlanePtr &physicalPlane, int planeId=-1) |
void | setStripV (bool v=true) |
Use if the coordinate for 1D hits measured in V direction. 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 | physicalPlane_ |
int | planeId_ |
This is persistent, but '!' makes ROOT shut up. | |
bool | stripV_ |
TVectorD | rawHitCoords_ |
TMatrixDSym | rawHitCov_ |
int | detId_ |
int | hitId_ |
TrackPoint * | trackPoint_ |
Pointer to TrackPoint where the measurement belongs to. | |
Measurement class implementing a planar hit geometry (1 or 2D) with only a momentum measurement.
Definition at line 26 of file PlanarMomentumMeasurement.h.
|
overridevirtualinherited |
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.
Reimplemented in PlanarVXDMomentumMeasurement< HitType >, SVDRecoHit2D, SVDRecoHit, PXDRecoHit, and AlignableBKLMRecoHit.
Definition at line 55 of file PlanarMeasurement.cc.
|
overridevirtualinherited |
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 46 of file PlanarMeasurement.cc.
|
inlineinherited |
Use if the coordinate for 1D hits measured in V direction.
Per default for 1D planar hits, the coordinate is measured in U direction. With this function you can set it to be measured in V direction. This affects the outcoe of constructHMatrix().
Definition at line 70 of file PlanarMeasurement.h.