CMS 3D CMS Logo

Public Member Functions

GreaterByPtRef< T > Class Template Reference

#include <JetAlgoHelper.h>

List of all members.

Public Member Functions

int operator() (const T &a1, const T &a2)
int operator() (const T &a1, const T &a2)

Detailed Description

template<class T>
class GreaterByPtRef< T >

Definition at line 75 of file JetAlgoHelper.h.


Member Function Documentation

template<class T >
int GreaterByPtRef< T >::operator() ( const T a1,
const T a2 
) [inline]

Definition at line 77 of file JetAlgoHelper.h.

                                           {
    if (!a1) return 0;
    if (!a2) return 1;
    NumericSafeGreaterByPt <typename T::value_type> comp;
    return comp.operator () (*a1, *a2);
  }
template<class T >
int GreaterByPtRef< T >::operator() ( const T a1,
const T a2 
) [inline]

Definition at line 77 of file JetAlgoHelper.h.

                                           {
    if (!a1) return 0;
    if (!a2) return 1;
    NumericSafeGreaterByPt <typename T::value_type> comp;
    return comp.operator () (*a1, *a2);
  }