EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VirtSpacePointRecoHit Class Reference

A basic space point reco hit. Uses a TVector3 for initialization. More...

#include <EicRoot/blob/master/GenfitTools/trackrep/LSLtrackRep/VirtSpacePointRecoHit.h>

+ Inheritance diagram for VirtSpacePointRecoHit:
+ Collaboration diagram for VirtSpacePointRecoHit:

Public Member Functions

 VirtSpacePointRecoHit ()
 
 VirtSpacePointRecoHit (double x, double y, double z)
 
 VirtSpacePointRecoHit (const TVector3 &pos)
 Initializing constructor.
 
virtual ~VirtSpacePointRecoHit ()
 
virtual GFAbsRecoHitclone ()
 Get clone of this object.
 
virtual TMatrixT< double > getHMatrix (const GFAbsTrackRep *stateVector)
 currently works only with LSLTrackRep
 
- Public Member Functions inherited from GFRecoHitIfc< GFSpacepointHitPolicy >
 GFRecoHitIfc (int dim)
 Constructor specifying dimension of hit coordinate vector.
 
virtual ~GFRecoHitIfc ()
 
virtual const GFDetPlanegetDetPlane (GFAbsTrackRep *rep)
 Returns the detector plane object for this hit and a given track representation.
 
virtual void getMeasurement (const GFAbsTrackRep *rep, const GFDetPlane &pl, const TMatrixT< double > &statePred, const TMatrixT< double > &covPred, TMatrixT< double > &m, TMatrixT< double > &V)
 Get measurement m,V and HMatrix.
 
const std::string & getPolicyName ()
 
 ClassDef (GFRecoHitIfc, 1)
 
- Public Member Functions inherited from GFAbsRecoHit
virtual ~GFAbsRecoHit ()
 
 GFAbsRecoHit (int NparHit)
 Constructor specifying dimension of coordinate vector.
 
 GFAbsRecoHit ()
 Default constructor needed for compatibility with ROOT.
 
TMatrixT< double > getRawHitCov () const
 Get raw hit covariances.
 
TMatrixT< double > getRawHitCoord () const
 Get raw hit coordinates.
 
double getRho ()
 
void setRho (double rho)
 
virtual void Print (const Option_t *option="") const
 Print raw hit coordinates.
 
int getNparHit ()
 

Static Private Attributes

static const int NparHitRep = 3
 

Additional Inherited Members

- Protected Attributes inherited from GFRecoHitIfc< GFSpacepointHitPolicy >
GFSpacepointHitPolicy fPolicy
 

Detailed Description

A basic space point reco hit. Uses a TVector3 for initialization.

This class can be used to calculate the distance (residual) of a track to a point in space.

It is a very basic example of a RecoHit. VirtSpacePointRecoHit is initialized by an ordinary 3-vector and has unity error matrix. It is also a good example which can be used to develop more realistic RecoHits.

Definition at line 46 of file VirtSpacePointRecoHit.h.

View newest version in sPHENIX GitHub at line 46 of file VirtSpacePointRecoHit.h

Constructor & Destructor Documentation

VirtSpacePointRecoHit::VirtSpacePointRecoHit ( )

Definition at line 28 of file VirtSpacePointRecoHit.cxx.

View newest version in sPHENIX GitHub at line 28 of file VirtSpacePointRecoHit.cxx

Referenced by clone().

+ Here is the caller graph for this function:

VirtSpacePointRecoHit::VirtSpacePointRecoHit ( double  x,
double  y,
double  z 
)

Definition at line 32 of file VirtSpacePointRecoHit.cxx.

View newest version in sPHENIX GitHub at line 32 of file VirtSpacePointRecoHit.cxx

References GFAbsRecoHit::fHitCoord, GFAbsRecoHit::fHitCov, x, y, and z.

VirtSpacePointRecoHit::VirtSpacePointRecoHit ( const TVector3 &  pos)

Initializing constructor.

With a RecoHitProducer that works on a TClonseArray containing TVector3 objects this constructor allows the automatic conversion from a cluster class (here the TVector3) to a RecoHit (the VirtSpacePointRecoHit).

Definition at line 41 of file VirtSpacePointRecoHit.cxx.

View newest version in sPHENIX GitHub at line 41 of file VirtSpacePointRecoHit.cxx

References GFAbsRecoHit::fHitCoord, and GFAbsRecoHit::fHitCov.

virtual VirtSpacePointRecoHit::~VirtSpacePointRecoHit ( )
virtual

Member Function Documentation

GFAbsRecoHit * VirtSpacePointRecoHit::clone ( )
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 GFAbsRecoHit.

Definition at line 51 of file VirtSpacePointRecoHit.cxx.

View newest version in sPHENIX GitHub at line 51 of file VirtSpacePointRecoHit.cxx

References VirtSpacePointRecoHit().

+ Here is the call graph for this function:

TMatrixT< double > VirtSpacePointRecoHit::getHMatrix ( const GFAbsTrackRep stateVector)
virtual

currently works only with LSLTrackRep

Modifications needed here to use VirtSpacePointRecoHit with different track representations.

See Also
GFAbsRecoHit::getHMatrix

Implements GFAbsRecoHit.

Definition at line 58 of file VirtSpacePointRecoHit.cxx.

View newest version in sPHENIX GitHub at line 58 of file VirtSpacePointRecoHit.cxx

References NparHitRep.

Member Data Documentation

const int VirtSpacePointRecoHit::NparHitRep = 3
staticprivate

Definition at line 79 of file VirtSpacePointRecoHit.h.

View newest version in sPHENIX GitHub at line 79 of file VirtSpacePointRecoHit.h

Referenced by getHMatrix().


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