CMS 3D CMS Logo

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

#include <PhiRangeSelector.h>

Public Member Functions

template<typename T >
bool operator() (const T &t) const
 
 PhiRangeSelector (double phiMin, double phiMax)
 

Private Attributes

double phiMax_
 
double phiMin_
 

Detailed Description

Definition at line 6 of file PhiRangeSelector.h.

Constructor & Destructor Documentation

◆ PhiRangeSelector()

PhiRangeSelector::PhiRangeSelector ( double  phiMin,
double  phiMax 
)
inline

Definition at line 7 of file PhiRangeSelector.h.

Member Function Documentation

◆ operator()()

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

Definition at line 9 of file PhiRangeSelector.h.

9  {
10  double phi = t.phi();
11  return (phi >= phiMin_ && phi <= phiMax_);
12  }

References phi, phiMax_, phiMin_, and OrderedSet::t.

Member Data Documentation

◆ phiMax_

double PhiRangeSelector::phiMax_
private

Definition at line 15 of file PhiRangeSelector.h.

Referenced by operator()().

◆ phiMin_

double PhiRangeSelector::phiMin_
private

Definition at line 15 of file PhiRangeSelector.h.

Referenced by operator()().

PhiRangeSelector::phiMax_
double phiMax_
Definition: PhiRangeSelector.h:15
AlignmentTrackSelector_cfi.phiMin
phiMin
Definition: AlignmentTrackSelector_cfi.py:18
AlignmentTrackSelector_cfi.phiMax
phiMax
Definition: AlignmentTrackSelector_cfi.py:17
OrderedSet.t
t
Definition: OrderedSet.py:90
PhiRangeSelector::phiMin_
double phiMin_
Definition: PhiRangeSelector.h:15
DDAxes::phi