Public Member Functions | Protected Attributes | List of all members
genf::GFRecoHitIfc< HitPolicy > Class Template Reference

#include <GFRecoHitIfc.h>

Inheritance diagram for genf::GFRecoHitIfc< HitPolicy >:
genf::GFAbsRecoHit genf::PointHit

Public Member Functions

 GFRecoHitIfc (int dim)
 Constructor specifying dimension of hit coordinate vector. More...
 
virtual ~GFRecoHitIfc ()
 
virtual const GFDetPlanegetDetPlane (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::stringgetPolicyName ()
 
- 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 > getHMatrix (const GFAbsTrackRep *stateVector)=0
 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 &)=0
 
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 GFAbsRecoHitclone ()=0
 Get clone of this object. More...
 
virtual void Print (std::ostream &out=std::cout) const
 Print raw hit coordinates. More...
 
int getNparHit ()
 

Protected Attributes

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...
 

Detailed Description

template<class HitPolicy>
class genf::GFRecoHitIfc< HitPolicy >

Definition at line 62 of file GFRecoHitIfc.h.

Constructor & Destructor Documentation

template<class HitPolicy >
genf::GFRecoHitIfc< HitPolicy >::GFRecoHitIfc ( int  dim)
inline

Constructor specifying dimension of hit coordinate vector.

Definition at line 70 of file GFRecoHitIfc.h.

70 : GFAbsRecoHit(dim){;}
GFAbsRecoHit()
Default constructor needed for compatibility with ROOT.
template<class HitPolicy >
virtual genf::GFRecoHitIfc< HitPolicy >::~GFRecoHitIfc ( )
inlinevirtual

Definition at line 71 of file GFRecoHitIfc.h.

71 {;}

Member Function Documentation

template<class HitPolicy >
virtual const GFDetPlane& genf::GFRecoHitIfc< HitPolicy >::getDetPlane ( GFAbsTrackRep rep)
inlinevirtual

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

See also
PlanarHitPolicy
SpacepointHitPolicy
WirepointHitPolicy

Implements genf::GFAbsRecoHit.

Definition at line 82 of file GFRecoHitIfc.h.

82 {return fPolicy.detPlane(this,rep);}
template<class HitPolicy >
virtual TMatrixT<Double_t> genf::GFRecoHitIfc< HitPolicy >::getHitCoord ( const GFDetPlane plane,
const GFDetPlane planePrev 
)
inlinevirtual

Get hit coordinates in a specific detector plane.

Implementation in the HitPolicy

Implements genf::GFAbsRecoHit.

Definition at line 88 of file GFRecoHitIfc.h.

89  {return fPolicy.hitCoord(this,plane,planePrev);}
template<class HitPolicy >
virtual TMatrixT<Double_t> genf::GFRecoHitIfc< HitPolicy >::getHitCoord ( const GFDetPlane plane)
inlinevirtual

Implements genf::GFAbsRecoHit.

Definition at line 90 of file GFRecoHitIfc.h.

91  {return fPolicy.hitCoord(this,plane);}
template<class HitPolicy >
virtual TMatrixT<Double_t> genf::GFRecoHitIfc< HitPolicy >::getHitCov ( const GFDetPlane plane)
inlinevirtual

Get hit covariances in a specific detector plane.

Implementation in the HitPolicy

Implements genf::GFAbsRecoHit.

Definition at line 97 of file GFRecoHitIfc.h.

98  {return fPolicy.hitCov(this,plane);}
template<class HitPolicy >
virtual TMatrixT<Double_t> genf::GFRecoHitIfc< HitPolicy >::getHitCov ( const GFDetPlane plane,
const GFDetPlane planePrev,
const TMatrixT< Double_t > &  state,
const Double_t &  mass 
)
inlinevirtual

Implements genf::GFAbsRecoHit.

Definition at line 99 of file GFRecoHitIfc.h.

100  {return fPolicy.hitCov(this,plane,planePrev, state, mass);}
template<class HitPolicy >
const std::string& genf::GFRecoHitIfc< HitPolicy >::getPolicyName ( )
inlinevirtual

Reimplemented from genf::GFAbsRecoHit.

Definition at line 102 of file GFRecoHitIfc.h.

102 {return fPolicy.getName();}

Member Data Documentation

template<class HitPolicy >
HitPolicy genf::GFRecoHitIfc< HitPolicy >::fPolicy
protected

Definition at line 64 of file GFRecoHitIfc.h.


The documentation for this class was generated from the following file: