ORUtils::SlidingDeltaRMatcher Class Reference

DR matching strategy where cone decreases with pt. More...

#include <DeltaRMatcher.h>

Inheritance diagram for ORUtils::SlidingDeltaRMatcher:
ORUtils::IParticleAssociator

List of all members.

Public Member Functions

 SlidingDeltaRMatcher (double c1, double c2, double maxCone=std::numeric_limits< double >::max(), bool useRapidity=true)
 Constructor.
virtual bool objectsMatch (const xAOD::IParticle &p1, const xAOD::IParticle &p2) const override
 Check if particles match in dR. The dR cone is calculated as dR = c1 + (c2/p1.pt()).

Detailed Description

DR matching strategy where cone decreases with pt.

Calculates the dR cone w.r.t. the pt of the first argument as: dR = c1 + (c2/pt) Assumes that you're only using rapidity (for now).

Author:
Steve Farrell <Steven.Farrell@cern.ch>

Constructor & Destructor Documentation

ORUtils::SlidingDeltaRMatcher::SlidingDeltaRMatcher ( double  c1,
double  c2,
double  maxCone = std::numeric_limits<double>::max(),
bool  useRapidity = true 
)

Constructor.

Parameters:
[in] c1 The offset constant (dimensionless).
[in] c2 The pt factor constant (MeV).
[in] maxCone Cone size upper limit.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1