PandaRoot
PndHypRecoHit.h
Go to the documentation of this file.
1 //-----------------------------------------------------------
2 // File and Version Information:
3 // $Id$
4 //
5 // Description:
6 // an xyz reco hit
7 //
8 // Environment:
9 // Software developed for the PANDA Detector at FAIR.
10 //
11 // Author List:
12 // Sebastian Neubert TUM (original author)
13 // Ralf Kliemt TUD (application to PndMvd)
14 //
15 //-----------------------------------------------------------
16 
18 
21 // Base Class Headers ----------------
22 
23 #ifndef PNDHYPRECOHIT_HH
24 #define PNDHYPRECOHIT_HH
25 
26 // Base Class Headers ----------------
27 #include "GFRecoHitIfc.h"
28 #include "GFPlanarHitPolicy.h"
29 #include "PndHypGeoHandling.h"
30 
31 // Collaborating Class Headers -------
32 #include <ostream> // remove if you do not need streaming op
33 
34 // Collaborating Class Declarations --
35 class FairMCPoint;
36 class PndHypPoint;
37 class PndHypHit;
38 
39 class PndHypRecoHit : public GFRecoHitIfc<GFPlanarHitPolicy> {
40  public:
41  // Constructors/Destructors ---------
42  PndHypRecoHit();
43 
44  PndHypRecoHit(PndHypPoint *point); // from lab MC points
45  PndHypRecoHit(PndHypHit *hit); // from lab cluster hits TODO change to local
46  // PndHypRecoHit(const TVector3& hit, const TMatrixT<Double_t>& cov,
47  // const DetPlane* detplane);//from lab
48  // PndHypRecoHit(const TVector3& hit, const TMatrixT<Double_t>& cov,
49  // const TVector3& o,const TVector3& u,const TVector3& v);//from lab
50  // PndHypRecoHit(const TMatrixT<Double_t>& xy,const TMatrixT<Double_t>& cov,
51  // const DetPlane* detplane);//from sensor plane
52 
53  virtual ~PndHypRecoHit();
54 
55  virtual GFAbsRecoHit *clone() { return new PndHypRecoHit(*this); };
56 
57  // Operations ----------------------
58  virtual TMatrixT<double> getHMatrix(const GFAbsTrackRep *stateVector);
59 
60  virtual Double_t residualScalar(GFAbsTrackRep *stateVector, const TMatrixT<Double_t> &state);
61 
62  private:
63  // Private Data Members ------------
64  static const Int_t fNparHitRep = 3;
65  PndHypGeoHandling *fGeoH;
66 
67  // Private Methods -----------------
68 
69  public:
71 };
72 
73 #endif
74 
75 //--------------------------------------------------------------
76 // $Log$
77 //--------------------------------------------------------------
Base Class for genfit track representations. Defines interface for track parameterizations.
Definition: GFAbsTrackRep.h:80
RecoHit interface template class. Provides comfortable interface to create RecoHits.
Definition: GFRecoHitIfc.h:58
Class to access the naming information of the MVD.
ClassDef(PndHypRecoHit, 1)
Base Class for representing a Hit in GENFIT.
Definition: GFAbsRecoHit.h:71
virtual ~PndHypRecoHit()
virtual GFAbsRecoHit * clone()
Get clone of this object.
Definition: PndHypRecoHit.h:55
virtual TMatrixT< double > getHMatrix(const GFAbsTrackRep *stateVector)
Get transformation matrix. Transformation between hit coordinates and track representation coordinate...
virtual Double_t residualScalar(GFAbsTrackRep *stateVector, const TMatrixT< Double_t > &state)