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
MaxObjectPairSelector< F > Struct Template Reference

#include <MaxObjectPairSelector.h>

Public Member Functions

 MaxObjectPairSelector (double max)
 
template<typename T1 , typename T2 >
bool operator() (const T1 &t1, const T2 &t2) const
 

Private Attributes

fun_
 
double max_
 

Detailed Description

template<typename F>
struct MaxObjectPairSelector< F >

Definition at line 11 of file MaxObjectPairSelector.h.

Constructor & Destructor Documentation

template<typename F >
MaxObjectPairSelector< F >::MaxObjectPairSelector ( double  max)
inline

Definition at line 12 of file MaxObjectPairSelector.h.

12  :
13  max_( max ), fun_() { }
const T & max(const T &a, const T &b)

Member Function Documentation

template<typename F >
template<typename T1 , typename T2 >
bool MaxObjectPairSelector< F >::operator() ( const T1 &  t1,
const T2 &  t2 
) const
inline

Member Data Documentation

template<typename F >
F MaxObjectPairSelector< F >::fun_
private

Definition at line 21 of file MaxObjectPairSelector.h.

Referenced by MaxObjectPairSelector< F >::operator()().

template<typename F >
double MaxObjectPairSelector< F >::max_
private

Definition at line 20 of file MaxObjectPairSelector.h.

Referenced by MaxObjectPairSelector< F >::operator()().