ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::TrackStatePathLengthSorter Struct Reference

#include <acts/blob/master/Core/include/Acts/EventData/TrackStateSorters.hpp>

Public Member Functions

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

Detailed Description

Struct that sorts trackstates using their path lengths. This can be used as a sorter in STL functions.

Definition at line 16 of file TrackStateSorters.hpp.

View newest version in sPHENIX GitHub at line 16 of file TrackStateSorters.hpp

Member Function Documentation

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

The sorting operator

Template Parameters
identifier_tIdentifier of the track state
parameters_tThe concrete parameters type
Parameters
lhsFirst track state
rhsSecond trackstate
Returns
bool

Definition at line 27 of file TrackStateSorters.hpp.

View newest version in sPHENIX GitHub at line 27 of file TrackStateSorters.hpp

References Acts::TrackState< source_link_t, parameters_t >::parameter, and Acts::TrackState< source_link_t, parameters_t >::pathLength.


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