Belle II Software development
TrackCreatorSegmentPairAutomaton.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
12#include <tracking/trackFindingCDC/eventdata/tracks/CDCSegmentPair.h>
13
14#include <tracking/trackFindingCDC/ca/MultipassCellularPathFinder.h>
15#include <tracking/trackFindingCDC/ca/Path.h>
16
17#include <tracking/trackFindingCDC/utilities/WeightedRelation.h>
18
19#include <vector>
20
21namespace Belle2 {
26 class ModuleParamList;
27
28 namespace TrackFindingCDC {
29 class CDCSegmentPair;
30 class CDCTrack;
31
34 : public Findlet<const CDCSegmentPair, const WeightedRelation<const CDCSegmentPair>, CDCTrack> {
35
36 private:
39
40 public:
42 std::string getDescription() final;
43
45 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
46
48 void
49 apply(const std::vector<CDCSegmentPair>& inputSegmentPairs,
50 const std::vector<WeightedRelation<const CDCSegmentPair>>& inputSegmentPairRelations,
51 std::vector<CDCTrack>& outputTracks) final;
52
53 private: // cellular automaton
56
57 private: // object pools
60 };
61 }
63}
The Module parameter list class.
Class representing a pair of one reconstructed axial segment and one stereo segment in adjacent super...
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.
Findlet that generates tracks based on a cellular automaton of segment pairs.
std::vector< Path< const CDCSegmentPair > > m_segmentPairPaths
Memory for the segment pair paths generated from the graph.
MultipassCellularPathFinder< const CDCSegmentPair > m_cellularPathFinder
Instance of the cellular automaton path finder.
void apply(const std::vector< CDCSegmentPair > &inputSegmentPairs, const std::vector< WeightedRelation< const CDCSegmentPair > > &inputSegmentPairRelations, std::vector< CDCTrack > &outputTracks) final
Main function of the segment finding by the cellular automaton.
std::string getDescription() final
Short description of the findlet.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Type for two related objects with a weight.
Abstract base class for different kinds of events.
STL namespace.