PandaRoot
PndEmcRecoHit.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 // File and Version Information:
3 // $Id:$
4 //
5 // Description:
6 // Software developed for the PANDA Detector at GSI.
7 //------------------------------------------------------------------------
8 //#pragma once
9 #ifndef PNDEMCRECOHIT_H
10 #define PNDEMCRECOHIT_H
11 
12 //----------------------
13 // Base Class Headers --
14 //----------------------
15 #include "FairMultiLinkedData.h"
16 #include "TObject.h"
17 #include "TVector3.h"
18 
23 class PndEmcRecoHit : public FairMultiLinkedData {
24 
25  public:
26  // Constructors
27  PndEmcRecoHit();
28  PndEmcRecoHit(Double_t energy, TVector3 position);
29 
30  // Destructor
31  virtual ~PndEmcRecoHit();
32 
33  // Modifiers
34  Double_t GetEnergy() const;
35  Double_t GetEnergyCorrected() const;
36  TVector3 GetPosition() const;
37 
38  private:
39  // Data members
40  Double_t fEnergy;
41  Double_t fEnergyCorrected;
42  TVector3 fPosition;
43 
44  ClassDef(PndEmcRecoHit, 1)
45 };
46 
47 #endif // PNDEMCRECOHIT_H
virtual ~PndEmcRecoHit()
TVector3 GetPosition() const
represents the reconstructed hit in the emc
Definition: PndEmcRecoHit.h:23
Double_t GetEnergyCorrected() const
Double_t GetEnergy() const