PandaRoot
PndGemRecoHit.h
Go to the documentation of this file.
1 //-----------------------------------------------------------
2 // File and Version Information:
3 // $Id$
4 //
5 // Description:
6 // a planar (x,y) reco hit & its sensor plane
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 // Radoslaw Karabowicz MVD (conversion to GEM)
15 //
16 //-----------------------------------------------------------
17 
19 
21 #ifndef PNDGEMRECOHIT_H
22 #define PNDGEMRECOHIT_H
23 
24 // Base Class Headers ----------------
25 #include "GFRecoHitIfc.h"
26 #include "GFPlanarHitPolicy.h"
27 //#include "PndGemGeoHandling.h"
28 
29 // Collaborating Class Headers -------
30 #include <ostream> // remove if you do not need streaming op
31 
32 // Collaborating Class Declarations --
33 class FairMCPoint;
34 class PndGemMCPoint;
35 class PndGemHit;
36 
37 class PndGemRecoHit : public GFRecoHitIfc<GFPlanarHitPolicy> {
38  public:
39  // Constructors/Destructors ---------
40  PndGemRecoHit();
41 
42  PndGemRecoHit(PndGemMCPoint *point); // from lab MC points
43  PndGemRecoHit(PndGemHit *hit); // from lab cluster hits
44 
45  virtual ~PndGemRecoHit();
46 
47  virtual GFAbsRecoHit *clone() { return new PndGemRecoHit(*this); };
48 
49  // Operations ----------------------
50  virtual TMatrixT<double> getHMatrix(const GFAbsTrackRep *stateVector);
51 
52  virtual Double_t residualScalar(GFAbsTrackRep *stateVector, const TMatrixT<Double_t> &state);
53 
54  private:
55  // Private Data Members ------------
56  static const Int_t fNparHitRep = 2; // 3;
57  // PndGemGeoHandling* fGeoH;
58 
59  // Private Methods -----------------
60 
61  // public:
62  ClassDef(PndGemRecoHit, 1);
63 };
64 
65 #endif
66 
67 //--------------------------------------------------------------
68 // $Log$
69 //--------------------------------------------------------------
virtual GFAbsRecoHit * clone()
Get clone of this object.
Definition: PndGemRecoHit.h:47
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
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)
Base Class for representing a Hit in GENFIT.
Definition: GFAbsRecoHit.h:71
virtual ~PndGemRecoHit()