#include <SortSegBySizeAndChi2.h>
Definition at line 47 of file SortSegBySizeAndChi2.h.
◆ operator()()
Definition at line 48 of file SortSegBySizeAndChi2.h.
50 if (seg1.hasT0Shift() && !seg2.hasT0Shift())
52 else if (!seg1.hasT0Shift() && seg2.hasT0Shift())
55 unsigned int nhits1 = seg1.hitsOnTrack() + seg1.clusterLayers();
56 unsigned int nhits2 = seg2.hitsOnTrack() + seg2.clusterLayers();
61 else if (nhits1 < nhits2)
65 if (seg1.emptyTubes().size() < seg2.emptyTubes().size())
67 else if (seg1.emptyTubes().size() > seg2.emptyTubes().size())
71 return seg1.chi2() < seg2.chi2();
The documentation for this struct was generated from the following file: