Belle II Software development
TrackLinker.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8#pragma once
9
10#include <tracking/trackFindingCDC/findlets/base/Findlet.h>
11#include <tracking/trackFindingCDC/findlets/minimal/WeightedRelationCreator.h>
12
13#include <tracking/trackFindingCDC/filters/trackRelation/ChooseableTrackRelationFilter.h>
14
15#include <tracking/trackFindingCDC/ca/MultipassCellularPathFinder.h>
16
17#include <vector>
18#include <string>
19
20namespace Belle2 {
25
26
27 namespace TrackFindingCDC {
28 class CDCTrack;
29
31 class TrackLinker : public Findlet<const CDCTrack, CDCTrack> {
32
33 private:
36
37 public:
40
42 std::string getDescription() final;
43
45 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
46
47 public:
49 void apply(const std::vector<CDCTrack>& inputTracks, std::vector<CDCTrack>& outputTracks) final;
50
51 private:
53 WeightedRelationCreator<const CDCTrack, ChooseableTrackRelationFilter> m_trackRelationCreator;
54
57
60
63 };
64 }
66}
The Module parameter list class.
Class representing a sequence of three dimensional reconstructed hits.
Definition CDCTrack.h:41
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition Findlet.h:26
Class to combine the run of the cellular automaton and the repeated path extraction.
MultipassCellularPathFinder< const CDCTrack > m_cellularPathFinder
Instance of the cellular automaton path finder.
Definition TrackLinker.h:56
WeightedRelationCreator< const CDCTrack, ChooseableTrackRelationFilter > m_trackRelationCreator
Creator of the track relations for linking.
Definition TrackLinker.h:53
Findlet< const CDCTrack, CDCTrack > Super
Type of the base class.
Definition TrackLinker.h:35
std::string getDescription() final
Short description of the findlet.
std::vector< WeightedRelation< const CDCTrack > > m_trackRelations
Memory for the relations between tracks to be followed on linking.
Definition TrackLinker.h:59
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
std::vector< Path< const CDCTrack > > m_trackPaths
Memory for the track paths generated from the graph.
Definition TrackLinker.h:62
TrackLinker()
Constructor adding the filter as a subordinary processing signal listener.
void apply(const std::vector< CDCTrack > &inputTracks, std::vector< CDCTrack > &outputTracks) final
Main algorithm.
Findlet that combines geometrical constrained pairs of objects to relations and selects them by the f...
Type for two related objects with a weight.
STL class.
Abstract base class for different kinds of events.
STL namespace.