23 #include "FairMCPoint.h"
25 #include "RKTrackRep.h"
32 #include "TGeoManager.h"
33 #include "FairRootManager.h"
53 std::cout<<
" -I- PndSdsRecoHit::PndSdsRecoHit(PndSdsMCPoint*) called."<<std::endl;
59 fHitCov[0][0] = 0.0050 * 0.0050;
60 fHitCov[1][1] = 0.0050 * 0.0050;
62 TVector3 o(0.,0.,point->GetZ()),
117 if (dynamic_cast<const RKTrackRep*>(stateVector) != NULL) {
120 TMatrixT<double> HMatrix(2,5);
138 if (dynamic_cast<const GeaneTrackRep*>(stateVector) != NULL) {
157 std::cerr <<
"PndSdsRecoHit can only handle state"
158 <<
" vectors of type GeaneTrackRep -> abort"
167 const TMatrixT<Double_t>& )
Base Class for genfit track representations. Defines interface for track parameterizations.
virtual TMatrixT< double > getHMatrix(const GFAbsTrackRep *stateVector)
Get transformation matrix. Transformation between hit coordinates and track representation coordinate...
void GetOUVShortId(Int_t shortId, TVector3 &o, TVector3 &u, TVector3 &v)
RecoHit interface template class. Provides comfortable interface to create RecoHits.
TVector3 GetPosition() const
Detector plane genfit geometry class.
TMatrixT< double > fHitCoord
Vector of raw coordinates of hit.
virtual Double_t residualScalar(GFAbsTrackRep *stateVector, const TMatrixT< Double_t > &state)
static const Int_t fNparHitRep
void setDetPlane(const GFDetPlane &p)
Set physical detector plane. Needs to be called before hit can be used.
TMatrixD MasterToLocalErrorsShortId(const TMatrixD &master, const Int_t &shortId)
TString GetPath(Int_t shortID)
for a given shortID the path is returned
GFPlanarHitPolicy fPolicy
Policy class implementing a planar hit geometry.
static PndGeoHandling * Instance()
TVector3 MasterToLocalShortId(const TVector3 &master, const Int_t &shortId)
int hit(Int_t nEvents=0, TString inFile="sim.root", TString parFile="par.root", TString inDigi="digi.root", TString outFile="hit.root", Int_t timeBased=0)
Int_t GetSensorID() const
TMatrixT< double > TMatrixD
TMatrixT< double > fHitCov
Covariance of raw hit coordinates.