14 DetId ida(
a.geographicalId());
15 DetId idb(
b.geographicalId());
17 unsigned int idetA = static_cast<unsigned int>(ida.subdetId());
18 unsigned int idetB = static_cast<unsigned int>(idb.subdetId());
37 return (idetA < idetB);
41 return static_cast<unsigned int>(
geometry->idToDet(ida)->surface().toGlobal(
a.localPosition()).
perp() * 1E7) <
42 static_cast<unsigned int>(
geometry->idToDet(idb)->surface().toGlobal(
b.localPosition()).
perp() * 1E7);
47 return static_cast<unsigned int>(
std::abs(
geometry->idToDet(ida)->surface().toGlobal(
a.localPosition()).
z()) *
49 static_cast<unsigned int>(
std::abs(
geometry->idToDet(idb)->surface().toGlobal(
b.localPosition()).
z()) * 1E7);
63 throw cms::Exception(
"TrackingRecHitLessFromGlobalPosition",
"Arguments are not Ok");
71 DetId ida(
a.geographicalId());
72 DetId idb(
b.geographicalId());
73 return static_cast<unsigned int>(
std::abs(
geometry->idToDet(ida)->surface().toGlobal(
a.localPosition()).
z()) * 1E7) <
74 static_cast<unsigned int>(
std::abs(
geometry->idToDet(idb)->surface().toGlobal(
b.localPosition()).
z()) * 1E7);