PandaRoot
PndMdtRecoHit.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 //-----------------------------------------------------------
14 // File and Version Information:
15 // $Id$
16 //
17 // Description:
18 // an xyz reco hit (z being considered as a free parameter)
19 // hitCoord=(x,y)^T
20 // s=z
21 //
22 // Environment:
23 // Software developed for the PANDA Detector at FAIR.
24 //
25 // Author List:
26 // Sebastian Neubert TUM (original author)
27 // Stefano Spataro UNITO (adapted for MDT - 29/01/10)
28 //
29 //
30 //-----------------------------------------------------------
31 
32 #ifndef MDTRECOHIT_HH
33 #define MDTRECOHIT_HH
34 
35 // Base Class Headers ----------------
36 #include "GFRecoHitIfc.h"
37 #include "GFSpacepointHitPolicy.h"
38 
39 // Collaborating Class Headers -------
40 #include <ostream> // remove if you do not need streaming op
41 
42 #include "TRandom.h"
43 
44 // Collaborating Class Declarations --
45 class PndMdtHit;
47 
49 
51 
52  public:
53  // Constructors/Destructors ---------
54  PndMdtRecoHit();
55  PndMdtRecoHit(double x, double y, double z, double sigx, double sigy, double sigz);
56  PndMdtRecoHit(const TVector3 &pos, const TVector3 &sig, bool smear = false);
57  PndMdtRecoHit(PndMdtPoint *point);
59 
60  virtual ~PndMdtRecoHit();
61 
62  virtual GFAbsRecoHit *clone();
63 
64  // Operations ----------------------
65  virtual TMatrixT<double> getHMatrix(const GFAbsTrackRep *stateVector);
66 
67  PndMdtHit *GetHit() { return fHit; }
68 
69  private:
70  // Private Data Members ------------
71  static const int NparHitRep = 3;
72 
73  PndMdtHit *fHit;
74  // Private Methods -----------------
75 
76  public:
78 };
79 
80 #endif
Base Class for genfit track representations. Defines interface for track parameterizations.
Definition: GFAbsTrackRep.h:92
virtual ~PndMdtRecoHit()
virtual GFAbsRecoHit * clone()
Get clone of this object.
GFRecoHitIfc< GFSpacepointHitPolicy > SpacepointRecoHit
Definition: PndMdtRecoHit.h:46
virtual TMatrixT< double > getHMatrix(const GFAbsTrackRep *stateVector)
Get transformation matrix. Transformation between hit coordinates and track representation coordinate...
Base Class for representing a Hit in GENFIT.
Definition: GFAbsRecoHit.h:83
PndMdtHit * GetHit()
Definition: PndMdtRecoHit.h:67