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 "TRandom.h"
30 
31 // Collaborating Class Declarations --
32 class PndMdtHit;
33 class PndMdtPoint;
34 
36 
37  public:
38  // Constructors/Destructors ---------
40  PndMdtRecoHit2(double x, double y, double z, double sigx, double sigy, double sigz);
41  PndMdtRecoHit2(const TVector3 &pos, const TVector3 &sig, bool smear = false);
43  PndMdtRecoHit2(PndMdtHit *hit, const genfit::TrackCandHit *candHit);
44 
45  virtual ~PndMdtRecoHit2();
46 
47  virtual genfit::AbsMeasurement *clone() { return new PndMdtRecoHit2(*this); }
48 
49  PndMdtHit *GetHit() { return fHit; }
50 
51  private:
52  // Private Data Members ------------
53  static const int NparHitRep = 3;
54 
55  PndMdtHit *fHit;
56  // Private Methods -----------------
57 
58  public:
59  ClassDef(PndMdtRecoHit2, 1)
60 };
61 
62 #endif
PndMdtHit * GetHit()
Class for measurements implementing a space point hit geometry.
Hit object for use in TrackCand. Provides IDs and sorting parameters.
Definition: TrackCandHit.h:33
virtual genfit::AbsMeasurement * clone()
Contains the measurement and covariance in raw detector coordinates.
virtual ~PndMdtRecoHit2()