SortByDistanceToPoint class. More...
#include <LArHitWidthHelper.h>
Public Member Functions | |
SortByDistanceToPoint (const pandora::CartesianVector referencePoint) | |
Constructor. More... | |
bool | operator() (const ConstituentHit &lhs, const ConstituentHit &rhs) |
Sort constituent hits by their position relative to a referencePoint. More... | |
Private Attributes | |
const pandora::CartesianVector | m_referencePoint |
The point relative to which constituent hits are ordered. More... | |
SortByDistanceToPoint class.
Definition at line 55 of file LArHitWidthHelper.h.
|
inline |
Constructor.
referencePoint | the point relative to which constituent hits are ordered |
Definition at line 63 of file LArHitWidthHelper.h.
bool lar_content::LArHitWidthHelper::ConstituentHit::SortByDistanceToPoint::operator() | ( | const ConstituentHit & | lhs, |
const ConstituentHit & | rhs | ||
) |
Sort constituent hits by their position relative to a referencePoint.
lhs | first constituent hit |
rhs | second constituent hit |
Definition at line 25 of file LArHitWidthHelper.cc.
|
private |
The point relative to which constituent hits are ordered.
Definition at line 78 of file LArHitWidthHelper.h.