CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
MaxSelector< T > Struct Template Reference

#include <MaxSelector.h>

Public Member Functions

 MaxSelector (T max)
 
bool operator() (T t) const
 

Private Attributes

T max_
 

Detailed Description

template<typename T>
struct MaxSelector< T >

Definition at line 11 of file MaxSelector.h.

Constructor & Destructor Documentation

◆ MaxSelector()

template<typename T >
MaxSelector< T >::MaxSelector ( T  max)
inline

Definition at line 12 of file MaxSelector.h.

12 : max_(max) {}

Member Function Documentation

◆ operator()()

template<typename T >
bool MaxSelector< T >::operator() ( T  t) const
inline

Definition at line 13 of file MaxSelector.h.

13 { return t <= max_; }

References MaxSelector< T >::max_, and submitPVValidationJobs::t.

Member Data Documentation

◆ max_

template<typename T >
T MaxSelector< T >::max_
private

Definition at line 16 of file MaxSelector.h.

Referenced by MaxSelector< T >::operator()().

MaxSelector::max_
T max_
Definition: MaxSelector.h:16
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644