CMS 3D CMS Logo

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

#include <FunctionMinSelector.h>

Public Member Functions

 FunctionMinSelector (double minCut)
 
bool operator() (const typename F::type &t) const
 

Private Attributes

F f
 
double minCut_
 

Detailed Description

template<typename F>
struct FunctionMinSelector< F >

Definition at line 11 of file FunctionMinSelector.h.

Constructor & Destructor Documentation

◆ FunctionMinSelector()

template<typename F >
FunctionMinSelector< F >::FunctionMinSelector ( double  minCut)
inlineexplicit

Definition at line 12 of file FunctionMinSelector.h.

12 : minCut_(minCut) {}

Member Function Documentation

◆ operator()()

template<typename F >
bool FunctionMinSelector< F >::operator() ( const typename F::type t) const
inline

Definition at line 13 of file FunctionMinSelector.h.

13 { return f(t) >= minCut_; }

References FunctionMinSelector< F >::f, FunctionMinSelector< F >::minCut_, and OrderedSet::t.

Member Data Documentation

◆ f

template<typename F >
F FunctionMinSelector< F >::f
private

◆ minCut_

template<typename F >
double FunctionMinSelector< F >::minCut_
private

Definition at line 17 of file FunctionMinSelector.h.

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

FunctionMinSelector::f
F f
Definition: FunctionMinSelector.h:16
OrderedSet.t
t
Definition: OrderedSet.py:90
FunctionMinSelector::minCut_
double minCut_
Definition: FunctionMinSelector.h:17