test
CMS 3D CMS Logo

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

#include <PFBenchmarkAlgo.h>

Public Member Functions

 deltaRSorter (const T *Ref)
 
bool operator() (const U &c1, const U &c2) const
 

Private Attributes

const Tcref
 

Detailed Description

template<typename T, typename U>
class deltaRSorter< T, U >

Definition at line 96 of file PFBenchmarkAlgo.h.

Constructor & Destructor Documentation

template<typename T , typename U >
deltaRSorter< T, U >::deltaRSorter ( const T Ref)
inline

Definition at line 99 of file PFBenchmarkAlgo.h.

References deltaRSorter< T, U >::cref.

99 { cref = Ref; }
const T * cref

Member Function Documentation

template<typename T , typename U >
bool deltaRSorter< T, U >::operator() ( const U &  c1,
const U &  c2 
) const
inline

Definition at line 100 of file PFBenchmarkAlgo.h.

References deltaRSorter< T, U >::cref, and PFBenchmarkAlgo::deltaR().

100  {
102  }
const T * cref
static double deltaR(const T *, const U *)

Member Data Documentation

template<typename T , typename U >
const T* deltaRSorter< T, U >::cref
private