#include <SortSegBySizeAndChi2.h>
Definition at line 12 of file SortSegBySizeAndChi2.h.
◆ operator()()
Definition at line 13 of file SortSegBySizeAndChi2.h.
15 if (seg1.hasT0Shift() && !seg2.hasT0Shift())
17 else if (!seg1.hasT0Shift() && seg2.hasT0Shift())
21 if (seg1.hitsOnTrack() > seg2.hitsOnTrack())
23 else if (seg1.hitsOnTrack() < seg2.hitsOnTrack())
27 if (seg1.emptyTubes().size() < seg2.emptyTubes().size())
29 else if (seg1.emptyTubes().size() > seg2.emptyTubes().size())
33 if (seg1.clusterLayers() > 0 && seg2.clusterLayers() == 0)
return true;
34 if (seg1.clusterLayers() == 0 && seg2.clusterLayers() > 0)
return false;
37 if (seg1.deltas() < seg2.deltas())
39 else if (seg1.deltas() > seg2.deltas())
43 return seg1.chi2() < seg2.chi2();
The documentation for this struct was generated from the following file: