Public Member Functions | |
LessMag (GlobalPoint point) | |
bool | operator() (const TrajectoryMeasurement &lhs, const TrajectoryMeasurement &rhs) const |
Public Attributes | |
GlobalPoint | thePoint |
Definition at line 213 of file Trajectory.h.
Trajectory::LessMag::LessMag | ( | GlobalPoint | point | ) | [inline] |
bool Trajectory::LessMag::operator() | ( | const TrajectoryMeasurement & | lhs, | |
const TrajectoryMeasurement & | rhs | |||
) | const [inline] |
Definition at line 215 of file Trajectory.h.
References TrajectoryStateOnSurface::globalPosition(), muonGeometry::mag(), thePoint, and TrajectoryMeasurement::updatedState().
00216 { 00217 return (lhs.updatedState().globalPosition() - thePoint).mag() < (rhs.updatedState().globalPosition() -thePoint).mag(); 00218 }