#include <HodoHit.h>
Definition at line 17 of file HodoHit.h.
◆ HodoHit() [1/2]
◆ HodoHit() [2/2]
HodoHit |
( |
int |
ix, |
|
|
int |
iy, |
|
|
int |
layer, |
|
|
int |
hole, |
|
|
double |
energy, |
|
|
double |
time |
|
) |
| |
|
inline |
◆ ~HodoHit()
◆ ClassDef()
◆ getEnergy()
double getEnergy |
( |
| ) |
const |
|
inline |
- Returns
- The energy of the hit in GeV.
Definition at line 37 of file HodoHit.h.
◆ getHole()
- Returns
- The layer number of the hit.
Definition at line 46 of file HodoHit.h.
◆ getIndices()
std::vector< int > getIndices |
( |
| ) |
const |
|
inline |
- Returns
- The crystal indices.
Definition at line 80 of file HodoHit.h.
◆ getLayer()
double getLayer |
( |
| ) |
const |
|
inline |
- Returns
- The layer number of the hit.
Definition at line 56 of file HodoHit.h.
◆ getTime()
- Returns
- The time of the hit in ns.
Definition at line 66 of file HodoHit.h.
◆ setEnergy()
void setEnergy |
( |
const double |
energy | ) |
|
|
inline |
Set the energy of the hit in GeV.
- Parameters
-
energy | The energy of the hit in GeV. |
Definition at line 34 of file HodoHit.h.
◆ setHole()
void setHole |
( |
const int |
hole | ) |
|
|
inline |
Set the hole number of the hit.
- Parameters
-
hole | The hole number of the hit. |
Definition at line 43 of file HodoHit.h.
◆ setIndices()
void setIndices |
( |
int |
index_x, |
|
|
int |
index_y |
|
) |
| |
|
inline |
Set the indices of the crystal.
- Parameters
-
index_x | The index along x |
index_y | The index along y |
Definition at line 74 of file HodoHit.h.
◆ setLayer()
void setLayer |
( |
const int |
layer | ) |
|
|
inline |
Set the layer of the hit.
- Parameters
-
layer | The layer of the hit. |
Definition at line 53 of file HodoHit.h.
◆ setTime()
void setTime |
( |
const double |
time | ) |
|
|
inline |
Set the time of the hit in ns.
- Parameters
-
time | The time of the hit in ns. |
Definition at line 63 of file HodoHit.h.
◆ energy_
The energy of the hit in GeV.
Definition at line 97 of file HodoHit.h.
◆ hole_
◆ index_x_
The crystal index along x.
Definition at line 87 of file HodoHit.h.
◆ index_y_
The crystal index along y.
Definition at line 90 of file HodoHit.h.
◆ layer_
◆ time_
The time of the hit in ns.
Definition at line 100 of file HodoHit.h.
The documentation for this class was generated from the following file: