10#include <tracking/trackFindingCDC/findlets/base/Findlet.h>
12#include <tracking/trackFindingCDC/collectors/selectors/SingleMatchSelector.h>
13#include <tracking/trackFindingCDC/findlets/minimal/TrackNormalizer.h>
15#include <tracking/trackFindingCDC/utilities/WeightedRelation.h>
16#include <tracking/trackFindingCDC/utilities/HitComperator.h>
25 namespace TrackFindingCDC {
35 :
public Findlet<WeightedRelation<CDCTrack, const CDCSegment2D>&, CDCTrack&, const CDCSegment2D> {
53 std::vector<CDCTrack>& tracks,
const std::vector<CDCSegment2D>& segment)
override;
The Module parameter list class.
A reconstructed sequence of two dimensional hits in one super layer.
Class representing a sequence of three dimensional reconstructed hits.
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Add the matched segments to the tracks and normalize the tracks afterwards.
void apply(std::vector< WeightedRelation< CDCTrack, const CDCSegment2D > > &relations, std::vector< CDCTrack > &tracks, const std::vector< CDCSegment2D > &segment) override
Apply the findlet.
std::string getDescription() override
Short description of the findlet.
TrackNormalizer m_trackNormalizer
Findlet for performing the normalization of the tracks afterwards.
SingleMatchSelector< CDCTrack, CDCRecoHit3D, HitComperator > m_singleHitSelector
The selector for finding the track each hit should belong to.
bool m_param_removeUnmatchedSegments
Parameter : Switch to remove hits in segments that have no matching track from all tracks.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub-findlets.
SegmentTrackAdderWithNormalization()
Constructor for registering the sub-findlets.
Selector to remove all relations in the list, which share the same collection item - except one in ca...
Findlet for normalizing the track (trajectory) into common requirements (e.g. let it start at the fir...
Type for two related objects with a weight.
Abstract base class for different kinds of events.