/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
TrackingTools/DetLayers/src/DetLessR.h
26 строк
652 B
Giulio Eulisse
Snapshot of CMSSW_6_2_0_pre8.
26 июн 2013, 18:12
26 июн 2013, 18:12
214ab73
Код
Авторство
О чём код?
#ifndef DetLayers_DetLessR_H #define DetLayers_DetLessR_H #warning Please do not use DetLessR.h, cf DetSorting.h in Geometry/CommonDetUnit // #include "TrackingTools/DetLayers/interface/GeometricSearchDet.h" // /** Comparison operator for Dets based on the radius. // */ // typedef GeometricSearchDet Det; // class DetLessR { // public: // bool operator()( const Det* a, const Det* b) const { // // multiply by 1+epsilon to make it numericaly stable // // the epsilon should depend on the scalar precision, // // this is just a quick fix! // return a->position().perp()*1.000001 < b->position().perp(); // } // }; #endif