CMS 3D CMS Logo

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

#include <RangeObjectPairSelector.h>

Public Types

typedef F function
 

Public Member Functions

template<typename T1 , typename T2 >
bool operator() (const T1 &t1, const T2 &t2) const
 
 RangeObjectPairSelector (double min, double max)
 
 RangeObjectPairSelector (double min, double max, const F &fun)
 

Private Attributes

F fun_
 
double max_
 
double min_
 

Detailed Description

template<typename F>
struct RangeObjectPairSelector< F >

Definition at line 11 of file RangeObjectPairSelector.h.

Member Typedef Documentation

◆ function

template<typename F >
typedef F RangeObjectPairSelector< F >::function

Definition at line 12 of file RangeObjectPairSelector.h.

Constructor & Destructor Documentation

◆ RangeObjectPairSelector() [1/2]

template<typename F >
RangeObjectPairSelector< F >::RangeObjectPairSelector ( double  min,
double  max,
const F fun 
)
inline

Definition at line 13 of file RangeObjectPairSelector.h.

13 : min_(min), max_(max), fun_(fun) {}

◆ RangeObjectPairSelector() [2/2]

template<typename F >
RangeObjectPairSelector< F >::RangeObjectPairSelector ( double  min,
double  max 
)
inline

Definition at line 14 of file RangeObjectPairSelector.h.

14 : min_(min), max_(max), fun_() {}

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ fun_

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

Definition at line 23 of file RangeObjectPairSelector.h.

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

◆ max_

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

Definition at line 22 of file RangeObjectPairSelector.h.

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

◆ min_

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

Definition at line 22 of file RangeObjectPairSelector.h.

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

RandomServiceHelper.t2
t2
Definition: RandomServiceHelper.py:257
min
T min(T a, T b)
Definition: MathUtil.h:58
DDAxes::x
RandomServiceHelper.t1
t1
Definition: RandomServiceHelper.py:256
RangeObjectPairSelector::max_
double max_
Definition: RangeObjectPairSelector.h:22
RangeObjectPairSelector::min_
double min_
Definition: RangeObjectPairSelector.h:22
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
RangeObjectPairSelector::fun_
F fun_
Definition: RangeObjectPairSelector.h:23