![]() |
ATLAS Offline Software
|
Encapsulates the delta-R matching strategy. More...
#include <DeltaRMatcher.h>
Public Member Functions | |
| DeltaRMatcher (double dR, bool useRapidity=true) | |
| Constructor. | |
| virtual StatusCode | setObjectTypes (xAODType::ObjectType type1, xAODType::ObjectType type2) override |
| Set the object types to be used in the association. | |
| virtual bool | objectsMatch (columnar::Particle1Id p1, columnar::Particle2Id p2, bool swapArgs=false) const override |
| Check if particles match in dR. | |
| bool | objectsMatch (columnar::Particle2Id p2, columnar::Particle1Id p1) const |
Private Attributes | |
| double | m_dR |
| bool | m_useRapidity |
| columnar::MomentumAccessors< columnar::ContainerId::particle1 > | m_momAcc1 |
| Columnar accessors. | |
| columnar::MomentumAccessors< columnar::ContainerId::particle2 > | m_momAcc2 |
Encapsulates the delta-R matching strategy.
I am considering abstracting matching with an interface.
Definition at line 30 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 33 of file DeltaRMatcher.cxx.
|
inline |
Definition at line 37 of file IObjectAssociator.h.
|
overridevirtual |
Set the object types to be used in the association.
Implements ORUtils::IParticleAssociator.
Definition at line 22 of file DeltaRMatcher.cxx.
|
private |
Definition at line 49 of file DeltaRMatcher.h.
|
private |
Columnar accessors.
Definition at line 53 of file DeltaRMatcher.h.
|
private |
Definition at line 54 of file DeltaRMatcher.h.
|
private |
Definition at line 50 of file DeltaRMatcher.h.