CMS 3D CMS Logo

MinNumberSelector Struct Reference

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

List of all members.

Public Member Functions

 MinNumberSelector (unsigned int minNumber)
bool operator() (unsigned int number) const

Private Attributes

unsigned int minNumber_


Detailed Description

Definition at line 10 of file MinNumberSelector.h.


Constructor & Destructor Documentation

MinNumberSelector::MinNumberSelector ( unsigned int  minNumber  )  [inline]

Definition at line 11 of file MinNumberSelector.h.

00011                                             : 
00012     minNumber_(minNumber) { }


Member Function Documentation

bool MinNumberSelector::operator() ( unsigned int  number  )  const [inline]

Definition at line 13 of file MinNumberSelector.h.

References minNumber_.

00013 { return number >= minNumber_; }


Member Data Documentation

unsigned int MinNumberSelector::minNumber_ [private]

Definition at line 16 of file MinNumberSelector.h.

Referenced by operator()().


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