bool MuonTrackResidualAnalyzer::RadiusComparatorInOut::operator() |
( |
const PSimHit * |
a, |
|
|
const PSimHit * |
b |
|
) |
| const |
|
inline |
Definition at line 134 of file MuonTrackResidualAnalyzer.h.
References PSimHit::detUnitId(), PSimHit::localPosition(), mag(), and GeomDet::toGlobal().
143 return distA < distB;
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
Local3DPoint localPosition() const
edm::ESHandle< GlobalTrackingGeometry > theTG
const GeomDet * idToDet(DetId) const override
unsigned int detUnitId() const