CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
MaxNumberSelector Struct Reference

#include <MaxNumberSelector.h>

Public Member Functions

 MaxNumberSelector (unsigned int maxNumber)
 
bool operator() (unsigned int number) const
 

Private Attributes

unsigned int maxNumber_
 

Detailed Description

Definition at line 10 of file MaxNumberSelector.h.

Constructor & Destructor Documentation

◆ MaxNumberSelector()

MaxNumberSelector::MaxNumberSelector ( unsigned int  maxNumber)
inline

Definition at line 11 of file MaxNumberSelector.h.

Member Function Documentation

◆ operator()()

bool MaxNumberSelector::operator() ( unsigned int  number) const
inline

Definition at line 12 of file MaxNumberSelector.h.

12 { return number <= maxNumber_; }

References maxNumber_, and contentValuesFiles::number.

Member Data Documentation

◆ maxNumber_

unsigned int MaxNumberSelector::maxNumber_
private

Definition at line 15 of file MaxNumberSelector.h.

Referenced by operator()().

MaxNumberSelector::maxNumber_
unsigned int maxNumber_
Definition: MaxNumberSelector.h:15
analysisFilters_cff.maxNumber
maxNumber
Definition: analysisFilters_cff.py:61
contentValuesFiles.number
number
Definition: contentValuesFiles.py:53