CMS 3D CMS Logo

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

#include <EtaRangeSelector.h>

Public Member Functions

 EtaRangeSelector (double etaMin, double etaMax)
 
template<typename T >
bool operator() (const T &t) const
 

Private Attributes

double etaMax_
 
double etaMin_
 

Detailed Description

Definition at line 10 of file EtaRangeSelector.h.

Constructor & Destructor Documentation

◆ EtaRangeSelector()

EtaRangeSelector::EtaRangeSelector ( double  etaMin,
double  etaMax 
)
inline

Definition at line 11 of file EtaRangeSelector.h.

Member Function Documentation

◆ operator()()

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

Definition at line 13 of file EtaRangeSelector.h.

13  {
14  double eta = t.eta();
15  return (eta >= etaMin_ && eta <= etaMax_);
16  }

References PVValHelper::eta, etaMax_, etaMin_, and submitPVValidationJobs::t.

Member Data Documentation

◆ etaMax_

double EtaRangeSelector::etaMax_
private

Definition at line 19 of file EtaRangeSelector.h.

Referenced by operator()().

◆ etaMin_

double EtaRangeSelector::etaMin_
private

Definition at line 19 of file EtaRangeSelector.h.

Referenced by operator()().

ALCARECOTkAlBeamHalo_cff.etaMin
etaMin
GeV.
Definition: ALCARECOTkAlBeamHalo_cff.py:32
EtaRangeSelector::etaMax_
double etaMax_
Definition: EtaRangeSelector.h:19
EtaRangeSelector::etaMin_
double etaMin_
Definition: EtaRangeSelector.h:19
PVValHelper::eta
Definition: PVValidationHelpers.h:69
ALCARECOTkAlBeamHalo_cff.etaMax
etaMax
Definition: ALCARECOTkAlBeamHalo_cff.py:33
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644