10#include <tracking/trackFindingCDC/findlets/base/Findlet.h>
11#include <tracking/trackFindingCDC/utilities/WeightedRelation.h>
21 class ModuleParamList;
24 template<
class AState,
class ASeedRelationFilter,
class AHitRelationFilter = ASeedRelationFilter>
40 void apply(std::vector<AState>& seedStates, std::vector<AState>& states,
Findlet for applying filters for creating hit-hit and hit-seed relations.
bool m_onlyUseHitStatesRelatedToSeeds
Only use subset of hits already related to the seeds to reduce combinatorics as the "FromState".
ASeedRelationFilter m_seedFilter
Subfindlet for the relation checking between seed and hits.
AHitRelationFilter m_hitFilter
Subfindlet for the relation checking between hits and hits.
bool m_onlyCombineRelatedHitStates
Only use subset of hits already related to the seeds to reduce combinatorics as "FromState" and as "T...
The Module parameter list class.
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Type for two related objects with a weight.
CKFRelationCreator()
Construct this findlet and add the subfindlet as listener.
~CKFRelationCreator()
Default destructor.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters of the subfindlet.
void apply(std::vector< AState > &seedStates, std::vector< AState > &states, std::vector< TrackFindingCDC::WeightedRelation< AState > > &relations) override
Apply both filters for creating state-hit and hit-hit relations.
Abstract base class for different kinds of events.