FairRoot/PandaRoot
|
Class for measurements implementing a space point hit geometry with a very prolate form of the covariance matrix. More...
#include <ProlateSpacepointMeasurement.h>
Public Member Functions | |
ProlateSpacepointMeasurement (int nDim=3) | |
ProlateSpacepointMeasurement (const TVectorD &rawHitCoords, const TMatrixDSym &rawHitCov, int detId, int hitId, TrackPoint *trackPoint) | |
virtual | ~ProlateSpacepointMeasurement () |
virtual AbsMeasurement * | clone () const |
Deep copy ctor for polymorphic class. More... | |
virtual SharedPlanePtr | constructPlane (const StateOnPlane &state) const |
Contruct the virtual detector plane. More... | |
const TVector3 & | getLargestErrorDirection () |
void | setLargestErrorDirection (const TVector3 &dir) |
virtual std::vector < MeasurementOnPlane * > | constructMeasurementsOnPlane (const StateOnPlane &state) const |
virtual const AbsHMatrix * | constructHMatrix (const AbsTrackRep *) const |
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. 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 Member Functions | |
void | initG () |
Protected Attributes | |
TVector3 | largestErrorDirection_ |
TVectorD | rawHitCoords_ |
TMatrixDSym | rawHitCov_ |
int | detId_ |
int | hitId_ |
TrackPoint * | trackPoint_ |
Pointer to TrackPoint where the measurement belongs to. More... | |
Class for measurements implementing a space point hit geometry with a very prolate form of the covariance matrix.
Measurements from detectors measuring 3D space points with errors in one direction much larger than the errors perpendicular should use this class.
For these hits, a virtual detector plane lying in the POCA and perpendicular to the track yields wrong results. Instead, the plane should contain the direction of the largest error.
The largest error direction can be set. Standard is in z.
Definition at line 46 of file ProlateSpacepointMeasurement.h.
genfit::ProlateSpacepointMeasurement::ProlateSpacepointMeasurement | ( | int | nDim = 3 | ) |
Referenced by clone().
genfit::ProlateSpacepointMeasurement::ProlateSpacepointMeasurement | ( | const TVectorD & | rawHitCoords, |
const TMatrixDSym & | rawHitCov, | ||
int | detId, | ||
int | hitId, | ||
TrackPoint * | trackPoint | ||
) |
|
inlinevirtual |
Definition at line 52 of file ProlateSpacepointMeasurement.h.
|
inlinevirtual |
Deep copy ctor for polymorphic class.
Reimplemented from genfit::SpacepointMeasurement.
Definition at line 54 of file ProlateSpacepointMeasurement.h.
References ProlateSpacepointMeasurement().
|
virtualinherited |
Returns a new AbsHMatrix object. Caller must take ownership.
Implements genfit::AbsMeasurement.
|
virtualinherited |
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.
|
virtual |
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.
Reimplemented from genfit::SpacepointMeasurement.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
Definition at line 59 of file ProlateSpacepointMeasurement.h.
References largestErrorDirection_.
|
inlinevirtualinherited |
Reimplemented in genfit::WireMeasurementNew, and genfit::WireMeasurement.
Definition at line 67 of file AbsMeasurement.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 55 of file AbsMeasurement.h.
References genfit::AbsMeasurement::trackPoint_.
|
protectedinherited |
|
inlinevirtualinherited |
If the AbsMeasurement is a wire hit, the left/right resolution will be used.
Reimplemented in genfit::WireMeasurement.
Definition at line 66 of file AbsMeasurement.h.
|
virtualinherited |
|
inlineinherited |
Definition at line 73 of file AbsMeasurement.h.
References genfit::AbsMeasurement::detId_.
Referenced by PndFtsRecoHit2::PndFtsRecoHit2(), PndGemRecoHit2::PndGemRecoHit2(), PndMdtRecoHit2::PndMdtRecoHit2(), PndSdsRecoHit2::PndSdsRecoHit2(), and PndSttRecoHit2::PndSttRecoHit2().
|
inlineinherited |
Definition at line 74 of file AbsMeasurement.h.
References genfit::AbsMeasurement::hitId_.
Referenced by PndFtsRecoHit2::PndFtsRecoHit2(), PndGemRecoHit2::PndGemRecoHit2(), PndMdtRecoHit2::PndMdtRecoHit2(), PndSdsRecoHit2::PndSdsRecoHit2(), and PndSttRecoHit2::PndSttRecoHit2().
|
inline |
Definition at line 60 of file ProlateSpacepointMeasurement.h.
References largestErrorDirection_.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 56 of file AbsMeasurement.h.
References genfit::AbsMeasurement::trackPoint_.
Referenced by genfit::TrackPoint::addRawMeasurement().
|
protectedinherited |
Definition at line 115 of file AbsMeasurement.h.
Referenced by genfit::AbsMeasurement::getDetId(), and genfit::AbsMeasurement::setDetId().
|
protectedinherited |
Definition at line 116 of file AbsMeasurement.h.
Referenced by genfit::AbsMeasurement::getHitId(), and genfit::AbsMeasurement::setHitId().
|
protected |
Definition at line 63 of file ProlateSpacepointMeasurement.h.
Referenced by getLargestErrorDirection(), and setLargestErrorDirection().
|
protectedinherited |
Definition at line 113 of file AbsMeasurement.h.
Referenced by genfit::AbsMeasurement::getDim(), genfit::AbsMeasurement::getRawHitCoords(), PndFtsRecoHit2::PndFtsRecoHit2(), PndGemRecoHit2::PndGemRecoHit2(), PndHitRecoHit2::PndHitRecoHit2(), PndMdtRecoHit2::PndMdtRecoHit2(), PndSdsRecoHit2::PndSdsRecoHit2(), PndSttRecoHit2::PndSttRecoHit2(), and genfit::AbsMeasurement::setRawHitCoords().
|
protectedinherited |
Definition at line 114 of file AbsMeasurement.h.
Referenced by genfit::AbsMeasurement::getRawHitCov(), PndFtsRecoHit2::PndFtsRecoHit2(), PndGemRecoHit2::PndGemRecoHit2(), PndHitRecoHit2::PndHitRecoHit2(), PndMdtRecoHit2::PndMdtRecoHit2(), PndSdsRecoHit2::PndSdsRecoHit2(), PndSttRecoHit2::PndSttRecoHit2(), and genfit::AbsMeasurement::setRawHitCov().
|
protectedinherited |
Pointer to TrackPoint where the measurement belongs to.
Definition at line 119 of file AbsMeasurement.h.
Referenced by genfit::AbsMeasurement::getTrackPoint(), and genfit::AbsMeasurement::setTrackPoint().