CMS 3D CMS Logo

Public Member Functions

GreaterByEtRef< 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 GreaterByEtRef< T >

Definition at line 96 of file JetAlgoHelper.h.


Member Function Documentation

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

Definition at line 98 of file JetAlgoHelper.h.

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

Definition at line 98 of file JetAlgoHelper.h.

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