Struct TrackStatePathLengthSorter

Struct Documentation

struct Acts::TrackStatePathLengthSorter

Struct that sorts trackstates using their path lengths.

This can be used as a sorter in STL functions.

Public Functions

template<typename identifier_t, typename parameters_t>
bool operator()(const TrackState<identifier_t, parameters_t> &lhs, const TrackState<identifier_t, parameters_t> &rhs)

The sorting operator.

Return

bool

Template Parameters
  • identifier_t: Identifier of the track state

  • parameters_t: The concrete parameters type

Parameters
  • lhs: First track state

  • rhs: Second trackstate