bool MuonTrackResidualAnalyzer::RadiusComparatorInOut::operator() |
( |
const PSimHit * |
a, |
|
|
const PSimHit * |
b |
|
) |
| const |
|
inline |
Definition at line 135 of file MuonTrackResidualAnalyzer.h.
References PSimHit::detUnitId(), PSimHit::localPosition(), mag(), and GeomDet::toGlobal().
144 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.
virtual const GeomDet * idToDet(DetId) const
Local3DPoint localPosition() const
edm::ESHandle< GlobalTrackingGeometry > theTG
unsigned int detUnitId() const