EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
A basic space point reco hit. Uses a TVector3 for initialization. More...
#include <EicRoot/blob/master/GenfitTools/trackrep/LSLtrackRep/VirtSpacePointRecoHit.h>
Public Member Functions | |
VirtSpacePointRecoHit () | |
VirtSpacePointRecoHit (double x, double y, double z) | |
VirtSpacePointRecoHit (const TVector3 &pos) | |
Initializing constructor. | |
virtual | ~VirtSpacePointRecoHit () |
virtual GFAbsRecoHit * | clone () |
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 GFDetPlane & | getDetPlane (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 |
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
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().
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 |
|
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().
|
virtual |
currently works only with LSLTrackRep
Modifications needed here to use VirtSpacePointRecoHit with different track representations.
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.
|
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().