#include <FunctionObjects.h>
Public Methods | |
BelowThresholdDeltaR (Atlfast::IKinematic *ref, double boundary) | |
constructor taking | |
BelowThresholdDeltaR (Atlfast::IKinematic &ref, double boundary) | |
bool | operator() (const Atlfast::IKinematic *a) const |
bool | operator() (const Atlfast::IKinematic &a) const |
Private Attributes | |
double | m_boundary |
Atlfast::IKinematic * | m_ref |
Used to select IKinematic objects below a threshold delta R.
Definition at line 419 of file FunctionObjects.h.
|
constructor taking
Definition at line 423 of file FunctionObjects.h. References m_boundary, and m_ref.
00424 : m_boundary(boundary), m_ref(ref) {} |
|
Definition at line 426 of file FunctionObjects.h. References m_boundary, and m_ref.
00427 : m_boundary(boundary), m_ref(&ref) {} |
|
Definition at line 429 of file FunctionObjects.h. References m_boundary, and m_ref. Referenced by operator()().
00430 { 00431 Phi dphi( a->phi() - m_ref->phi() ) ; 00432 00433 double dist = 00434 sqrt( 00435 (dphi*dphi) + 00436 (a->eta() - m_ref->eta())*(a->eta() - m_ref->eta()) 00437 ); 00438 00439 return (dist < m_boundary) ; 00440 00441 } |
|
Definition at line 444 of file FunctionObjects.h. References operator()().
00445 { return this->operator()( &a ) ; } |
|
Definition at line 448 of file FunctionObjects.h. Referenced by BelowThresholdDeltaR(), and operator()(). |
|
Definition at line 449 of file FunctionObjects.h. Referenced by BelowThresholdDeltaR(), and operator()(). |