8#include <tracking/trackFindingCDC/findlets/combined/TrackFinderSegmentTripleAutomaton.h>
10#include <tracking/trackFindingCDC/utilities/Algorithms.h>
13using namespace TrackFindingCDC;
35 return "Generates tracks from segments using a cellular automaton built from segment triples.";
39 const std::string& prefix)
62 std::vector<CDCTrack>& tracks)
68 std::vector<const CDCSegmentTriple*> segmentTriplePtrs =
The Module parameter list class.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
void apply(const std::vector< CDCSegment2D > &inputSegments, std::vector< CDCAxialSegmentPair > &axialSegmentPairs) final
Main method constructing pairs in adjacent super layers.
void addProcessingSignalListener(ProcessingSignalListener *psl)
Register a processing signal listener to be notified.
void beginEvent() override
Receive and dispatch signal for the start of a new event.
void apply(const std::vector< CDCSegment2D > &inputSegments, const std::vector< CDCAxialSegmentPair > &inputAxialSegmentPairs, std::vector< CDCSegmentTriple > &segmentTriples) final
Main method constructing pairs in adjacent super layers.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
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.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
void apply(const std::vector< CDCSegment2D > &segments, std::vector< CDCTrack > &tracks) final
Main algorithm.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
StoreVectorSwapper< CDCSegmentTriple > m_segmentTripleSwapper
Helper to swap the local segment triples out to the DataStore.
void apply(const std::vector< CDCSegment2D > &inputSegments, std::vector< CDCTrack > &tracks) final
Generates the tracks.
TrackOrienter m_trackOrienter
Fixes the direction of flight of tracks by a simple chooseable heuristic.
TrackCreatorSingleSegments m_trackCreatorSingleSegments
Creates tracks from left over segments.
TrackCreatorSegmentTripleAutomaton m_trackCreatorSegmentTripleAutomaton
Instance of the cellular automaton creating creating tracks over segment triple.
void beginEvent() final
Signal the beginning of a new event.
TrackLinker m_trackLinker
Findlet responsible for the linking of tracks.
AxialSegmentPairCreator m_axialSegmentPairCreator
Instance of the axial to axial segment pair creator.
std::string getDescription() final
Short description of the findlet.
SegmentTripleCreator m_segmentTripleCreator
Instance of the segment triple creator.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
std::vector< CDCTrack > m_preLinkingTracks
Memory for the tracks before linking was applied.
std::vector< CDCAxialSegmentPair > m_axialSegmentPairs
Memory for the axial to axial segment pairs.
TrackFinderSegmentTripleAutomaton()
Constructor registering the subordinary findlets to the processing signal distribution machinery.
std::vector< WeightedRelation< const CDCSegmentTriple > > m_segmentTripleRelations
Memory for the segment triple relations.
WeightedRelationCreator< const CDCSegmentTriple, ChooseableSegmentTripleRelationFilter > m_segmentTripleRelationCreator
Instance of the segment triple relation creator.
std::vector< CDCSegmentTriple > m_segmentTriples
Memory for the segment triples.
std::vector< CDCTrack > m_orientedTracks
Memory for the tracks after orientation was applied.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
void apply(const std::vector< CDCTrack > &inputTracks, std::vector< CDCTrack > &outputTracks) final
Main algorithm.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
void apply(const std::vector< CDCTrack > &inputTracks, std::vector< CDCTrack > &outputTracks) final
Main algorithm applying the adjustment of the orientation.
Abstract base class for different kinds of events.