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) {}

Member Function Documentation

◆ operator()()

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

Definition at line 13 of file PtMinSelector.h.

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

References ptMin_, and submitPVValidationJobs::t.

Member Data Documentation

◆ ptMin_

double PtMinSelector::ptMin_
private

Definition at line 18 of file PtMinSelector.h.

Referenced by operator()().

ptMin
constexpr float ptMin
Definition: PhotonIDValueMapProducer.cc:155
PtMinSelector::ptMin_
double ptMin_
Definition: PtMinSelector.h:18
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644