CMS 3D CMS Logo

Public Member Functions

TauTagTools::sortByAscendingPt< T > Class Template Reference

#include <TauTagTools.h>

List of all members.

Public Member Functions

bool operator() (const T &candA, const T &candB)
bool operator() (const T *candA, const T *candB)

Detailed Description

template<class T>
class TauTagTools::sortByAscendingPt< T >

Definition at line 111 of file TauTagTools.h.


Member Function Documentation

template<class T>
bool TauTagTools::sortByAscendingPt< T >::operator() ( const T candA,
const T candB 
) [inline]

Definition at line 114 of file TauTagTools.h.

     {
        return (candA.pt() > candB.pt());
     }
template<class T>
bool TauTagTools::sortByAscendingPt< T >::operator() ( const T candA,
const T candB 
) [inline]

Definition at line 118 of file TauTagTools.h.

     {
        return (candA->pt() > candB->pt());
     }