![]() |
PandaRoot
|
Contains the measurement and covariance in raw detector coordinates. More...
#include <AbsMeasurement.h>
Public Member Functions | |
AbsMeasurement () | |
AbsMeasurement (int nDims) | |
AbsMeasurement (const TVectorD &rawHitCoords, const TMatrixDSym &rawHitCov, int detId, int hitId, TrackPoint *trackPoint) | |
virtual | ~AbsMeasurement () |
virtual AbsMeasurement * | clone () const =0 |
Deep copy ctor for polymorphic class. More... | |
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 SharedPlanePtr | constructPlane (const StateOnPlane &state) const =0 |
virtual std::vector< genfit::MeasurementOnPlane * > | constructMeasurementsOnPlane (const StateOnPlane &state) const =0 |
virtual const AbsHMatrix * | constructHMatrix (const AbsTrackRep *) const =0 |
virtual void | Print (const Option_t *="") const |
Protected Member Functions | |
AbsMeasurement (const AbsMeasurement &) | |
protect from calling copy c'tor from outside the class. Use clone() if you want a copy! More... | |
Protected Attributes | |
TVectorD | rawHitCoords_ |
TMatrixDSym | rawHitCov_ |
int | detId_ |
int | hitId_ |
TrackPoint * | trackPoint_ |
Pointer to TrackPoint where the measurement belongs to. More... | |
Contains the measurement and covariance in raw detector coordinates.
Detector and hit ids can be used to point back to the original detector hits (clusters etc.).
Definition at line 41 of file AbsMeasurement.h.
|
inline |
|
inline |
Definition at line 45 of file AbsMeasurement.h.
References AbsMeasurement(), clone(), and ~AbsMeasurement().
genfit::AbsMeasurement::AbsMeasurement | ( | const TVectorD & | rawHitCoords, |
const TMatrixDSym & | rawHitCov, | ||
int | detId, | ||
int | hitId, | ||
TrackPoint * | trackPoint | ||
) |
|
virtual |
Referenced by AbsMeasurement().
|
protected |
protect from calling copy c'tor from outside the class. Use clone() if you want a copy!
|
pure virtual |
Deep copy ctor for polymorphic class.
Implemented in genfit::WireMeasurementNew, genfit::WireMeasurement, genfit::WirePointMeasurement, genfit::SpacepointMeasurement, genfit::ProlateSpacepointMeasurement, genfit::PlanarMeasurement, and genfit::FullMeasurement.
Referenced by AbsMeasurement().
|
pure virtual |
Returns a new AbsHMatrix object. Caller must take ownership.
Implemented in genfit::WireMeasurementNew, genfit::WireMeasurement, genfit::SpacepointMeasurement, genfit::WirePointMeasurement, genfit::PlanarMeasurement, and genfit::FullMeasurement.
Referenced by setHitId().
|
pure 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).
Implemented in genfit::WireMeasurementNew, genfit::WireMeasurement, genfit::SpacepointMeasurement, genfit::WirePointMeasurement, genfit::PlanarMeasurement, and genfit::FullMeasurement.
Referenced by setHitId().
|
pure 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.
Implemented in genfit::SpacepointMeasurement, genfit::WireMeasurementNew, genfit::WireMeasurement, genfit::WirePointMeasurement, genfit::PlanarMeasurement, genfit::ProlateSpacepointMeasurement, and genfit::FullMeasurement.
Referenced by setHitId().
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in genfit::WireMeasurementNew, and genfit::WireMeasurement.
Definition at line 65 of file AbsMeasurement.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 53 of file AbsMeasurement.h.
References trackPoint_.
|
inlinevirtual |
If the AbsMeasurement is a wire hit, the left/right resolution will be used.
Reimplemented in genfit::WireMeasurement.
Definition at line 64 of file AbsMeasurement.h.
|
virtual |
Referenced by setHitId().
|
inline |
|
inline |
Definition at line 72 of file AbsMeasurement.h.
References AbsMeasurement(), constructHMatrix(), constructMeasurementsOnPlane(), constructPlane(), hitId_, and Print().
|
inline |
|
inline |
|
inline |
Definition at line 54 of file AbsMeasurement.h.
References trackPoint_.
Referenced by genfit::TrackPoint::addRawMeasurement().
|
protected |
Definition at line 111 of file AbsMeasurement.h.
Referenced by getDetId(), and setDetId().
|
protected |
Definition at line 112 of file AbsMeasurement.h.
Referenced by getHitId(), and setHitId().
|
protected |
Definition at line 109 of file AbsMeasurement.h.
Referenced by getDim(), getRawHitCoords(), and setRawHitCoords().
|
protected |
Definition at line 110 of file AbsMeasurement.h.
Referenced by getRawHitCov(), and setRawHitCov().
|
protected |
Pointer to TrackPoint where the measurement belongs to.
Definition at line 115 of file AbsMeasurement.h.
Referenced by getTrackPoint(), and setTrackPoint().