10#include <tracking/trackFindingCDC/findlets/base/Findlet.h>
11#include <tracking/trackFindingCDC/numerics/WithWeight.h>
21 class ModuleParamList;
24 template<
class AFilter>
28 using Object =
typename AFilter::Object;
40 void apply(std::vector<Object>& results, std::vector<Object>& filteredResult)
override;
The Module parameter list class.
Simple findlet for searching the best candidate for a given seed applying the given filter.
std::vector< TrackFindingCDC::WithWeight< Object * > > m_resultsWithWeight
temporary results vector with weights, out of which the overlaps will be build.
typename AFilter::Object Object
The object to filter.
unsigned long m_param_useBestNInSeed
Parameter: In seed mode, use only the best seeds.
bool m_param_enableOverlapResolving
Parameter: Enable overlap.
AFilter m_filter
Subfindlet for filtering.
Interface for a minimal algorithm part that wants to expose some parameters to a module.
OverlapResolver()
Construct this findlet and add the subfindlet as listener.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters of the subfindlet.
void apply(std::vector< Object > &results, std::vector< Object > &filteredResult) override
For each seed, search for the best candidate and return it.
Abstract base class for different kinds of events.