PandaRoot
PndSdsRecoHit.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 PndSds)
14 //
15 //-----------------------------------------------------------
16 
18 
20 #ifndef PNDSDSRECOHIT_H
21 #define PNDSDSRECOHIT_H
22 
23 // Base Class Headers ----------------
24 #include "GFRecoHitIfc.h"
25 #include "GFPlanarHitPolicy.h"
26 #include "PndGeoHandling.h"
27 
28 // Collaborating Class Headers -------
29 #include <ostream> // remove if you do not need streaming op
30 
31 // Collaborating Class Declarations --
32 class FairMCPoint;
33 class PndSdsMCPoint;
34 class PndSdsHit;
35 
36 class PndSdsRecoHit : public GFRecoHitIfc<GFPlanarHitPolicy> {
37  public:
38  // Constructors/Destructors ---------
39  PndSdsRecoHit();
40 
41  PndSdsRecoHit(PndSdsMCPoint *point); // from lab MC points
42  PndSdsRecoHit(PndSdsHit *hit); // from lab cluster hits
43 
44  virtual ~PndSdsRecoHit();
45 
46  virtual GFAbsRecoHit *clone() { return new PndSdsRecoHit(*this); };
47 
48  // Operations ----------------------
49  virtual TMatrixT<double> getHMatrix(const GFAbsTrackRep *stateVector);
50 
51  virtual Double_t residualScalar(GFAbsTrackRep *stateVector, const TMatrixT<Double_t> &state);
52 
53  private:
54  // Private Data Members ------------
55  static const Int_t fNparHitRep = 2; // 3;
56  PndGeoHandling *fGeoH;
57 
58  // Private Methods -----------------
59 
60  // public:
61  ClassDef(PndSdsRecoHit, 2);
62 };
63 
64 #endif
65 
66 //--------------------------------------------------------------
67 // $Log$
68 //--------------------------------------------------------------
Base Class for genfit track representations. Defines interface for track parameterizations.
Definition: GFAbsTrackRep.h:80
virtual Double_t residualScalar(GFAbsTrackRep *stateVector, const TMatrixT< Double_t > &state)
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...
Class to access the naming information of the MVD.
Base Class for representing a Hit in GENFIT.
Definition: GFAbsRecoHit.h:71
virtual GFAbsRecoHit * clone()
Get clone of this object.
Definition: PndSdsRecoHit.h:46
virtual ~PndSdsRecoHit()