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 ( double  ptMin)
inline

Definition at line 11 of file PtMinSelector.h.

11 : ptMin_(ptMin) {}

Member Function Documentation

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

Definition at line 13 of file PtMinSelector.h.

References ptMin_.

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

Member Data Documentation

double PtMinSelector::ptMin_
private

Definition at line 18 of file PtMinSelector.h.

Referenced by operator()().