PandaRoot
PndFtsRecoHit Class Reference

#include <PndFtsRecoHit.h>

Inheritance diagram for PndFtsRecoHit:
GFRecoHitIfc< HitPolicy > GFAbsRecoHit

Public Member Functions

 PndFtsRecoHit ()
 
 PndFtsRecoHit (PndFtsHit *currenthit)
 
 PndFtsRecoHit (PndFtsHit *currenthit, TClonesArray *tubeArr)
 
virtual ~PndFtsRecoHit ()
 
virtual GFAbsRecoHitclone ()
 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...
 
- Public Member Functions inherited from GFRecoHitIfc< HitPolicy >
 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 > 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)
 
- Public Member Functions inherited from 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 > 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 ()
 

Static Protected Attributes

static const int NparHitRep = 7
 

Additional Inherited Members

- Protected Attributes inherited from GFRecoHitIfc< HitPolicy >
HitPolicy fPolicy
 
- Protected Attributes inherited from GFAbsRecoHit
TMatrixT< double > fHitCoord
 Vector of raw coordinates of hit. More...
 
TMatrixT< double > fHitCov
 Covariance of raw hit coordinates. More...
 

Detailed Description

Definition at line 19 of file PndFtsRecoHit.h.

Constructor & Destructor Documentation

◆ PndFtsRecoHit() [1/3]

PndFtsRecoHit::PndFtsRecoHit ( )

Referenced by clone().

◆ PndFtsRecoHit() [2/3]

PndFtsRecoHit::PndFtsRecoHit ( PndFtsHit currenthit)

◆ PndFtsRecoHit() [3/3]

PndFtsRecoHit::PndFtsRecoHit ( PndFtsHit currenthit,
TClonesArray *  tubeArr 
)

◆ ~PndFtsRecoHit()

virtual PndFtsRecoHit::~PndFtsRecoHit ( )
virtual

Member Function Documentation

◆ clone()

virtual GFAbsRecoHit* PndFtsRecoHit::clone ( )
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 28 of file PndFtsRecoHit.h.

References getHMatrix(), and PndFtsRecoHit().

28 { return new PndFtsRecoHit(*this); };

◆ getHMatrix()

virtual TMatrixT<double> PndFtsRecoHit::getHMatrix ( const GFAbsTrackRep stateVector)
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.

Referenced by clone().

Member Data Documentation

◆ NparHitRep

const int PndFtsRecoHit::NparHitRep = 7
staticprotected

Definition at line 37 of file PndFtsRecoHit.h.


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