CMS 3D CMS Logo

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

#include <PtMaxSelector.h>

Public Member Functions

template<typename T >
bool operator() (const T &t) const
 
 PtMaxSelector (double ptMax)
 

Private Attributes

double ptMax_
 

Detailed Description

Definition at line 10 of file PtMaxSelector.h.

Constructor & Destructor Documentation

◆ PtMaxSelector()

PtMaxSelector::PtMaxSelector ( double  ptMax)
inline

Member Function Documentation

◆ operator()()

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

Definition at line 13 of file PtMaxSelector.h.

References ptMax_, and submitPVValidationJobs::t.

13  {
14  return t.pt() < ptMax_;
15  }

Member Data Documentation

◆ ptMax_

double PtMaxSelector::ptMax_
private

Definition at line 18 of file PtMaxSelector.h.

Referenced by operator()().