10#include <tracking/ckf/cdc/filters/pathPairs/BaseCDCPathPairFilter.h>
12#include <tracking/trackFindingCDC/numerics/Weight.h>
25 const auto& lhs = *pair.first;
26 const auto& rhs = *pair.second;
28 if (lhs.size() > rhs.size() + 2) {
30 }
else if (lhs.size() + 2 < rhs.size()) {
35 return lhs.back().getChi2() < rhs.back().getChi2();
Prefers path with smallest sum dist^2 / length of path.
TrackFindingCDC::Weight operator()(const BaseCDCPathPairFilter::Object &pair) final
Input: pair of paths, returns 1 if pair.first to be selected, 0 otherwise.
Base class for filters on a generic object type.
AObject Object
Type of the object to be analysed.
Abstract base class for different kinds of events.