FairRoot/PandaRoot
|
#include <PndGemRecoHit.h>
Public Member Functions | |
PndGemRecoHit () | |
PndGemRecoHit (PndGemMCPoint *point) | |
PndGemRecoHit (PndGemHit *hit) | |
virtual | ~PndGemRecoHit () |
virtual GFAbsRecoHit * | clone () |
Get clone of this object. More... | |
virtual TMatrixT< double > | getHMatrix (const GFAbsTrackRep *stateVector) |
Get transformation matrix. Transformation between hit coordinates and track representation coordinates. More... | |
virtual Double_t | residualScalar (GFAbsTrackRep *stateVector, const TMatrixT< Double_t > &state) |
virtual const GFDetPlane & | getDetPlane (GFAbsTrackRep *rep) |
Returns the detector plane object for this hit and a given track representation. More... | |
virtual TMatrixT< double > | getHitCoord (const GFDetPlane &plane) |
Get hit coordinates in a specific detector plane. More... | |
virtual TMatrixT< double > | getHitCov (const GFDetPlane &plane) |
Get hit covariances in a specific detector plane. More... | |
const std::string & | getPolicyName () |
ClassDef (GFRecoHitIfc, 1) | |
virtual TMatrixT< double > | residualVector (const GFAbsTrackRep *stateVector, const TMatrixT< double > &state, const GFDetPlane &d) |
Calculate residual with respect to a track representation. More... | |
TMatrixT< double > | getRawHitCov () const |
Get raw hit covariances. More... | |
TMatrixT< double > | getRawHitCoord () const |
Get raw hit coordinates. More... | |
virtual void | Print () |
Print raw hit coordinates. More... | |
int | getNparHit () |
Protected Attributes | |
GFPlanarHitPolicy | fPolicy |
TMatrixT< double > | fHitCoord |
Vector of raw coordinates of hit. More... | |
TMatrixT< double > | fHitCov |
Covariance of raw hit coordinates. More... | |
Private Member Functions | |
ClassDef (PndGemRecoHit, 1) | |
Static Private Attributes | |
static const Int_t | fNparHitRep = 2 |
Definition at line 38 of file PndGemRecoHit.h.
PndGemRecoHit::PndGemRecoHit | ( | ) |
PndGemRecoHit::PndGemRecoHit | ( | PndGemMCPoint * | point | ) |
Definition at line 54 of file PndGemRecoHit.cxx.
References GFAbsRecoHit::fHitCoord, GFAbsRecoHit::fHitCov, GFRecoHitIfc< GFPlanarHitPolicy >::fPolicy, GFPlanarHitPolicy::setDetPlane(), and v.
PndGemRecoHit::PndGemRecoHit | ( | PndGemHit * | hit | ) |
Definition at line 105 of file PndGemRecoHit.cxx.
References CAMath::Cos(), Double_t, fGeoFile, GFAbsRecoHit::fHitCoord, GFAbsRecoHit::fHitCov, GFRecoHitIfc< GFPlanarHitPolicy >::fPolicy, PndGemHit::GetDp(), PndGemHit::GetDr(), Pi, GFPlanarHitPolicy::setDetPlane(), CAMath::Sin(), CAMath::Sqrt(), and TString.
|
virtual |
Definition at line 41 of file PndGemRecoHit.cxx.
|
private |
|
inherited |
|
inlinevirtual |
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 GFAbsRecoHit.
Definition at line 49 of file PndGemRecoHit.h.
References PndGemRecoHit().
|
inlinevirtualinherited |
Returns the detector plane object for this hit and a given track representation.
The actutal code for this method depends on the hit geometry and is implemented in the HitPolicy
Implements GFAbsRecoHit.
Definition at line 80 of file GFRecoHitIfc.h.
|
inlinevirtualinherited |
Get hit coordinates in a specific detector plane.
Implementation in the HitPolicy
Implements GFAbsRecoHit.
Definition at line 86 of file GFRecoHitIfc.h.
|
inlinevirtualinherited |
Get hit covariances in a specific detector plane.
Implementation in the HitPolicy
Implements GFAbsRecoHit.
Definition at line 93 of file GFRecoHitIfc.h.
|
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 GFAbsRecoHit.
Definition at line 151 of file PndGemRecoHit.cxx.
References fNparHitRep.
|
inlineinherited |
|
inlinevirtualinherited |
|
inlineinherited |
Get raw hit coordinates.
Definition at line 158 of file GFAbsRecoHit.h.
References GFAbsRecoHit::fHitCoord.
Referenced by GFWirepointHitPolicy::checkPlane(), GFWireHitPolicy::checkPlane(), GFWirepointHitPolicy::detPlane(), GFWireHitPolicy::detPlane(), GFSpacepointHitPolicy::detPlane(), GFTools::getSmoothedChiSqu(), GFWirepointHitPolicy::hitCoord(), GFWireHitPolicy::hitCoord(), GFSpacepointHitPolicy::hitCoord(), and GFPlanarHitPolicy::hitCoord().
|
inlineinherited |
Get raw hit covariances.
Definition at line 153 of file GFAbsRecoHit.h.
References GFAbsRecoHit::fHitCov.
Referenced by GFTools::getSmoothedChiSqu(), GFWirepointHitPolicy::hitCov(), GFWireHitPolicy::hitCov(), GFSpacepointHitPolicy::hitCov(), and GFPlanarHitPolicy::hitCov().
|
inlinevirtualinherited |
Print raw hit coordinates.
Definition at line 207 of file GFAbsRecoHit.h.
|
virtual |
Definition at line 203 of file PndGemRecoHit.cxx.
|
inlinevirtualinherited |
Calculate residual with respect to a track representation.
Returns the N-dimensional residual of this vector to a given track representation.
This method is not doing any extrapolation. But it creates the necessary detector plane object. See GFAbsRecoHit::getGFDetPlane
stateVector | pointer to track representation - used to synchronize with the track repesentation |
state | parameter vector of the track representation |
Definition at line 142 of file GFAbsRecoHit.h.
References GFAbsRecoHit::getHitCoord(), and GFAbsRecoHit::getHMatrix().
Referenced by GFKalman::getChi2Hit(), GFTrack::getResiduals(), and GFKalman::processHit().
|
protectedinherited |
Vector of raw coordinates of hit.
Definition at line 76 of file GFAbsRecoHit.h.
Referenced by GFDafHit::getHitCoord(), GFDafHit::getHitCov(), GFAbsRecoHit::getRawHitCoord(), PndFtsRecoHit::PndFtsRecoHit(), PndGemRecoHit(), PndHitRecoHit::PndHitRecoHit(), PndHypRecoHit::PndHypRecoHit(), PndHypRecoSPHit::PndHypRecoSPHit(), PndMdtRecoHit::PndMdtRecoHit(), PndSdsRecoHit::PndSdsRecoHit(), and PndSttRecoHit::PndSttRecoHit().
|
protectedinherited |
Covariance of raw hit coordinates.
Definition at line 79 of file GFAbsRecoHit.h.
Referenced by GFDafHit::getHitCoord(), GFDafHit::getHitCov(), GFAbsRecoHit::getRawHitCov(), PndFtsRecoHit::PndFtsRecoHit(), PndGemRecoHit(), PndHitRecoHit::PndHitRecoHit(), PndHypRecoHit::PndHypRecoHit(), PndHypRecoSPHit::PndHypRecoSPHit(), PndMdtRecoHit::PndMdtRecoHit(), PndSdsRecoHit::PndSdsRecoHit(), and PndSttRecoHit::PndSttRecoHit().
|
staticprivate |
Definition at line 64 of file PndGemRecoHit.h.
Referenced by getHMatrix().
|
protectedinherited |
Definition at line 62 of file GFRecoHitIfc.h.
Referenced by PndGemRecoHit(), PndHypRecoHit::PndHypRecoHit(), and PndSdsRecoHit::PndSdsRecoHit().