LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
SortByDistanceToPoint class. More...
#include "LArConnectionPathwayHelper.h"
Public Member Functions | |
SortByDistanceToPoint (const pandora::CartesianVector referencePoint) | |
Constructor. More... | |
bool | operator() (const pandora::CartesianVector &lhs, const pandora::CartesianVector &rhs) |
Sort constituent hits by their position relative to a referencePoint. More... | |
bool | operator() (const pandora::CaloHit *const lhs, const pandora::CaloHit *const rhs) |
Private Attributes | |
const pandora::CartesianVector | m_referencePoint |
The point relative to which constituent hits are ordered. More... | |
SortByDistanceToPoint class.
Definition at line 27 of file LArConnectionPathwayHelper.h.
|
inline |
Constructor.
referencePoint | the point relative to which constituent hits are ordered |
Definition at line 35 of file LArConnectionPathwayHelper.h.
References operator()().
bool lar_content::LArConnectionPathwayHelper::SortByDistanceToPoint::operator() | ( | const pandora::CartesianVector & | lhs, |
const pandora::CartesianVector & | rhs | ||
) |
Sort constituent hits by their position relative to a referencePoint.
lhs | first constituent hit |
rhs | second constituent hit |
Referenced by SortByDistanceToPoint().
bool lar_content::LArConnectionPathwayHelper::SortByDistanceToPoint::operator() | ( | const pandora::CaloHit *const | lhs, |
const pandora::CaloHit *const | rhs | ||
) |
|
private |
The point relative to which constituent hits are ordered.
Definition at line 52 of file LArConnectionPathwayHelper.h.