FairRoot/PandaRoot
PndMdtRecoHit2.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 // modified by Elisabetta Prencipe 19/05/2014
17 //
18 //-----------------------------------------------------------
19 
20 #ifndef MDTRECOHIT2_HH
21 #define MDTRECOHIT2_HH
22 
23 // Base Class Headers ----------------
24 #include "SpacepointMeasurement.h"
25 #include "TrackCandHit.h"
26 // Collaborating Class Headers -------
27 #include <ostream> // remove if you do not need streaming op
28 
29 #include"TRandom3.h"
30 
31 // Collaborating Class Declarations --
32 class PndMdtHit;
33 class PndMdtPoint;
34 
35 
37 
38 public:
39 
40  // Constructors/Destructors ---------
42  PndMdtRecoHit2(double x, double y, double z,
43  double sigx, double sigy, double sigz);
44  PndMdtRecoHit2(const TVector3& pos,
45  const TVector3& sig,
46  bool smear=false);
49 
50  virtual ~PndMdtRecoHit2();
51 
52  virtual genfit::AbsMeasurement* clone(){return new PndMdtRecoHit2(*this);}
53 
54  PndMdtHit* GetHit(){return fHit;}
55 
56 private:
57 
58  // Private Data Members ------------
59  static const int NparHitRep = 3;
60 
62  static TRandom3 rand;
63  // Private Methods -----------------
64 
65 public:
66  ClassDef(PndMdtRecoHit2,1)
67 
68 };
69 
70 #endif
TVector3 pos
PndMdtHit * GetHit()
Class for measurements implementing a space point hit geometry.
PndMdtHit * fHit
Hit object for use in TrackCand. Provides IDs and sorting parameters.
Definition: TrackCandHit.h:34
virtual ~PndMdtRecoHit2()
Double_t z
virtual genfit::AbsMeasurement * clone()
static const int NparHitRep
Double_t x
static TRandom3 rand
Contains the measurement and covariance in raw detector coordinates.
PndSdsMCPoint * hit
Definition: anasim.C:70
Double_t y
PndSdsMCPoint * point
Definition: anaLmdCluster.C:72