PandaRoot
PndHitRecoHit.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 // 3d reco hit
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 PNDHITRECOHIT_H
33 #define PNDHITRECOHIT_H
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 // Collaborating Class Declarations --
43 #include "FairMCPoint.h"
44 #include "FairHit.h"
45 
46 class PndHitRecoHit : public GFRecoHitIfc<GFSpacepointHitPolicy> {
47  public:
48  // Constructors/Destructors ---------
49  PndHitRecoHit();
50 
51  PndHitRecoHit(FairMCPoint *point); // from lab MC points
52  PndHitRecoHit(FairHit *hit); // from lab cluster hits
53 
54  virtual ~PndHitRecoHit();
55 
56  virtual GFAbsRecoHit *clone() { return new PndHitRecoHit(*this); };
57 
58  // Operations ----------------------
59  virtual TMatrixT<double> getHMatrix(const GFAbsTrackRep *stateVector);
60 
61  virtual Double_t residualScalar(GFAbsTrackRep *stateVector, const TMatrixT<Double_t> &state);
62 
63  private:
64  // Private Data Members ------------
65  static const Int_t fNparHitRep = 3;
66 
67  // Private Methods -----------------
68 
69  // public:
70  ClassDef(PndHitRecoHit, 1);
71 };
72 
73 #endif
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
A planar (x,y) reco hit & its sensor plane.
Definition: PndHitRecoHit.h:46
virtual ~PndHitRecoHit()
virtual GFAbsRecoHit * clone()
Get clone of this object.
Definition: PndHitRecoHit.h:56
Base Class for representing a Hit in GENFIT.
Definition: GFAbsRecoHit.h:83
virtual TMatrixT< double > getHMatrix(const GFAbsTrackRep *stateVector)
Get transformation matrix. Transformation between hit coordinates and track representation coordinate...