ATLAS Offline Software
Public Member Functions | List of all members
PFMatch::EtaPhiSqDistanceCalculator Class Reference

Calculates distance between two EtaPhi objects. More...

#include <PFMatchDistance.h>

Inheritance diagram for PFMatch::EtaPhiSqDistanceCalculator:
Collaboration diagram for PFMatch::EtaPhiSqDistanceCalculator:

Public Member Functions

 EtaPhiSqDistanceCalculator ()
 
virtual ~EtaPhiSqDistanceCalculator ()
 
virtual double distanceBetween (const EtaPhi &position1, const EtaPhi &position2) const
 

Detailed Description

Calculates distance between two EtaPhi objects.

Definition at line 27 of file PFMatchDistance.h.

Constructor & Destructor Documentation

◆ EtaPhiSqDistanceCalculator()

PFMatch::EtaPhiSqDistanceCalculator::EtaPhiSqDistanceCalculator ( )
inline

Definition at line 29 of file PFMatchDistance.h.

29 { }

◆ ~EtaPhiSqDistanceCalculator()

virtual PFMatch::EtaPhiSqDistanceCalculator::~EtaPhiSqDistanceCalculator ( )
inlinevirtual

Definition at line 30 of file PFMatchDistance.h.

30 { }

Member Function Documentation

◆ distanceBetween()

double PFMatch::EtaPhiSqDistanceCalculator::distanceBetween ( const EtaPhi position1,
const EtaPhi position2 
) const
virtual

Implements PFMatch::DistanceCalculator< EtaPhi, EtaPhi >.

Definition at line 25 of file PFMatchDistance.cxx.

25  {
26  return position1.dRSq(position2);
27 }

The documentation for this class was generated from the following files: