FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
detectors
emc
EmcData
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
37
PndEmcRecoHit::PndEmcRecoHit
():
38
fEnergy(0), fEnergyCorrected(0), fPosition(0,0,0)
39
{
40
}
41
42
PndEmcRecoHit::PndEmcRecoHit
(
Double_t
energy
, TVector3 position):
43
fEnergy(energy),
44
fEnergyCorrected(energy),
45
fPosition(position)
46
{
47
}
48
49
PndEmcRecoHit::~PndEmcRecoHit
()
50
{
51
}
52
53
//-------------
54
// Modifiers --
55
//-------------
56
57
Double_t
58
PndEmcRecoHit::GetEnergy
()
const
59
{
60
return
fEnergy
;
61
}
62
63
Double_t
64
PndEmcRecoHit::GetEnergyCorrected
()
const
65
{
66
return
fEnergyCorrected
;
67
}
68
69
TVector3
70
PndEmcRecoHit::GetPosition
()
const
71
{
72
return
fPosition
;
73
}
74
75
76
ClassImp
(
PndEmcRecoHit
)
PndEmcRecoHit::GetPosition
TVector3 GetPosition() const
Definition:
PndEmcRecoHit.cxx:70
PndEmcRecoHit::GetEnergy
Double_t GetEnergy() const
Definition:
PndEmcRecoHit.cxx:58
PndEmcRecoHit.h
PndEmcRecoHit::fEnergyCorrected
Double_t fEnergyCorrected
Definition:
PndEmcRecoHit.h:43
PndEmcRecoHit::fEnergy
Double_t fEnergy
Definition:
PndEmcRecoHit.h:42
std::ostream
basic_ostream< char, char_traits< char > > ostream
Definition:
PndFTSCATrackParamVector.h:1258
Double_t
Double_t
Definition:
SimCompleteLinkDef.h:6
PndEmcRecoHit::PndEmcRecoHit
PndEmcRecoHit()
Definition:
PndEmcRecoHit.cxx:37
PndEmcRecoHit::fPosition
TVector3 fPosition
Definition:
PndEmcRecoHit.h:44
PndEmcRecoHit
represents the reconstructed hit in the emc
Definition:
PndEmcRecoHit.h:23
PndEmcRecoHit::GetEnergyCorrected
Double_t GetEnergyCorrected() const
Definition:
PndEmcRecoHit.cxx:64
ClassImp
ClassImp(PndAnaContFact)
PndEmcRecoHit::~PndEmcRecoHit
virtual ~PndEmcRecoHit()
Definition:
PndEmcRecoHit.cxx:49
energy
Double_t energy
Definition:
plot_dirc.C:15
Generated on Wed Apr 3 2019 10:02:50 for FairRoot/PandaRoot by
1.8.5