ATLAS Offline Software
Public Member Functions | Private Member Functions | List of all members
DistanceFunctor< T, U > Class Template Referenceabstract

#include <DistanceFunctor.h>

Inheritance diagram for DistanceFunctor< T, U >:
Collaboration diagram for DistanceFunctor< T, U >:

Public Member Functions

float operator() (const T *t, const U *u) const
 
float distance (const T *t, const U *u) const
 
virtual ~DistanceFunctor ()
 

Private Member Functions

virtual float calculateDistance (const T *t, const U *u) const =0
 

Detailed Description

template<typename T, typename U>
class DistanceFunctor< T, U >

Definition at line 11 of file DistanceFunctor.h.

Constructor & Destructor Documentation

◆ ~DistanceFunctor()

template<typename T , typename U >
virtual DistanceFunctor< T, U >::~DistanceFunctor ( )
inlinevirtual

Definition at line 22 of file DistanceFunctor.h.

22 {;}

Member Function Documentation

◆ calculateDistance()

template<typename T , typename U >
virtual float DistanceFunctor< T, U >::calculateDistance ( const T *  t,
const U *  u 
) const
privatepure virtual

◆ distance()

template<typename T , typename U >
float DistanceFunctor< T, U >::distance ( const T *  t,
const U *  u 
) const
inline

Definition at line 18 of file DistanceFunctor.h.

18  {
19  return (*this)(t, u);
20  }

◆ operator()()

template<typename T , typename U >
float DistanceFunctor< T, U >::operator() ( const T *  t,
const U *  u 
) const
inline

Definition at line 14 of file DistanceFunctor.h.

14  {
15  return calculateDistance(t, u);
16  }

The documentation for this class was generated from the following file:
DistanceFunctor::calculateDistance
virtual float calculateDistance(const T *t, const U *u) const =0
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
Trk::u
@ u
Enums for curvilinear frames.
Definition: ParamDefs.h:77