Public Member Functions | |
int | operator() (const reco::TransientTrack &a, const reco::TransientTrack &b) |
Private struct to order tracks by momentum
Definition at line 72 of file CrossingPtBasedLinearizationPointFinder.h.
int CrossingPtBasedLinearizationPointFinder::CompareTwoTracks::operator() | ( | const reco::TransientTrack & | a, |
const reco::TransientTrack & | b | ||
) | [inline] |
Definition at line 73 of file CrossingPtBasedLinearizationPointFinder.h.
References reco::TransientTrack::initialFreeState(), PV3DBase< T, PVType, FrameType >::mag(), and FreeTrajectoryState::momentum().
{ return a.initialFreeState().momentum().mag() > b.initialFreeState().momentum().mag(); // return a.p() > b.p(); };