PandaRoot
PndSdsRecoHit2.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 // modified by Elisabetta Prencipe 19/5/2014
27 //-----------------------------------------------------------
28 
30 
32 #ifndef PNDSDSRECOHIT2_H
33 #define PNDSDSRECOHIT2_H
34 
35 // Base Class Headers ----------------
36 
37 #include "PlanarMeasurement.h"
38 #include "PndGeoHandling.h"
39 #include "TrackCandHit.h"
40 #include "AbsMeasurement.h"
41 
42 // Collaborating Class Headers -------
43 #include <ostream> // remove if you do not need streaming op
44 
45 // Collaborating Class Declarations --
46 class FairMCPoint;
47 class PndSdsMCPoint;
48 class PndSdsHit;
49 
51  public:
52  // Constructors/Destructors ---------
54 
55  PndSdsRecoHit2(PndSdsMCPoint *point); // from lab MC points
56  PndSdsRecoHit2(PndSdsHit *hit, const genfit::TrackCandHit *candHit); // from lab cluster hits
57 
58  virtual ~PndSdsRecoHit2();
59 
60  virtual genfit::AbsMeasurement *clone() { return new PndSdsRecoHit2(*this); };
61 
62  private:
63  // Private Data Members ------------
64  static const Int_t fNparHitRep = 2; // 3;
65  PndGeoHandling *fGeoH;
66 
67  // Private Methods -----------------
68 
69  // public:
70  ClassDef(PndSdsRecoHit2, 1);
71 };
72 
73 #endif
74 
75 //--------------------------------------------------------------
76 // $Log$
77 //--------------------------------------------------------------
Measurement class implementing a planar hit geometry (1 or 2D).
Hit object for use in TrackCand. Provides IDs and sorting parameters.
Definition: TrackCandHit.h:45
Class to access the naming information of the MVD.
virtual genfit::AbsMeasurement * clone()
virtual ~PndSdsRecoHit2()
Contains the measurement and covariance in raw detector coordinates.