Belle II Software  release-08-01-10
TrackPointComparator Class Reference

Helper class for TrackPoint sorting, used in Track::sort(). More...

#include <Track.h>

Public Member Functions

bool operator() (const TrackPoint *lhs, const TrackPoint *rhs) const
 Comparison operator used in Track::sort(). More...
 

Detailed Description

Helper class for TrackPoint sorting, used in Track::sort().

Definition at line 45 of file Track.h.

Member Function Documentation

◆ operator()()

bool operator() ( const TrackPoint lhs,
const TrackPoint rhs 
) const
inline

Comparison operator used in Track::sort().

Compares sorting parameter.

Definition at line 50 of file Track.h.

50  {
51  return lhs->getSortingParameter() < rhs->getSortingParameter();
52  }

The documentation for this class was generated from the following file: