PandaRoot
PndGemRecoHit.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 // a planar (x,y) reco hit & its sensor plane
19 //
20 // Environment:
21 // Software developed for the PANDA Detector at FAIR.
22 //
23 // Author List:
24 // Sebastian Neubert TUM (original author)
25 // Ralf Kliemt TUD (application to PndMvd)
26 // Radoslaw Karabowicz MVD (conversion to GEM)
27 //
28 //-----------------------------------------------------------
29 
31 
33 #ifndef PNDGEMRECOHIT_H
34 #define PNDGEMRECOHIT_H
35 
36 // Base Class Headers ----------------
37 #include "GFRecoHitIfc.h"
38 #include "GFPlanarHitPolicy.h"
39 //#include "PndGemGeoHandling.h"
40 
41 // Collaborating Class Headers -------
42 #include <ostream> // remove if you do not need streaming op
43 
44 // Collaborating Class Declarations --
45 class FairMCPoint;
46 class PndGemMCPoint;
47 class PndGemHit;
48 
49 class PndGemRecoHit : public GFRecoHitIfc<GFPlanarHitPolicy> {
50  public:
51  // Constructors/Destructors ---------
52  PndGemRecoHit();
53 
54  PndGemRecoHit(PndGemMCPoint *point); // from lab MC points
55  PndGemRecoHit(PndGemHit *hit); // from lab cluster hits
56 
57  virtual ~PndGemRecoHit();
58 
59  virtual GFAbsRecoHit *clone() { return new PndGemRecoHit(*this); };
60 
61  // Operations ----------------------
62  virtual TMatrixT<double> getHMatrix(const GFAbsTrackRep *stateVector);
63 
64  virtual Double_t residualScalar(GFAbsTrackRep *stateVector, const TMatrixT<Double_t> &state);
65 
66  private:
67  // Private Data Members ------------
68  static const Int_t fNparHitRep = 2; // 3;
69  // PndGemGeoHandling* fGeoH;
70 
71  // Private Methods -----------------
72 
73  // public:
74  ClassDef(PndGemRecoHit, 1);
75 };
76 
77 #endif
78 
79 //--------------------------------------------------------------
80 // $Log$
81 //--------------------------------------------------------------
virtual GFAbsRecoHit * clone()
Get clone of this object.
Definition: PndGemRecoHit.h:59
Base Class for genfit track representations. Defines interface for track parameterizations.
Definition: GFAbsTrackRep.h:92
RecoHit interface template class. Provides comfortable interface to create RecoHits.
Definition: GFRecoHitIfc.h:70
virtual TMatrixT< double > getHMatrix(const GFAbsTrackRep *stateVector)
Get transformation matrix. Transformation between hit coordinates and track representation coordinate...
virtual Double_t residualScalar(GFAbsTrackRep *stateVector, const TMatrixT< Double_t > &state)
Base Class for representing a Hit in GENFIT.
Definition: GFAbsRecoHit.h:83
virtual ~PndGemRecoHit()