FairRoot/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 
24 #ifndef PNDHYPRECOHIT_HH
25 #define PNDHYPRECOHIT_HH
26 
27 // Base Class Headers ----------------
28 #include "GFRecoHitIfc.h"
29 #include "GFPlanarHitPolicy.h"
30 #include "PndHypGeoHandling.h"
31 
32 // Collaborating Class Headers -------
33 #include <ostream> // remove if you do not need streaming op
34 
35 // Collaborating Class Declarations --
36 class FairMCPoint;
37 class PndHypPoint;
38 class PndHypHit;
39 
40 
41 class PndHypRecoHit : public GFRecoHitIfc<GFPlanarHitPolicy> {
42 public:
43 
44  // Constructors/Destructors ---------
45  PndHypRecoHit();
46 
47  PndHypRecoHit(PndHypPoint* point);//from lab MC points
48  PndHypRecoHit(PndHypHit* hit);//from lab cluster hits TODO change to local
49 // PndHypRecoHit(const TVector3& hit, const TMatrixT<Double_t>& cov,
50 // const DetPlane* detplane);//from lab
51 // PndHypRecoHit(const TVector3& hit, const TMatrixT<Double_t>& cov,
52 // const TVector3& o,const TVector3& u,const TVector3& v);//from lab
53 // PndHypRecoHit(const TMatrixT<Double_t>& xy,const TMatrixT<Double_t>& cov,
54 // const DetPlane* detplane);//from sensor plane
55 
56  virtual ~PndHypRecoHit();
57 
58  virtual GFAbsRecoHit* clone(){return new PndHypRecoHit(*this);};
59 
60 
61 
62  // Operations ----------------------
63  virtual TMatrixT<double> getHMatrix(const GFAbsTrackRep* stateVector);
64 
65 
66  virtual Double_t residualScalar(GFAbsTrackRep* stateVector,
67  const TMatrixT<Double_t>& state);
68 
69 
70 private:
71 
72  // Private Data Members ------------
73  static const Int_t fNparHitRep = 3;
75 
76  // Private Methods -----------------
77 
78 public:
80 
81 };
82 
83 #endif
84 
85 
86 //--------------------------------------------------------------
87 // $Log$
88 //--------------------------------------------------------------
virtual Double_t residualScalar(GFAbsTrackRep *stateVector, const TMatrixT< Double_t > &state)
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:60
Class to access the naming information of the MVD.
Double_t
virtual ~PndHypRecoHit()
virtual TMatrixT< double > getHMatrix(const GFAbsTrackRep *stateVector)
Get transformation matrix. Transformation between hit coordinates and track representation coordinate...
ClassDef(PndHypRecoHit, 1)
Base Class for representing a Hit in GENFIT.
Definition: GFAbsRecoHit.h:73
virtual GFAbsRecoHit * clone()
Get clone of this object.
Definition: PndHypRecoHit.h:58
static const Int_t fNparHitRep
Definition: PndHypRecoHit.h:73
PndSdsMCPoint * hit
Definition: anasim.C:70
PndHypGeoHandling * fGeoH
Definition: PndHypRecoHit.h:74
PndSdsMCPoint * point
Definition: anaLmdCluster.C:72