12 #include <tracking/ckf/cdc/filters/pathPairs/BaseCDCPathPairFilter.h>
13 #include <tracking/ckf/cdc/entities/CDCCKFPath.h>
15 #include <tracking/trackFindingCDC/numerics/Weight.h>
29 const auto& lhs = *pair.first;
30 const auto& rhs = *pair.second;
34 if (longPath->size() < shortPath->size())
36 std::swap(shortPath, longPath);
40 int total = shortPath->size() - 1;
41 for (
const auto& sState : *shortPath)
43 if (sState.isSeed()) {
46 if (std::any_of(longPath->begin(), longPath->end(), [&sState](
auto & lState)
47 {return !lState.isSeed() && sState.getWireHit() == lState.getWireHit();})) {
56 void exposeParameters(ModuleParamList* moduleParamList,
const std::string& prefix)
override
58 moduleParamList->addParameter(TrackFindingCDC::prefixed(prefix,
"minFractionSharedHits"),
60 "Fraction of shared hits to distinguish photon conversion/Bremsstahlung",