CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
MinObjectPairSelector< F > Struct Template Reference

#include <MinObjectPairSelector.h>

Public Member Functions

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

Private Attributes

F fun_
 
double min_
 

Detailed Description

template<typename F>
struct MinObjectPairSelector< F >

Definition at line 11 of file MinObjectPairSelector.h.

Constructor & Destructor Documentation

template<typename F >
MinObjectPairSelector< F >::MinObjectPairSelector ( double  min)
inline

Definition at line 12 of file MinObjectPairSelector.h.

12  :
13  min_( min ), fun_() { }
T min(T a, T b)
Definition: MathUtil.h:58

Member Function Documentation

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

Member Data Documentation

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

Definition at line 21 of file MinObjectPairSelector.h.

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

template<typename F >
double MinObjectPairSelector< F >::min_
private

Definition at line 20 of file MinObjectPairSelector.h.

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