00001 #ifndef DetLayers_DetLessR_H 00002 #define DetLayers_DetLessR_H 00003 00004 00005 #warning Please do not use DetLessR.h, cf DetSorting.h in Geometry/CommonDetUnit 00006 00007 // #include "TrackingTools/DetLayers/interface/GeometricSearchDet.h" 00008 00009 // /** Comparison operator for Dets based on the radius. 00010 // */ 00011 00012 00013 // typedef GeometricSearchDet Det; 00014 00015 // class DetLessR { 00016 // public: 00017 // bool operator()( const Det* a, const Det* b) const { 00018 00019 // // multiply by 1+epsilon to make it numericaly stable 00020 // // the epsilon should depend on the scalar precision, 00021 // // this is just a quick fix! 00022 // return a->position().perp()*1.000001 < b->position().perp(); 00023 // } 00024 // }; 00025 00026 #endif