FairRoot/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 
37 class PndSdsRecoHit : public GFRecoHitIfc<GFPlanarHitPolicy> {
38 public:
39 
40  // Constructors/Destructors ---------
41  PndSdsRecoHit();
42 
43  PndSdsRecoHit(PndSdsMCPoint* point);//from lab MC points
44  PndSdsRecoHit(PndSdsHit* hit);//from lab cluster hits
45 
46  virtual ~PndSdsRecoHit();
47 
48  virtual GFAbsRecoHit* clone(){return new PndSdsRecoHit(*this);};
49 
50 
51 
52  // Operations ----------------------
53  virtual TMatrixT<double> getHMatrix(const GFAbsTrackRep* stateVector);
54 
55 
56  virtual Double_t residualScalar(GFAbsTrackRep* stateVector,
57  const TMatrixT<Double_t>& state);
58 
59 
60 private:
61 
62  // Private Data Members ------------
63  static const Int_t fNparHitRep = 2;//3;
65 
66  // Private Methods -----------------
67 
68 //public:
70 
71 };
72 
73 #endif
74 
75 //--------------------------------------------------------------
76 // $Log$
77 //--------------------------------------------------------------
Base Class for genfit track representations. Defines interface for track parameterizations.
Definition: GFAbsTrackRep.h:80
PndGeoHandling * fGeoH
Definition: PndSdsRecoHit.h:64
virtual TMatrixT< double > getHMatrix(const GFAbsTrackRep *stateVector)
Get transformation matrix. Transformation between hit coordinates and track representation coordinate...
RecoHit interface template class. Provides comfortable interface to create RecoHits.
Definition: GFRecoHitIfc.h:60
virtual Double_t residualScalar(GFAbsTrackRep *stateVector, const TMatrixT< Double_t > &state)
static const Int_t fNparHitRep
Definition: PndSdsRecoHit.h:63
virtual ~PndSdsRecoHit()
Class to access the naming information of the MVD.
Double_t
Base Class for representing a Hit in GENFIT.
Definition: GFAbsRecoHit.h:73
virtual GFAbsRecoHit * clone()
Get clone of this object.
Definition: PndSdsRecoHit.h:48
PndSdsMCPoint * hit
Definition: anasim.C:70
ClassDef(PndSdsRecoHit, 2)
PndSdsMCPoint * point
Definition: anaLmdCluster.C:72