CMS 3D CMS Logo

Public Member Functions | Private Attributes

FunctionMinSelector< F > Struct Template Reference

#include <FunctionMinSelector.h>

List of all members.

Public Member Functions

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

Private Attributes

f
double minCut_

Detailed Description

template<typename F>
struct FunctionMinSelector< F >

Definition at line 11 of file FunctionMinSelector.h.


Constructor & Destructor Documentation

template<typename F >
FunctionMinSelector< F >::FunctionMinSelector ( double  minCut) [inline, explicit]

Definition at line 12 of file FunctionMinSelector.h.

                                                :
    minCut_( minCut ) { }

Member Function Documentation

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

Definition at line 14 of file FunctionMinSelector.h.

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

                                                    {
    return f( t ) >= minCut_;
  }

Member Data Documentation

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

Definition at line 18 of file FunctionMinSelector.h.

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

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

Definition at line 19 of file FunctionMinSelector.h.

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