EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PndHitRecoHit.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PndHitRecoHit.h
1 //-----------------------------------------------------------
2 // File and Version Information:
3 // $Id$
4 //
5 // Description:
6 // 3d 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 PndSds)
14 //
15 //-----------------------------------------------------------
16 
18 
20 #ifndef PNDHITRECOHIT_H
21 #define PNDHITRECOHIT_H
22 
23 // Base Class Headers ----------------
24 #include "GFRecoHitIfc.h"
25 #include "GFSpacepointHitPolicy.h"
26 
27 // Collaborating Class Headers -------
28 #include <ostream> // remove if you do not need streaming op
29 
30 // Collaborating Class Declarations --
31 #include "FairMCPoint.h"
32 #include "FairHit.h"
33 
34 
35 class PndHitRecoHit : public GFRecoHitIfc<GFSpacepointHitPolicy> {
36 public:
37 
38  // Constructors/Destructors ---------
39  PndHitRecoHit();
40 
41  PndHitRecoHit(FairMCPoint* point);//from lab MC points
42  PndHitRecoHit(FairHit* hit);//from lab cluster hits
43 
44  virtual ~PndHitRecoHit();
45 
46  virtual GFAbsRecoHit* clone(){return new PndHitRecoHit(*this);};
47 
48 
49 
50  // Operations ----------------------
51  virtual TMatrixT<double> getHMatrix(const GFAbsTrackRep* stateVector);
52 
53 
54  virtual Double_t residualScalar(GFAbsTrackRep* stateVector,
55  const TMatrixT<Double_t>& state);
56 
57 
58 private:
59 
60  // Private Data Members ------------
61  static const Int_t fNparHitRep = 3;
62 
63  // Private Methods -----------------
64 
65 //public:
67 
68 };
69 
70 #endif
71