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

◆ MinObjectPairSelector()

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

Definition at line 12 of file MinObjectPairSelector.h.

12 : min_(min), fun_() {}

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ fun_

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

Definition at line 20 of file MinObjectPairSelector.h.

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

◆ min_

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

Definition at line 19 of file MinObjectPairSelector.h.

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

RandomServiceHelper.t2
t2
Definition: RandomServiceHelper.py:257
min
T min(T a, T b)
Definition: MathUtil.h:58
MinObjectPairSelector::fun_
F fun_
Definition: MinObjectPairSelector.h:20
RandomServiceHelper.t1
t1
Definition: RandomServiceHelper.py:256
MinObjectPairSelector::min_
double min_
Definition: MinObjectPairSelector.h:19