Belle II Software
release-08-01-10
|
Example class for a spacepoint measurement which can be created from mySpacepointDetectorHit via the MeasurementFactory. More...
#include <mySpacepointMeasurement.h>
Public Member Functions | |
mySpacepointMeasurement () | |
Default constructor for ROOT IO. | |
mySpacepointMeasurement (const mySpacepointDetectorHit *detHit, const TrackCandHit *hit) | |
virtual mySpacepointMeasurement * | clone () const |
Deep copy ctor for polymorphic class. | |
virtual SharedPlanePtr | constructPlane (const StateOnPlane &state) const override |
Contruct the virtual detector plane. 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... | |
bool | getWeightedPlaneConstruction () const |
false: project 3D cov onto DetPlane. true: cut 3D cov with DetPlane | |
void | setWeightedPlaneConstruction (bool value) |
bool | getCutCov () const |
false: use POCA to construct DetPlane. true: Use metric G to construct POCA | |
void | setCutCov (bool value) |
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 Member Functions | |
void | initG () |
Protected Attributes | |
TVectorD | rawHitCoords_ |
TMatrixDSym | rawHitCov_ |
int | detId_ |
int | hitId_ |
TrackPoint * | trackPoint_ |
Pointer to TrackPoint where the measurement belongs to. | |
Private Attributes | |
bool | weightedPlaneContruction_ |
TMatrixDSym | G_ |
bool | cutCov_ |
inverse of 3x3 cov | |
Example class for a spacepoint measurement which can be created from mySpacepointDetectorHit via the MeasurementFactory.
Definition at line 36 of file mySpacepointMeasurement.h.
|
overridevirtualinherited |
Returns a new AbsHMatrix object.
Caller must take ownership.
Implements AbsMeasurement.
Definition at line 120 of file SpacepointMeasurement.cc.
|
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.
Definition at line 69 of file SpacepointMeasurement.cc.
|
overridevirtualinherited |
Contruct the virtual detector plane.
Per default, the plane will be constructed such that it contains the measurement and POCA to the measurement in cartesian space. The plane is perpendicular to the track (at the POCA).
If weightedPlaneContruction_ is set, the POCA will be calculated in a space weighted with the inverse of the 3D covariance. E.g. if the covariance is very oblate, the plane will be almost defined by the covariance shape. If the covariance is very prolate, the behaviour will be very similar to the ProlateSpacepointHit.
Implements AbsMeasurement.
Reimplemented in ProlateSpacepointMeasurement.
Definition at line 53 of file SpacepointMeasurement.cc.