CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 { return t.pt() >= ptMin_; }

Member Data Documentation

double PtMinSelector::ptMin_
private

Definition at line 16 of file PtMinSelector.h.

Referenced by operator()().