#include <CalHit.h>
Definition at line 15 of file CalHit.h.
◆ CalHit()
◆ ~CalHit()
◆ ClassDef()
◆ Clear()
void Clear |
( |
Option_t * |
option = "" | ) |
|
Reset the hit object
Definition at line 19 of file CalHit.cxx.
◆ getCrystalIndices()
std::vector< int > getCrystalIndices |
( |
| ) |
const |
|
inline |
- Returns
- The crystal indices.
Definition at line 57 of file CalHit.h.
◆ getEnergy()
double getEnergy |
( |
| ) |
const |
|
inline |
- Returns
- The energy of the hit in GeV.
Definition at line 36 of file CalHit.h.
◆ getTime()
- Returns
- The time of the hit in ns.
Definition at line 46 of file CalHit.h.
◆ setCrystalIndices()
void setCrystalIndices |
( |
int |
index_x_, |
|
|
int |
index_y_ |
|
) |
| |
Set the indices of the crystal.
- Parameters
-
index_x | The index along x |
index_y | The index along y |
Definition at line 23 of file CalHit.cxx.
◆ 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 33 of file CalHit.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 43 of file CalHit.h.
◆ energy_
The energy of the hit in GeV.
Definition at line 68 of file CalHit.h.
◆ index_x_
The crystal index along x.
Definition at line 62 of file CalHit.h.
◆ index_y_
The crystal index along y.
Definition at line 65 of file CalHit.h.
◆ time_
The time of the hit in ns.
Definition at line 71 of file CalHit.h.
The documentation for this class was generated from the following files: