 |
Belle II Software
release-05-02-19
|
12 #include <tracking/trackFindingCDC/findlets/base/Findlet.h>
14 #include <tracking/trackFindingCDC/collectors/selectors/SingleMatchSelector.h>
15 #include <tracking/trackFindingCDC/findlets/minimal/TrackNormalizer.h>
17 #include <tracking/trackFindingCDC/utilities/WeightedRelation.h>
18 #include <tracking/trackFindingCDC/utilities/HitComperator.h>
27 namespace TrackFindingCDC {
36 class SegmentTrackAdderWithNormalization
37 :
public Findlet<WeightedRelation<CDCTrack, const CDCSegment2D>&, CDCTrack&, const CDCSegment2D> {
41 using Super = Findlet<WeightedRelation<CDCTrack, const CDCSegment2D>&, CDCTrack&,
const CDCSegment2D>;
48 void exposeParameters(ModuleParamList* moduleParamList,
const std::string& prefix)
override;
55 std::vector<CDCTrack>& tracks,
const std::vector<CDCSegment2D>& segment)
override;
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub-findlets.
SingleMatchSelector< CDCTrack, CDCRecoHit3D, HitComperator > m_singleHitSelector
The selector for finding the track each hit should belong to.
Findlet< WeightedRelation< CDCTrack, const CDCSegment2D > &, CDCTrack &, const CDCSegment2D > Super
Type of the base class.
bool m_param_removeUnmatchedSegments
Parameter : Swtich to remove hits in segments that have no matching track from all tracks.
Abstract base class for different kinds of events.
Selector to remove all relations in the list, which share the same collection item - except one in ca...
TrackNormalizer m_trackNormalizer
Findlet for performing the normalization of the tracks afterwards.
std::string getDescription() override
Short description of the findlet.
Type for two related objects with a weight.
void apply(std::vector< WeightedRelation< CDCTrack, const CDCSegment2D >> &relations, std::vector< CDCTrack > &tracks, const std::vector< CDCSegment2D > &segment) override
Apply the findlet.
Findlet for normalizing the track (trajectory) into common requirements (e.g. let it start at the fir...
SegmentTrackAdderWithNormalization()
Constructor for registering the sub-findlets.