10#include <tracking/trackFindingCDC/findlets/base/Findlet.h>
11#include <tracking/trackFindingCDC/filters/base/RelationFilterUtil.h>
12#include <tracking/trackFindingCDC/utilities/WeightedRelation.h>
13#include <tracking/trackFindingCDC/utilities/StringManipulation.h>
14#include <framework/core/ModuleParamList.h>
24 namespace vxdHoughTracking {
27 template<
class AHit,
class ARelationFilter>
45 m_relationFilter.exposeParameters(moduleParamList, TrackFindingCDC::prefixed(
"relation", prefix));
49 void apply(std::vector<AHit*>& hits,
The Module parameter list class.
void addProcessingSignalListener(ProcessingSignalListener *psl)
Register a processing signal listener to be notified.
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Type for two related objects with a weight.
Findlet for applying filters for creating hit-hit relations in each track candidate.
~RelationCreator()=default
Default destructor.
RelationCreator()
Construct this findlet and add the subfindlet as listener.
void apply(std::vector< AHit * > &hits, std::vector< TrackFindingCDC::WeightedRelation< AHit > > &relations) override
Apply both filters for creating state-hit and hit-hit relations.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters of the subfindlet.
ARelationFilter m_relationFilter
Subfindlet for the relation checking between seed and hits.
Abstract base class for different kinds of events.
static void appendUsing(ARelationFilter &relationFilter, const std::vector< AObject * > &froms, const std::vector< AObject * > &tos, std::vector< WeightedRelation< AObject > > &weightedRelations, unsigned int maximumNumberOfRelations=std::numeric_limits< unsigned int >::max())
Appends relations between elements in the given AItems using the ARelationFilter.