SND@LHC Software
|
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. | |
TrackPoint * | getTrackPoint () const |
void | setTrackPoint (TrackPoint *tp) |
const TVectorD & | getRawHitCoords () const |
const TMatrixDSym & | getRawHitCov () const |
int | getDetId () const |
int | getHitId () const |
unsigned int | getDim () const |
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! | |
Protected Attributes | |
TVectorD | rawHitCoords_ |
TMatrixDSym | rawHitCov_ |
int | detId_ |
int | hitId_ |
TrackPoint * | trackPoint_ |
Pointer to TrackPoint where the measurement belongs to. | |
Private Member Functions | |
AbsMeasurement & | operator= (const AbsMeasurement &) |
protect from calling assignment operator from outside the class. Use clone() if you want a copy! | |
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 42 of file AbsMeasurement.h.
|
inline |
Definition at line 46 of file AbsMeasurement.h.
|
inline |
Definition at line 47 of file AbsMeasurement.h.
genfit::AbsMeasurement::AbsMeasurement | ( | const TVectorD & | rawHitCoords, |
const TMatrixDSym & | rawHitCov, | ||
int | detId, | ||
int | hitId, | ||
TrackPoint * | trackPoint | ||
) |
Definition at line 28 of file AbsMeasurement.cc.
|
virtual |
Definition at line 47 of file AbsMeasurement.cc.
|
protected |
protect from calling copy c'tor from outside the class. Use clone() if you want a copy!
Definition at line 35 of file AbsMeasurement.cc.
|
pure virtual |
Deep copy ctor for polymorphic class.
Implemented in genfit::FullMeasurement, genfit::PlanarMeasurement, genfit::ProlateSpacepointMeasurement, genfit::SpacepointMeasurement, genfit::WireMeasurement, genfit::WirePointMeasurement, and genfit::mySpacepointMeasurement.
|
pure virtual |
Returns a new AbsHMatrix object. Caller must take ownership.
Implemented in genfit::FullMeasurement, genfit::PlanarMeasurement, genfit::SpacepointMeasurement, genfit::WireMeasurement, and genfit::WirePointMeasurement.
|
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::FullMeasurement, genfit::PlanarMeasurement, genfit::SpacepointMeasurement, genfit::WireMeasurement, and genfit::WirePointMeasurement.
|
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::FullMeasurement, genfit::PlanarMeasurement, genfit::ProlateSpacepointMeasurement, genfit::SpacepointMeasurement, genfit::WireMeasurement, and genfit::WirePointMeasurement.
|
inline |
Definition at line 60 of file AbsMeasurement.h.
|
inline |
Definition at line 63 of file AbsMeasurement.h.
|
inline |
Definition at line 61 of file AbsMeasurement.h.
|
inline |
Definition at line 58 of file AbsMeasurement.h.
|
inline |
Definition at line 59 of file AbsMeasurement.h.
|
inline |
Definition at line 55 of file AbsMeasurement.h.
|
private |
protect from calling assignment operator from outside the class. Use clone() if you want a copy!
Definition at line 53 of file AbsMeasurement.cc.
|
virtual |
Definition at line 60 of file AbsMeasurement.cc.
|
inline |
Definition at line 65 of file AbsMeasurement.h.
|
inline |
Definition at line 66 of file AbsMeasurement.h.
|
inline |
Definition at line 56 of file AbsMeasurement.h.
|
protected |
Definition at line 107 of file AbsMeasurement.h.
|
protected |
Definition at line 108 of file AbsMeasurement.h.
|
protected |
Definition at line 105 of file AbsMeasurement.h.
|
protected |
Definition at line 106 of file AbsMeasurement.h.
|
protected |
Pointer to TrackPoint where the measurement belongs to.
Definition at line 111 of file AbsMeasurement.h.