test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions
LessByPt< 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 LessByPt< T >

Definition at line 17 of file PtComparator.h.

Member Typedef Documentation

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

Definition at line 18 of file PtComparator.h.

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

Definition at line 19 of file PtComparator.h.

Member Function Documentation

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

Definition at line 20 of file PtComparator.h.

20  {
21  return t1.pt() < t2.pt();
22  }
auto const T2 &decltype(t1.eta()) t2
Definition: deltaR.h:16