 |
Belle II Software
release-05-01-25
|
12 #include <tracking/trackFindingCDC/findlets/base/Findlet.h>
13 #include <tracking/trackFindingCDC/findlets/minimal/WeightedRelationCreator.h>
15 #include <tracking/trackFindingCDC/filters/segmentRelation/ChooseableSegmentRelationFilter.h>
17 #include <tracking/trackFindingCDC/ca/MultipassCellularPathFinder.h>
18 #include <tracking/trackFindingCDC/utilities/WeightedRelation.h>
29 namespace TrackFindingCDC {
33 class SegmentLinker :
public Findlet<const CDCSegment2D, CDCSegment2D> {
37 using Super = Findlet<const CDCSegment2D, CDCSegment2D>;
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
MultipassCellularPathFinder< const CDCSegment2D > m_cellularPathFinder
Instance of the cellular automaton path finder.
Findlet< const CDCSegment2D, CDCSegment2D > Super
Type of the base class.
Findlet that combines geometrical constrained pairs of objects to relations and selects them by the f...
std::vector< Path< const CDCSegment2D > > m_segment2DPaths
Memory for the segment paths generated from the graph.
Convenvience wrapper to setup a Chooseable filter from a specific factory object.
bool m_param_dealiasLinked
Parameter : Switch to block hits that appear in linked segments such that unlinked reverse and aliase...
WeightedRelationCreator< const CDCSegment2D, ChooseableSegmentRelationFilter > m_segment2DRelationCreator
Creator of the segment relations for linking.
std::string getDescription() final
Short description of the findlet.
Class to combine the run of the cellular automaton and the repeated path extraction.
SegmentLinker()
Constructor adding the filter as a subordinary processing signal listener.
bool m_param_wholeSuperLayer
Parameter : Switch to activate segment linking in the whole superlayer instead of only the super clus...
void apply(const std::vector< CDCSegment2D > &inputSegment2Ds, std::vector< CDCSegment2D > &outputSegment2Ds) final
Main algorithm.
Abstract base class for different kinds of events.
std::vector< WeightedRelation< const CDCSegment2D > > m_segment2DRelations
Memory for the relations between segments to be followed on linking.
A reconstructed sequence of two dimensional hits in one super layer.
Type for two related objects with a weight.
The Module parameter list class.
bool m_param_onlyLinked
Parameter : Switch to construct only segments that have a linked partner.