8#include <tracking/trackFindingCDC/findlets/minimal/TrackCreatorSegmentTripleAutomaton.h>
10#include <tracking/trackFindingCDC/eventdata/tracks/CDCTrack.h>
11#include <tracking/trackFindingCDC/eventdata/tracks/CDCSegmentTriple.h>
12#include <tracking/trackFindingCDC/eventdata/segments/CDCSegment2D.h>
14#include <tracking/trackFindingCDC/ca/Path.h>
16#include <tracking/trackFindingCDC/utilities/WeightedRelation.h>
19using namespace TrackFindingCDC;
23 return "Constructs tracks by extraction of segment triple paths in a cellular automaton.";
33 std::vector<CDCTrack>& outputTracks)
36 std::vector<const CDCSegmentTriple*> segmentTriplePtrs =
37 as_pointers<const CDCSegmentTriple>(inputSegmentTriples);
46 segmentTriple->getStartSegment()->getAutomatonCell().setTakenFlag();
47 segmentTriple->getMiddleSegment()->getAutomatonCell().setTakenFlag();
48 segmentTriple->getEndSegment()->getAutomatonCell().setTakenFlag();
The Module parameter list class.
Class representing a triple of reconstructed segments in adjacent superlayer.
static CDCTrack condense(const Path< const CDCTrack > &trackPath)
concatenates several tracks from a path
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.