|  | ATLAS Offline Software
    | 
Function object to sort pairs containing a double and a pointer to a MuonClusterOnTrack. More...
#include <DCMathSegmentMaker.h>
| Public Member Functions | |
| bool | operator() (const std::pair< double, std::unique_ptr< const Trk::MeasurementBase >> &hit1, const std::pair< double, std::unique_ptr< const Trk::MeasurementBase >> &hit2) | 
Function object to sort pairs containing a double and a pointer to a MuonClusterOnTrack.
The object is used to sort MuonClusterOnTrack objects along the trajectory of a give segment. Usage:
std::vector<std::pair<double,const MuonClusterOnTrack*> > myDistClusters;
...
std::sort( myDistClusters.begin(), myDistClusters.end(), SortByDistanceToSegment() );
Definition at line 82 of file DCMathSegmentMaker.h.
| 
 | inline | 
Definition at line 83 of file DCMathSegmentMaker.h.
 1.8.18
 1.8.18