CMS 3D CMS Logo

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

#include <PtMinSelector.h>

Public Member Functions

template<typename T >
bool operator() (const T &t) const
 
 PtMinSelector (double ptMin)
 

Private Attributes

double ptMin_
 

Detailed Description

Definition at line 10 of file PtMinSelector.h.

Constructor & Destructor Documentation

◆ PtMinSelector()

PtMinSelector::PtMinSelector ( double  ptMin)
inline

Definition at line 11 of file PtMinSelector.h.

11 : ptMin_(ptMin) {}
constexpr float ptMin

Member Function Documentation

◆ operator()()

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

Definition at line 13 of file PtMinSelector.h.

References ptMin_, and submitPVValidationJobs::t.

13  {
14  return t.pt() >= ptMin_;
15  }

Member Data Documentation

◆ ptMin_

double PtMinSelector::ptMin_
private

Definition at line 18 of file PtMinSelector.h.

Referenced by operator()().