CMS 3D CMS Logo

Public Member Functions | Private Attributes

MassMinSelector Struct Reference

#include <MassMinSelector.h>

List of all members.

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.

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

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

Member Data Documentation

double MassMinSelector::massMin_ [private]

Definition at line 19 of file MassMinSelector.h.

Referenced by operator()().