CMS 3D CMS Logo

GreaterByPt< T > Struct Template Reference

#include <PhysicsTools/Utilities/interface/PtComparator.h>

List of all members.

Public Types

typedef T first_argument_type
typedef T second_argument_type

Public Member Functions

bool operator() (const T &t1, const T &t2) const


Detailed Description

template<typename T>
struct GreaterByPt< T >

Definition at line 26 of file PtComparator.h.


Member Typedef Documentation

template<typename T>
typedef T GreaterByPt< T >::first_argument_type

Definition at line 27 of file PtComparator.h.

template<typename T>
typedef T GreaterByPt< T >::second_argument_type

Definition at line 28 of file PtComparator.h.


Member Function Documentation

template<typename T>
bool GreaterByPt< T >::operator() ( const T &  t1,
const T &  t2 
) const [inline]

Definition at line 29 of file PtComparator.h.

00029                                                       {
00030     return t1.pt() > t2.pt();
00031   }


The documentation for this struct was generated from the following file:
Generated on Tue Jun 9 18:23:15 2009 for CMSSW by  doxygen 1.5.4