CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
GreaterByPt< T > Struct Template Reference

#include <PtComparator.h>

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 24 of file PtComparator.h.

Member Typedef Documentation

◆ first_argument_type

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

Definition at line 25 of file PtComparator.h.

◆ second_argument_type

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

Definition at line 26 of file PtComparator.h.

Member Function Documentation

◆ operator()()

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

Definition at line 27 of file PtComparator.h.

27 { return t1.pt() > t2.pt(); }
RandomServiceHelper.t2
t2
Definition: RandomServiceHelper.py:257
RandomServiceHelper.t1
t1
Definition: RandomServiceHelper.py:256