CMS 3D CMS Logo

Public Member Functions | Private Attributes

PtMinSelector Struct Reference

#include <PtMinSelector.h>

List of all members.

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.

: 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_.

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

Member Data Documentation

double PtMinSelector::ptMin_ [private]

Definition at line 16 of file PtMinSelector.h.

Referenced by operator()().