#include <DeltaRMinPairSelector.h>
Public Member Functions | |
DeltaRMinPairSelector (double deltaRMin) | |
template<typename T1 , typename T2 > | |
bool | operator() (const T1 &t1, const T2 &t2) const |
Private Attributes | |
double | deltaRMin2_ |
Definition at line 11 of file DeltaRMinPairSelector.h.
DeltaRMinPairSelector::DeltaRMinPairSelector | ( | double | deltaRMin | ) | [inline] |
Definition at line 12 of file DeltaRMinPairSelector.h.
: deltaRMin2_( deltaRMin * deltaRMin ) { }
bool DeltaRMinPairSelector::operator() | ( | const T1 & | t1, |
const T2 & | t2 | ||
) | const [inline] |
Definition at line 15 of file DeltaRMinPairSelector.h.
References Geom::deltaR2(), and deltaRMin2_.
{ return deltaR2( t1, t2 ) > deltaRMin2_; }
double DeltaRMinPairSelector::deltaRMin2_ [private] |
Definition at line 20 of file DeltaRMinPairSelector.h.
Referenced by operator()().