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 {
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:
54
57
60
62 std::vector<Path<const CDCTrack>> m_trackPaths;
63 };
64 }
66}
The Module parameter list class.
Class representing a sequence of three dimensional reconstructed hits.
Definition: CDCTrack.h:41
Convenvience wrapper to setup a Chooseable filter from a specific factory object.
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.
Links tracks based on a filter criterion.
Definition: TrackLinker.h:31
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
std::string getDescription() final
Short description of the findlet.
Definition: TrackLinker.cc:23
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.
Definition: TrackLinker.cc:28
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.
Definition: TrackLinker.cc:18
void apply(const std::vector< CDCTrack > &inputTracks, std::vector< CDCTrack > &outputTracks) final
Main algorithm.
Definition: TrackLinker.cc:34
Findlet that combines geometrical constrained pairs of objects to relations and selects them by the f...
Type for two related objects with a weight.
Abstract base class for different kinds of events.
STL namespace.