ATLAS Offline Software
Loading...
Searching...
No Matches
BestMatcher< T, S >::matched_ Class Reference

internal class to store the matching paramter for a pair, and in the indices of the pair More...

#include <BestMatcher.h>

Collaboration diagram for BestMatcher< T, S >::matched_:

Public Member Functions

 matched_ (double d, int i, int j)
double d () const
std::pair< int, int > pair () const
int first () const
int second () const
bool operator< (const matched_ &a) const
bool operator> (const matched_ &a) const
bool operator== (const matched_ &a) const
bool operator!= (const matched_ &a) const

Private Attributes

double m_d
std::pair< int, int > m_match

Detailed Description

template<typename T, typename S = T>
class BestMatcher< T, S >::matched_

internal class to store the matching paramter for a pair, and in the indices of the pair

Definition at line 36 of file BestMatcher.h.

Constructor & Destructor Documentation

◆ matched_()

template<typename T, typename S = T>
BestMatcher< T, S >::matched_::matched_ ( double d,
int i,
int j )
inline

Definition at line 40 of file BestMatcher.h.

Member Function Documentation

◆ d()

template<typename T, typename S = T>
double BestMatcher< T, S >::matched_::d ( ) const
inline

Definition at line 42 of file BestMatcher.h.

42{ return m_d; }

◆ first()

template<typename T, typename S = T>
int BestMatcher< T, S >::matched_::first ( ) const
inline

Definition at line 46 of file BestMatcher.h.

46{ return m_match.first; }

◆ operator!=()

template<typename T, typename S = T>
bool BestMatcher< T, S >::matched_::operator!= ( const matched_ & a) const
inline

Definition at line 52 of file BestMatcher.h.

52{ return d()!=a.d(); }

◆ operator<()

template<typename T, typename S = T>
bool BestMatcher< T, S >::matched_::operator< ( const matched_ & a) const
inline

Definition at line 49 of file BestMatcher.h.

49{ return d()<a.d(); }

◆ operator==()

template<typename T, typename S = T>
bool BestMatcher< T, S >::matched_::operator== ( const matched_ & a) const
inline

Definition at line 51 of file BestMatcher.h.

51{ return d()==a.d(); }

◆ operator>()

template<typename T, typename S = T>
bool BestMatcher< T, S >::matched_::operator> ( const matched_ & a) const
inline

Definition at line 50 of file BestMatcher.h.

50{ return d()>a.d(); }

◆ pair()

template<typename T, typename S = T>
std::pair< int, int > BestMatcher< T, S >::matched_::pair ( ) const
inline

Definition at line 44 of file BestMatcher.h.

44{ return m_match; }

◆ second()

template<typename T, typename S = T>
int BestMatcher< T, S >::matched_::second ( ) const
inline

Definition at line 47 of file BestMatcher.h.

47{ return m_match.second; }

Member Data Documentation

◆ m_d

template<typename T, typename S = T>
double BestMatcher< T, S >::matched_::m_d
private

Definition at line 55 of file BestMatcher.h.

◆ m_match

template<typename T, typename S = T>
std::pair<int, int> BestMatcher< T, S >::matched_::m_match
private

Definition at line 56 of file BestMatcher.h.


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