43 #include "FairMCPoint.h"
44 #include "LSLTrackRep.h"
53 #include "FairRootManager.h"
74 std::cout<<
" -I- PndHypRecoHit::PndHypRecoHit(PndHypMCPoint*) called."<<std::endl;
83 TVector3 o(0.,0.,point->GetZ()),
100 FairRootManager* ioman = FairRootManager::Instance();
113 fHitCov[0][0] = 0.0050 * 0.0050;
114 fHitCov[1][1] = 0.0050 * 0.0050;
127 if (dynamic_cast<const GeaneTrackRep*>(stateVector) != NULL) {
145 else if (dynamic_cast<const LSLTrackRep*>(stateVector) != NULL) {
166 std::cerr <<
"DemoRecoHit can only handle state"
167 <<
" vectors of type LSLTrackRep or GeaneTrackRep -> abort"
176 const TMatrixT<Double_t>& state)
virtual Double_t residualScalar(GFAbsTrackRep *stateVector, const TMatrixT< Double_t > &state)
Base Class for genfit track representations. Defines interface for track parameterizations.
RecoHit interface template class. Provides comfortable interface to create RecoHits.
Detector plane genfit geometry class.
TVector3 GetPosition() const
TMatrixT< double > fHitCoord
Vector of raw coordinates of hit.
void setDetPlane(const GFDetPlane &p)
Set physical detector plane. Needs to be called before hit can be used.
void GetOUVId(TString id, TVector3 &o, TVector3 &u, TVector3 &v)
for a volume given by its ID the o, u, v vectors for the plane are returned
Class to access the naming information of the MVD.
TGeoManager * gGeoManager
GFPlanarHitPolicy fPolicy
TString GetDetName() const
virtual TMatrixT< double > getHMatrix(const GFAbsTrackRep *stateVector)
Get transformation matrix. Transformation between hit coordinates and track representation coordinate...
Policy class implementing a planar hit geometry.
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)
TVector3 MasterToLocalId(const TVector3 &master, const TString &id)
static const Int_t fNparHitRep
PndHypGeoHandling * fGeoH
TMatrixT< double > fHitCov
Covariance of raw hit coordinates.