Main Page
Namespaces
Classes
Package Documentation
src
TrackingTools
DetLayers
src
DetLessR.h
Go to the documentation of this file.
1
#ifndef DetLayers_DetLessR_H
2
#define DetLayers_DetLessR_H
3
4
5
#warning Please do not use DetLessR.h, cf DetSorting.h in Geometry/CommonDetUnit
6
7
// #include "TrackingTools/DetLayers/interface/GeometricSearchDet.h"
8
9
// /** Comparison operator for Dets based on the radius.
10
// */
11
12
13
// typedef GeometricSearchDet Det;
14
15
// class DetLessR {
16
// public:
17
// bool operator()( const Det* a, const Det* b) const {
18
19
// // multiply by 1+epsilon to make it numericaly stable
20
// // the epsilon should depend on the scalar precision,
21
// // this is just a quick fix!
22
// return a->position().perp()*1.000001 < b->position().perp();
23
// }
24
// };
25
26
#endif
Generated for CMSSW Reference Manual by
1.8.11