10#include <tracking/vxdHoughTracking/findlets/OnHitApplier.dcl.h>
11#include <tracking/trackFindingCDC/numerics/WithWeight.h>
12#include <tracking/trackFindingCDC/numerics/Weight.h>
22 class ModuleParamList;
24 namespace vxdHoughTracking {
33 template <
class AHit,
class AFilter>
The Module parameter list class.
A mixin class to attach a weight to an object.
Specialisation of the OnHitApplier, which (a) uses a filter for the () operator, which is configurabl...
typename Super::Object Object
The object to filer.
int m_useNHits
Parameter how many objects should pass maximal.
void apply(const std::vector< TrackFindingCDC::WithWeight< const AHit * > > ¤tPath, std::vector< TrackFindingCDC::WithWeight< AHit * > > &childHits) override
Apply the filter to each pair of hits and current path and let only pass the best N hits.
TrackFindingCDC::Weight operator()(const Object &object) override
Copy the filter operator to this method.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the subfindlet.
AFilter m_filter
Filter to decide on the hits.
LimitedOnHitApplier()
Constructor adding the findlet as a listener.
Helper findlet which applies its () operator to all pairs of path and hit with all hits in the given ...
std::pair< const std::vector< TrackFindingCDC::WithWeight< const AHit * > >, AHit * > Object
The object this filter refers to.
Abstract base class for different kinds of events.