CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
MassRangeSelector Struct Reference

#include <MassRangeSelector.h>

Public Member Functions

 MassRangeSelector (double massMin, double massMax)
 
template<typename T >
bool operator() (const T &t) const
 

Private Attributes

double massMax_
 
double massMin_
 

Detailed Description

Definition at line 10 of file MassRangeSelector.h.

Constructor & Destructor Documentation

◆ MassRangeSelector()

MassRangeSelector::MassRangeSelector ( double  massMin,
double  massMax 
)
inline

Definition at line 11 of file MassRangeSelector.h.

11  :
12  massMin_( massMin ), massMax_( massMax ) { }

Member Function Documentation

◆ operator()()

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

Definition at line 14 of file MassRangeSelector.h.

14  {
15  double mass = t.mass();
16  return ( mass >= massMin_ && mass <= massMax_ );
17  }

References EgHLTOffHistBins_cfi::mass, massMax_, massMin_, and submitPVValidationJobs::t.

Member Data Documentation

◆ massMax_

double MassRangeSelector::massMax_
private

Definition at line 20 of file MassRangeSelector.h.

Referenced by operator()().

◆ massMin_

double MassRangeSelector::massMin_
private

Definition at line 20 of file MassRangeSelector.h.

Referenced by operator()().

MassRangeSelector::massMax_
double massMax_
Definition: MassRangeSelector.h:20
ZMuMuCategoriesSequences_cff.massMin
massMin
Definition: ZMuMuCategoriesSequences_cff.py:136
MassRangeSelector::massMin_
double massMin_
Definition: MassRangeSelector.h:20
ZMuMuCategoriesSequences_cff.massMax
massMax
Definition: ZMuMuCategoriesSequences_cff.py:137
EgHLTOffHistBins_cfi.mass
mass
Definition: EgHLTOffHistBins_cfi.py:34
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644