CMS 3D CMS Logo

FunctionMinSelector< F > Struct Template Reference

#include <PhysicsTools/Utilities/interface/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.

00012                                                 :
00013     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_.

00014                                                     {
00015     return f( t ) >= minCut_;
00016   }


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()().


The documentation for this struct was generated from the following file:
Generated on Tue Jun 9 18:21:03 2009 for CMSSW by  doxygen 1.5.4