FairRoot/PandaRoot
PndEmcRecoHit.cxx
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 // File and Version Information:
3 // $Id:$
4 //
5 // Description:
6 // Class PndEmcRecoHit
7 //
8 // Environment:
9 // Software developed for the PANDA Detector at GSI.
10 //
11 //------------------------------------------------------------------------
12 
13 
14 //-----------------------
15 // This Class's Header --
16 //-----------------------
17 
18 #include "PndEmcRecoHit.h"
19 
20 //---------------
21 // C++ Headers --
22 //---------------
23 
24 #include <iostream>
25 #include <iomanip>
26 #include <vector>
27 using std::vector;
28 using std::endl;
29 using std::ios;
30 using std::ostream;
31 using std::setw;
32 
33 //----------------
34 // Constructors --
35 //----------------
36 
38 fEnergy(0), fEnergyCorrected(0), fPosition(0,0,0)
39 {
40 }
41 
43  fEnergy(energy),
44  fEnergyCorrected(energy),
45  fPosition(position)
46 {
47 }
48 
50 {
51 }
52 
53 //-------------
54 // Modifiers --
55 //-------------
56 
57 Double_t
59 {
60  return fEnergy;
61 }
62 
63 Double_t
65 {
66  return fEnergyCorrected;
67 }
68 
69 TVector3
71 {
72  return fPosition;
73 }
74 
75 
TVector3 GetPosition() const
Double_t GetEnergy() const
Double_t fEnergyCorrected
Definition: PndEmcRecoHit.h:43
Double_t fEnergy
Definition: PndEmcRecoHit.h:42
basic_ostream< char, char_traits< char > > ostream
Double_t
TVector3 fPosition
Definition: PndEmcRecoHit.h:44
represents the reconstructed hit in the emc
Definition: PndEmcRecoHit.h:23
Double_t GetEnergyCorrected() const
ClassImp(PndAnaContFact)
virtual ~PndEmcRecoHit()
Double_t energy
Definition: plot_dirc.C:15