CMS 3D CMS Logo

PhiRangeSelector Struct Reference

#include <Calibration/Tools/interface/PhiRangeSelector.h>

List of all members.

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 ( double  phiMin,
double  phiMax 
) [inline]

Definition at line 7 of file PhiRangeSelector.h.

00007                                                    : 
00008     phiMin_( phiMin ), phiMax_( phiMax ) { }


Member Function Documentation

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

Definition at line 10 of file PhiRangeSelector.h.

References phi, phiMax_, and phiMin_.

00010                                        { 
00011     double phi = t.phi();
00012     return ( phi >= phiMin_ && phi <= phiMax_ ); 
00013   }


Member Data Documentation

double PhiRangeSelector::phiMax_ [private]

Definition at line 15 of file PhiRangeSelector.h.

Referenced by operator()().

double PhiRangeSelector::phiMin_ [private]

Definition at line 15 of file PhiRangeSelector.h.

Referenced by operator()().


The documentation for this struct was generated from the following file:
Generated on Tue Jun 9 18:29:53 2009 for CMSSW by  doxygen 1.5.4