#include <RecEmcTofHit.h>
◆ RecEmcTofHit() [1/6]
RecEmcTofHit::RecEmcTofHit |
( |
| ) |
|
◆ RecEmcTofHit() [2/6]
Definition at line 16 of file RecEmcTofHit.cxx.
19{
20 m_cellId = id;
21 m_energy = e;
22 m_pos = pos;
23}
◆ ~RecEmcTofHit() [1/2]
RecEmcTofHit::~RecEmcTofHit |
( |
| ) |
|
◆ RecEmcTofHit() [3/6]
Definition at line 29 of file RecEmcTofHit.cxx.
30{
31 m_cellId = tofHit.
CellId();
32 m_energy = tofHit.
Energy();
34}
Identifier CellId() const
HepPoint3D Position() const
◆ RecEmcTofHit() [4/6]
RecEmcTofHit::RecEmcTofHit |
( |
| ) |
|
◆ RecEmcTofHit() [5/6]
◆ ~RecEmcTofHit() [2/2]
RecEmcTofHit::~RecEmcTofHit |
( |
| ) |
|
◆ RecEmcTofHit() [6/6]
◆ Assign() [1/2]
Definition at line 69 of file RecEmcTofHit.cxx.
72{
73 m_cellId = id;
74 m_energy = e;
75 m_pos = pos;
76}
◆ Assign() [2/2]
◆ CellId() [1/4]
◆ CellId() [2/4]
◆ CellId() [3/4]
void RecEmcTofHit::CellId |
( |
const Identifier & |
id | ) |
|
◆ CellId() [4/4]
void RecEmcTofHit::CellId |
( |
const Identifier & |
id | ) |
|
◆ Clear() [1/2]
void RecEmcTofHit::Clear |
( |
| ) |
|
Definition at line 78 of file RecEmcTofHit.cxx.
79{
81 m_energy = 0;
83}
HepGeom::Point3D< double > HepPoint3D
virtual void clear()
Reset to invalid state.
Referenced by RecEmcTofHit().
◆ Clear() [2/2]
void RecEmcTofHit::Clear |
( |
| ) |
|
◆ DistanceTo() [1/2]
double RecEmcTofHit::DistanceTo |
( |
const RecEmcTofHit & |
tofHit | ) |
|
Definition at line 85 of file RecEmcTofHit.cxx.
86{
87
88
89
90
91
92 Hep3Vector pos1(m_pos);
93 Hep3Vector pos2(tofHit.m_pos);
94
95 return fabs(pos1.deltaPhi(pos2));
96
97
98
99}
◆ DistanceTo() [2/2]
◆ Energy() [1/4]
double RecEmcTofHit::Energy |
( |
| ) |
const |
|
inline |
◆ Energy() [2/4]
double RecEmcTofHit::Energy |
( |
| ) |
const |
|
inline |
◆ Energy() [3/4]
void RecEmcTofHit::Energy |
( |
const double |
e | ) |
|
◆ Energy() [4/4]
void RecEmcTofHit::Energy |
( |
const double |
e | ) |
|
◆ IntCellId() [1/2]
int RecEmcTofHit::IntCellId |
( |
| ) |
const |
Definition at line 47 of file RecEmcTofHit.cxx.
48{
51 return im+layer*88;
52}
static int phi_module(const Identifier &id)
static int layer(const Identifier &id)
Referenced by operator<<().
◆ IntCellId() [2/2]
int RecEmcTofHit::IntCellId |
( |
| ) |
const |
◆ operator<() [1/2]
◆ operator<() [2/2]
◆ operator=() [1/2]
Definition at line 36 of file RecEmcTofHit.cxx.
37{
38 if(this!=&tofHit) {
39 m_cellId = tofHit.
CellId();
40 m_energy = tofHit.
Energy();
42 }
43 return *this;
44}
◆ operator=() [2/2]
◆ operator>() [1/2]
◆ operator>() [2/2]
◆ Position() [1/4]
◆ Position() [2/4]
◆ Position() [3/4]
void RecEmcTofHit::Position |
( |
const HepPoint3D |
pos | ) |
|
◆ Position() [4/4]
void RecEmcTofHit::Position |
( |
const HepPoint3D |
pos | ) |
|
◆ ZPosition() [1/4]
double RecEmcTofHit::ZPosition |
( |
| ) |
const |
|
inline |
◆ ZPosition() [2/4]
double RecEmcTofHit::ZPosition |
( |
| ) |
const |
|
inline |
◆ ZPosition() [3/4]
void RecEmcTofHit::ZPosition |
( |
const double |
z | ) |
|
◆ ZPosition() [4/4]
void RecEmcTofHit::ZPosition |
( |
const double |
z | ) |
|
The documentation for this class was generated from the following files: