CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/TrackingTools/DetLayers/src/DetBelowR.h

Go to the documentation of this file.
00001 #ifndef DetLayers_DetBelowR_H
00002 #define DetLayers_DetBelowR_H
00003 
00004 #include "TrackingTools/DetLayers/interface/GeometricSearchDet.h"
00005 
00008 typedef GeometricSearchDet Det;
00009 
00010 class DetBelowR {
00011 public:
00012   DetBelowR( double v) : val(v) {}
00013   bool operator()( const Det* a) const { return a->position().perp() < val;}
00014 private:
00015   double val;
00016 };
00017 
00018 #endif