17#ifndef ALICEO2_ECAL_HIT_H
18#define ALICEO2_ECAL_HIT_H
43 Hit(
int trackID,
int cellID,
const math_utils::Point3D<float>&
pos,
44 const math_utils::Vector3D<float>& mom,
float tof,
float eLoss)
67 math_utils::Vector3D<float> mPvector;
int GetCellID() const
Get cell ID.
bool operator==(const Hit &rhs) const
Check whether the points are from the same parent and in the same detector volume.
Hit()=default
Default constructor.
bool operator<(const Hit &rhs) const
Sorting points according to parent particle and detector volume.
~Hit()=default
Destructor.
Hit(int trackID, int cellID, const math_utils::Point3D< float > &pos, const math_utils::Vector3D< float > &mom, float tof, float eLoss)
Hit constructor.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...