#include <PointHit.h>
Public Member Functions | |
PointHit () | |
PointHit (TVector3 point, double res) | |
PointHit (TVector3 point, std::vector< double > &ref) | |
PointHit (TVector3 point, TVector3 res) | |
virtual | ~PointHit () |
virtual GFAbsRecoHit * | clone () |
Get clone of this object. More... | |
virtual TMatrixT< Double_t > | getHMatrix (const GFAbsTrackRep *stateVector) |
Get transformation matrix. Transformation between hit coordinates and track representation coordinates. More... | |
virtual TMatrixT< Double_t > | getHMatrix (const GFAbsTrackRep *stateVector, const Double_t &, const Double_t &) |
Public Member Functions inherited from genf::GFRecoHitIfc< HitPolicy > | |
GFRecoHitIfc (int dim) | |
Constructor specifying dimension of hit coordinate vector. More... | |
virtual | ~GFRecoHitIfc () |
virtual const GFDetPlane & | getDetPlane (GFAbsTrackRep *rep) |
Returns the detector plane object for this hit and a given track representation. More... | |
virtual TMatrixT< Double_t > | getHitCoord (const GFDetPlane &plane, const GFDetPlane &planePrev) |
Get hit coordinates in a specific detector plane. More... | |
virtual TMatrixT< Double_t > | getHitCoord (const GFDetPlane &plane) |
virtual TMatrixT< Double_t > | getHitCov (const GFDetPlane &plane) |
Get hit covariances in a specific detector plane. More... | |
virtual TMatrixT< Double_t > | getHitCov (const GFDetPlane &plane, const GFDetPlane &planePrev, const TMatrixT< Double_t > &state, const Double_t &mass) |
const std::string & | getPolicyName () |
Public Member Functions inherited from genf::GFAbsRecoHit | |
virtual | ~GFAbsRecoHit () |
GFAbsRecoHit (int NparHit) | |
Constructor specifying dimension of coordinate vector. More... | |
GFAbsRecoHit () | |
Default constructor needed for compatibility with ROOT. More... | |
virtual TMatrixT< Double_t > | residualVector (const GFAbsTrackRep *stateVector, const TMatrixT< Double_t > &state, const GFDetPlane &d) |
Calculate residual with respect to a track representation. More... | |
virtual TMatrixT< Double_t > | residualVector (const GFAbsTrackRep *stateVector, const TMatrixT< Double_t > &state, const GFDetPlane &d, const GFDetPlane &dPrev, const double &mass) |
TMatrixT< Double_t > | getRawHitCov () const |
Get raw hit covariances. More... | |
TMatrixT< Double_t > | getRawHitCoord () const |
Get raw hit coordinates. More... | |
virtual void | Print (std::ostream &out=std::cout) const |
Print raw hit coordinates. More... | |
int | getNparHit () |
Static Private Attributes | |
static const int | NparHitRep = 3 |
Additional Inherited Members | |
Protected Attributes inherited from genf::GFRecoHitIfc< HitPolicy > | |
HitPolicy | fPolicy |
Protected Attributes inherited from genf::GFAbsRecoHit | |
TMatrixT< Double_t > | fHitCoord |
Vector of raw coordinates of hit. More... | |
TMatrixT< Double_t > | fHitCov |
Covariance of raw hit coordinates. More... | |
Definition at line 14 of file PointHit.h.
genf::PointHit::PointHit | ( | ) |
Definition at line 21 of file PointHit.cxx.
genf::PointHit::PointHit | ( | TVector3 | point, |
double | res | ||
) |
Definition at line 25 of file PointHit.cxx.
genf::PointHit::PointHit | ( | TVector3 | point, |
std::vector< double > & | ref | ||
) |
Definition at line 40 of file PointHit.cxx.
genf::PointHit::PointHit | ( | TVector3 | point, |
TVector3 | res | ||
) |
|
virtual |
Definition at line 18 of file PointHit.cxx.
|
virtual |
Get clone of this object.
Virtual abstract method. Has to be implemented by inherting classes. Creates a deep copy of this object. Ownership is trandsferred to the caller!
Implements genf::GFAbsRecoHit.
Definition at line 58 of file PointHit.cxx.
|
virtual |
Get transformation matrix. Transformation between hit coordinates and track representation coordinates.
This is a virtual abstract method which has to be implemented in the child classes.
In general there is a linear transformation between the coordinate system of the hit (which is defined by the detector plane) and the coordinates of the track representation in that plane. In the most simple case the track representation has 5 parameters (space + momentum) while a hit usually has less (one to three space coordinates).
The transformation matrix is then simply projecting out the space-components of the track representation.
Its dimensions are NxM. Where N is the number of dimensions of the hit in the detector plane (usually 2 or 1) and M is the dimension of the track representation.
In this method a hit has to define with which track representations it can work together. It should be the only point where this explicit coordination is necessary.
For example code see implementing classes below:
Implements genf::GFAbsRecoHit.
Definition at line 138 of file PointHit.cxx.
|
virtual |
Implements genf::GFAbsRecoHit.
Definition at line 64 of file PointHit.cxx.
|
staticprivate |
Definition at line 34 of file PointHit.h.