FairRoot/PandaRoot
PndMdtRecoHit.h
Go to the documentation of this file.
1 //-----------------------------------------------------------
2 // File and Version Information:
3 // $Id$
4 //
5 // Description:
6 // an xyz reco hit (z being considered as a free parameter)
7 // hitCoord=(x,y)^T
8 // s=z
9 //
10 // Environment:
11 // Software developed for the PANDA Detector at FAIR.
12 //
13 // Author List:
14 // Sebastian Neubert TUM (original author)
15 // Stefano Spataro UNITO (adapted for MDT - 29/01/10)
16 //
17 //
18 //-----------------------------------------------------------
19 
20 #ifndef MDTRECOHIT_HH
21 #define MDTRECOHIT_HH
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 #include"TRandom3.h"
31 
32 // Collaborating Class Declarations --
33 class PndMdtHit;
35 
37 
39 
40 public:
41 
42  // Constructors/Destructors ---------
43  PndMdtRecoHit();
44  PndMdtRecoHit(double x, double y, double z,
45  double sigx, double sigy, double sigz);
46  PndMdtRecoHit(const TVector3& pos,
47  const TVector3& sig,
48  bool smear=false);
51 
52  virtual ~PndMdtRecoHit();
53 
54  virtual GFAbsRecoHit* clone();
55 
56  // Operations ----------------------
57  virtual TMatrixT<double> getHMatrix(const GFAbsTrackRep* stateVector);
58 
59  PndMdtHit* GetHit(){return fHit;}
60 
61 private:
62 
63  // Private Data Members ------------
64  static const int NparHitRep = 3;
65 
67  static TRandom3 rand;
68  // Private Methods -----------------
69 
70 public:
72 
73 };
74 
75 #endif
TVector3 pos
Base Class for genfit track representations. Defines interface for track parameterizations.
Definition: GFAbsTrackRep.h:80
PndMdtHit * fHit
Definition: PndMdtRecoHit.h:66
virtual GFAbsRecoHit * clone()
Get clone of this object.
Double_t z
Base Class for representing a Hit in GENFIT.
Definition: GFAbsRecoHit.h:73
virtual TMatrixT< double > getHMatrix(const GFAbsTrackRep *stateVector)
Get transformation matrix. Transformation between hit coordinates and track representation coordinate...
static const int NparHitRep
Definition: PndMdtRecoHit.h:64
PndMdtHit * GetHit()
Definition: PndMdtRecoHit.h:59
static TRandom3 rand
Definition: PndMdtRecoHit.h:67
Double_t x
PndSdsMCPoint * hit
Definition: anasim.C:70
Double_t y
GFRecoHitIfc< GFSpacepointHitPolicy > SpacepointRecoHit
virtual ~PndMdtRecoHit()
PndSdsMCPoint * point
Definition: anaLmdCluster.C:72