12 unsigned int idetA =
static_cast<unsigned int>(ida.subdetId());
13 unsigned int idetB =
static_cast<unsigned int>(idb.subdetId());
32 if (!same_det)
return (idetA < idetB);
55 throw cms::Exception(
"TrackingRecHitLessFromGlobalPosition",
"Arguments are not Ok");
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
bool barrelForwardLess(const TrackingRecHit &a, const TrackingRecHit &b) const
const Plane & surface() const
The nominal surface of the GeomDet.
Abs< T >::type abs(const T &t)
bool insideOutLess(const TrackingRecHit &a, const TrackingRecHit &b) const
virtual const GeomDet * idToDet(DetId) const =0
T perp() const
Magnitude of transverse component.
DetId geographicalId() const
const TrackingGeometry * geometry
virtual LocalPoint localPosition() const =0