PandaRoot
PndSdsRecoHit.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 PndSds)
26 //
27 //-----------------------------------------------------------
28 
30 
32 #ifndef PNDSDSRECOHIT_H
33 #define PNDSDSRECOHIT_H
34 
35 // Base Class Headers ----------------
36 #include "GFRecoHitIfc.h"
37 #include "GFPlanarHitPolicy.h"
38 #include "PndGeoHandling.h"
39 
40 // Collaborating Class Headers -------
41 #include <ostream> // remove if you do not need streaming op
42 
43 // Collaborating Class Declarations --
44 class FairMCPoint;
45 class PndSdsMCPoint;
46 class PndSdsHit;
47 
48 class PndSdsRecoHit : public GFRecoHitIfc<GFPlanarHitPolicy> {
49  public:
50  // Constructors/Destructors ---------
51  PndSdsRecoHit();
52 
53  PndSdsRecoHit(PndSdsMCPoint *point); // from lab MC points
54  PndSdsRecoHit(PndSdsHit *hit); // from lab cluster hits
55 
56  virtual ~PndSdsRecoHit();
57 
58  virtual GFAbsRecoHit *clone() { return new PndSdsRecoHit(*this); };
59 
60  // Operations ----------------------
61  virtual TMatrixT<double> getHMatrix(const GFAbsTrackRep *stateVector);
62 
63  virtual Double_t residualScalar(GFAbsTrackRep *stateVector, const TMatrixT<Double_t> &state);
64 
65  private:
66  // Private Data Members ------------
67  static const Int_t fNparHitRep = 2; // 3;
68  PndGeoHandling *fGeoH;
69 
70  // Private Methods -----------------
71 
72  // public:
73  ClassDef(PndSdsRecoHit, 2);
74 };
75 
76 #endif
77 
78 //--------------------------------------------------------------
79 // $Log$
80 //--------------------------------------------------------------
Base Class for genfit track representations. Defines interface for track parameterizations.
Definition: GFAbsTrackRep.h:92
virtual Double_t residualScalar(GFAbsTrackRep *stateVector, const TMatrixT< Double_t > &state)
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...
Class to access the naming information of the MVD.
Base Class for representing a Hit in GENFIT.
Definition: GFAbsRecoHit.h:83
virtual GFAbsRecoHit * clone()
Get clone of this object.
Definition: PndSdsRecoHit.h:58
virtual ~PndSdsRecoHit()