![]() |
PandaRoot
|
Measurement class implementing a planar hit geometry (1 or 2D). More...
#include <PlanarMeasurement.h>
Public Member Functions | |
PlanarMeasurement (int nDim=1) | |
PlanarMeasurement (const TVectorD &rawHitCoords, const TMatrixDSym &rawHitCov, int detId, int hitId, TrackPoint *trackPoint) | |
virtual | ~PlanarMeasurement () |
virtual AbsMeasurement * | clone () const |
Deep copy ctor for polymorphic class. More... | |
int | getPlaneId () const |
virtual SharedPlanePtr | constructPlane (const StateOnPlane &state) const |
virtual std::vector< MeasurementOnPlane * > | constructMeasurementsOnPlane (const StateOnPlane &state) const |
virtual const AbsHMatrix * | constructHMatrix (const AbsTrackRep *) const |
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... | |
![]() | |
AbsMeasurement () | |
AbsMeasurement (int nDims) | |
AbsMeasurement (const TVectorD &rawHitCoords, const TMatrixDSym &rawHitCov, int detId, int hitId, TrackPoint *trackPoint) | |
virtual | ~AbsMeasurement () |
TrackPoint * | getTrackPoint () const |
void | setTrackPoint (TrackPoint *tp) |
const TVectorD & | getRawHitCoords () const |
const TMatrixDSym & | getRawHitCov () const |
TVectorD & | getRawHitCoords () |
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. More... | |
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. More... | |
bool | stripV_ |
![]() | |
TVectorD | rawHitCoords_ |
TMatrixDSym | rawHitCov_ |
int | detId_ |
int | hitId_ |
TrackPoint * | trackPoint_ |
Pointer to TrackPoint where the measurement belongs to. More... | |
Additional Inherited Members | |
![]() | |
AbsMeasurement (const AbsMeasurement &) | |
protect from calling copy c'tor from outside the class. Use clone() if you want a copy! More... | |
Measurement class implementing a planar hit geometry (1 or 2D).
The main feature of this type of hit is, that the detector plane is defined by the detector hardware.
Definition at line 43 of file PlanarMeasurement.h.
genfit::PlanarMeasurement::PlanarMeasurement | ( | int | nDim = 1 | ) |
Referenced by clone().
genfit::PlanarMeasurement::PlanarMeasurement | ( | const TVectorD & | rawHitCoords, |
const TMatrixDSym & | rawHitCov, | ||
int | detId, | ||
int | hitId, | ||
TrackPoint * | trackPoint | ||
) |
|
inlinevirtual |
Definition at line 49 of file PlanarMeasurement.h.
|
inlinevirtual |
Deep copy ctor for polymorphic class.
Implements genfit::AbsMeasurement.
Definition at line 51 of file PlanarMeasurement.h.
References PlanarMeasurement().
|
virtual |
Returns a new AbsHMatrix object. Caller must take ownership.
Implements genfit::AbsMeasurement.
Referenced by getPlaneId().
|
virtual |
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 genfit::AbsMeasurement.
Referenced by getPlaneId().
|
virtual |
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 genfit::AbsMeasurement.
Referenced by getPlaneId().
|
inline |
Definition at line 53 of file PlanarMeasurement.h.
References constructHMatrix(), constructMeasurementsOnPlane(), constructPlane(), and planeId_.
|
inlinevirtual |
Definition at line 61 of file PlanarMeasurement.h.
References physicalPlane_, and planeId_.
|
inline |
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 73 of file PlanarMeasurement.h.
|
protected |
Definition at line 76 of file PlanarMeasurement.h.
Referenced by setPlane().
|
protected |
This is persistent, but '!' makes ROOT shut up.
Definition at line 77 of file PlanarMeasurement.h.
Referenced by getPlaneId(), and setPlane().
|
protected |
Definition at line 78 of file PlanarMeasurement.h.
Referenced by setStripV().