ATLAS Offline Software
|
Encapsulates the delta-R matching strategy. More...
#include <DeltaRMatcher.h>
Public Member Functions | |
DeltaRMatcher (double dR, bool useRapidity=true) | |
Constructor. More... | |
virtual bool | objectsMatch (const xAOD::IParticle &p1, const xAOD::IParticle &p2) const override |
Check if particles match in dR. More... | |
Private Attributes | |
double | m_dR |
bool | m_useRapidity |
Encapsulates the delta-R matching strategy.
I am considering abstracting matching with an interface.
Definition at line 26 of file DeltaRMatcher.h.
ORUtils::DeltaRMatcher::DeltaRMatcher | ( | double | dR, |
bool | useRapidity = true |
||
) |
Constructor.
Definition at line 17 of file DeltaRMatcher.cxx.
|
overridevirtual |
Check if particles match in dR.
Implements ORUtils::IParticleAssociator.
Definition at line 25 of file DeltaRMatcher.cxx.
|
private |
Definition at line 40 of file DeltaRMatcher.h.
|
private |
Definition at line 41 of file DeltaRMatcher.h.