CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
PtComparator< T > Class Template Reference

#include <PtComparator.h>

Public Member Functions

bool operator() (const T *a, const T *b) const
 

Detailed Description

template<class T>
class PtComparator< T >

compare by pt

Author
Luca Lista, INFN numeric safe implementation by Fedor Ratnikov, FNAL
Version
Revision:
1.4
Id:
PtComparator.h,v 1.4 2007/04/23 20:54:26 llista Exp

Definition at line 28 of file TrackTypeMonitor.cc.

Member Function Documentation

template<class T >
bool PtComparator< T >::operator() ( const T a,
const T b 
) const
inline

Definition at line 30 of file TrackTypeMonitor.cc.

30  {
31  return (a->pt() > b->pt());
32  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121