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