Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:31:27

0001 #ifndef DetLayers_DetLessR_H
0002 #define DetLayers_DetLessR_H
0003 
0004 
0005 #warning Please do not use DetLessR.h, cf DetSorting.h in Geometry/CommonDetUnit
0006 
0007 // #include "TrackingTools/DetLayers/interface/GeometricSearchDet.h"
0008 
0009 // /** Comparison operator for Dets based on the radius.
0010 //  */
0011 
0012 
0013 // typedef GeometricSearchDet Det;
0014 
0015 // class DetLessR {
0016 // public:
0017 //   bool operator()( const Det* a, const Det* b) const {
0018 
0019 //     // multiply by 1+epsilon to make it numericaly stable
0020 //     // the epsilon should depend on the scalar precision,
0021 //     // this is just a quick fix!
0022 //     return a->position().perp()*1.000001 < b->position().perp();
0023 //   }
0024 // };
0025 
0026 #endif