Belle II Software development
TrackCreatorSegmentTripleAutomaton.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/CDCSegmentTriple.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 CDCSegmentTriple;
30 class CDCTrack;
31
34 : public Findlet<const CDCSegmentTriple, const WeightedRelation<const CDCSegmentTriple>, 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 apply(const std::vector<CDCSegmentTriple>& inputSegmentTriples,
49 const std::vector<WeightedRelation<const CDCSegmentTriple>>& inputSegmentTripleRelations,
50 std::vector<CDCTrack>& outputTracks) final;
51
52 private: // cellular automaton
55
56 private: // object pools
59 };
60 }
62}
The Module parameter list class.
Class representing a triple of reconstructed segments in adjacent superlayer.
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 triples.
std::vector< Path< const CDCSegmentTriple > > m_segmentTriplePaths
Memory for the segment triple paths generated from the graph.
void apply(const std::vector< CDCSegmentTriple > &inputSegmentTriples, const std::vector< WeightedRelation< const CDCSegmentTriple > > &inputSegmentTripleRelations, std::vector< CDCTrack > &outputTracks) final
Main function of the segment finding by the cellular automaton.
std::string getDescription() final
Short description of the findlet.
MultipassCellularPathFinder< const CDCSegmentTriple > m_cellularPathFinder
Instance of the cellular automaton path finder.
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.