#include <CaloHit.h>
Public Member Functions | |
CaloHit () | |
unsigned int | GetCellLengthScale () const |
bool | operator< (const CaloHit &rhs) const |
CaloHit (float energy, float time, float *pos, raw::CellID_t cellID, unsigned int layer) | |
CaloHit (float energy, std::pair< float, float > time, float *pos, raw::CellID_t cellID, unsigned int layer) | |
CaloHit (const gar::rec::CaloHit &)=default | |
bool | operator== (const CaloHit &rhs) const |
bool | operator!= (const CaloHit &rhs) const |
gar::rec::IDNumber | getIDNumber () const |
const float * | Position () const |
float | Energy () const |
std::pair< float, float > | Time () const |
raw::CellID_t | CellID () const |
unsigned int | Layer () const |
Private Attributes | |
gar::rec::IDNumber | fIDnumero |
float | fEnergy |
energy of the calo hit in GeV More... | |
float | fPosition [3] |
position of the calo hit in cm More... | |
std::pair< float, float > | fTime |
time of the calo hit in ns More... | |
raw::CellID_t | fCellID |
cellID More... | |
unsigned int | fLayer |
Layer. More... | |
Static Private Attributes | |
static gar::rec::IDNumber const | FirstNumber = 100200000 |
Friends | |
std::ostream & | operator<< (std::ostream &o, gar::rec::CaloHit const &h) |
gar::rec::CaloHit::CaloHit | ( | ) |
Definition at line 15 of file CaloHit.cxx.
gar::rec::CaloHit::CaloHit | ( | float | energy, |
float | time, | ||
float * | pos, | ||
raw::CellID_t | cellID, | ||
unsigned int | layer | ||
) |
Definition at line 44 of file CaloHit.cxx.
gar::rec::CaloHit::CaloHit | ( | float | energy, |
std::pair< float, float > | time, | ||
float * | pos, | ||
raw::CellID_t | cellID, | ||
unsigned int | layer | ||
) |
Definition at line 62 of file CaloHit.cxx.
|
default |
|
inline |
unsigned int gar::rec::CaloHit::GetCellLengthScale | ( | ) | const |
Definition at line 122 of file CaloHit.cxx.
gar::rec::IDNumber gar::rec::CaloHit::getIDNumber | ( | ) | const |
Definition at line 40 of file CaloHit.cxx.
Definition at line 36 of file CaloHit.cxx.
Definition at line 79 of file CaloHit.cxx.
Definition at line 32 of file CaloHit.cxx.
|
inline |
Definition at line 70 of file CaloHit.h.
|
inline |
Definition at line 71 of file CaloHit.h.
|
friend |
Definition at line 98 of file CaloHit.cxx.
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |