PandaRoot
PndEmcRecoHit.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 // Software developed for the PANDA Detector at GSI.
19 //------------------------------------------------------------------------
20 //#pragma once
21 #ifndef PNDEMCRECOHIT_H
22 #define PNDEMCRECOHIT_H
23 
24 //----------------------
25 // Base Class Headers --
26 //----------------------
27 #include "FairMultiLinkedData.h"
28 #include "TObject.h"
29 #include "TVector3.h"
30 
35 class PndEmcRecoHit : public FairMultiLinkedData {
36 
37  public:
38  // Constructors
39  PndEmcRecoHit();
40  PndEmcRecoHit(Double_t energy, TVector3 position);
41 
42  // Destructor
43  virtual ~PndEmcRecoHit();
44 
45  // Modifiers
46  Double_t GetEnergy() const;
47  Double_t GetEnergyCorrected() const;
48  TVector3 GetPosition() const;
49 
50  private:
51  // Data members
52  Double_t fEnergy;
53  Double_t fEnergyCorrected;
54  TVector3 fPosition;
55 
56  ClassDef(PndEmcRecoHit, 1)
57 };
58 
59 #endif // PNDEMCRECOHIT_H
virtual ~PndEmcRecoHit()
TVector3 GetPosition() const
represents the reconstructed hit in the emc
Definition: PndEmcRecoHit.h:35
Double_t GetEnergyCorrected() const
Double_t GetEnergy() const