#include <DuplicatedElectronRemover.h>
Public Member Functions | |
template<typename T1 , typename T2 > | |
bool | operator() (const T1 &t1, const T2 &t2) const |
Definition at line 32 of file DuplicatedElectronRemover.h.
bool pat::DuplicatedElectronRemover::BestEoverP::operator() | ( | const T1 & | t1, |
const T2 & | t2 | ||
) | const [inline] |
Definition at line 34 of file DuplicatedElectronRemover.h.
{ float diff1 = fabs(t1.eSuperClusterOverP()-1); float diff2 = fabs(t2.eSuperClusterOverP()-1); return diff1 <= diff2; }