test
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
MassMinSelector Struct Reference

#include <MassMinSelector.h>

Public Member Functions

 MassMinSelector (double massMin)
 
template<typename T >
bool operator() (const T &t) const
 

Private Attributes

double massMin_
 

Detailed Description

Definition at line 10 of file MassMinSelector.h.

Constructor & Destructor Documentation

MassMinSelector::MassMinSelector ( double  massMin)
inline

Definition at line 11 of file MassMinSelector.h.

11  :
12  massMin_( massMin ) { }

Member Function Documentation

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

Definition at line 14 of file MassMinSelector.h.

References massMin_.

14  {
15  return t.mass() >= massMin_;
16  }

Member Data Documentation

double MassMinSelector::massMin_
private

Definition at line 19 of file MassMinSelector.h.

Referenced by operator()().