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