48 if (fTrackId < e.
fTrackId)
return true;
49 if (fTrackId > e.
fTrackId)
return false;
51 if (fVertex.at(0) < e.
fVertex.at(0))
return true;
52 if (fVertex.at(0) > e.
fVertex.at(0))
return false;
54 if (fVertex.at(1) < e.
fVertex.at(1))
return true;
55 if (fVertex.at(1) > e.
fVertex.at(1))
return false;
57 if (fVertex.at(2) < e.
fVertex.at(2))
return true;
58 if (fVertex.at(2) > e.
fVertex.at(2))
return false;
60 if (fEnergy < e.
fEnergy)
return true;
61 if (fEnergy > e.
fEnergy)
return false;
static constexpr float kINVALID_FLOAT
bool operator()(const sim::MCEnDep *lhs, const sim::MCEnDep *rhs)
void SetTrackId(unsigned int id)
std::array< float, 3 > fVertex
unsigned int TrackId() const
void SetVertex(float x, float y, float z)
const unsigned int kINVALID_UINT
bool operator<(const MCEnDep &e) const
const std::array< float, 3 > & Vertex() const
const float kINVALID_FLOAT