CMS 3D CMS Logo

MinFunctionSelector< T, fun > Struct Template Reference

#include <PhysicsTools/Utilities/interface/MinFunctionSelector.h>

List of all members.

Public Member Functions

 MinFunctionSelector (double min)
bool operator() (const T &t) const

Private Attributes

double min_


Detailed Description

template<typename T, double(T::*)() const fun>
struct MinFunctionSelector< T, fun >

Definition at line 11 of file MinFunctionSelector.h.


Constructor & Destructor Documentation

template<typename T, double(T::*)() const fun>
MinFunctionSelector< T, fun >::MinFunctionSelector ( double  min  )  [inline]

Definition at line 12 of file MinFunctionSelector.h.

00012                                     : 
00013     min_( min ) { }


Member Function Documentation

template<typename T, double(T::*)() const fun>
bool MinFunctionSelector< T, fun >::operator() ( const T &  t  )  const [inline]

Definition at line 14 of file MinFunctionSelector.h.

References MinFunctionSelector< T, fun >::min_.

00014 { return (t.*fun)() >= min_; }


Member Data Documentation

template<typename T, double(T::*)() const fun>
double MinFunctionSelector< T, fun >::min_ [private]

Definition at line 16 of file MinFunctionSelector.h.

Referenced by MinFunctionSelector< T, fun >::operator()().


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