CMS 3D CMS Logo

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 27 of file TrackTypeMonitor.cc.

Member Function Documentation

◆ operator()()

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

Definition at line 29 of file TrackTypeMonitor.cc.

References a, and b.

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