8#include <tracking/trackFindingCDC/findlets/combined/TrackFinderSegmentPairAutomaton.h>
10#include <tracking/trackFindingCDC/utilities/Algorithms.h>
12#include <framework/core/ModuleParamList.templateDetails.h>
13#include <framework/core/ModuleParam.h>
16using namespace TrackFindingCDC;
29 const std::string prefix =
"";
31 moduleParamList.
getParameter<
int>(
"SegmentPairRelationOnlyBest").setDefaultValue(1);
41 return "Generates tracks from segments using a cellular automaton built from segment pairs.";
45 const std::string& prefix)
51 m_trackLinker.exposeParameters(moduleParamList, prefixed(prefix,
"TrackRelation"));
66 std::vector<CDCTrack>& tracks)
70 std::vector<const CDCSegmentPair*> segmentPairPtrs =
The Module parameter list class.
void addProcessingSignalListener(ProcessingSignalListener *psl)
void beginEvent() override
void apply(const std::vector< CDCSegment2D > &inputSegments, std::vector< CDCTrack > &tracks) final
Generates the tracks from segments.
TrackOrienter m_trackOrienter
Fixes the direction of flight of tracks by a simple chooseable heuristic.
StoreVectorSwapper< CDCSegmentPair > m_segmentPairSwapper
Puts the internal segment pairs on the DataStore.
WeightedRelationCreator< const CDCSegmentPair, ChooseableSegmentPairRelationFilter > m_segmentPairRelationCreator
Findlet responsible for the creation of segment pairs relations of the CA.
TrackCreatorSingleSegments m_trackCreatorSingleSegments
Creates tracks from left over segments.
void beginEvent() final
Signal the beginning of a new event.
TrackLinker m_trackLinker
Findlet responsible for the linking of tracks.
std::string getDescription() final
Short description of the findlet.
std::vector< WeightedRelation< const CDCSegmentPair > > m_segmentPairRelations
Memory for the axial stereo segment pair relations.
TrackFinderSegmentPairAutomaton()
Constructor registering the subordinary findlets to the processing signal distribution machinery.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
SegmentPairCreator m_segmentPairCreator
Findlet responsible for the creation of segment pairs.
std::vector< CDCTrack > m_preLinkingTracks
Memory for the tracks before linking was applied.
TrackCreatorSegmentPairAutomaton m_trackCreatorSegmentPairAutomaton
Reference to the relation filter to be used to construct the segment pair network.
std::vector< CDCSegmentPair > m_segmentPairs
Memory for the axial stereo segment pairs.
std::vector< CDCTrack > m_orientedTracks
Memory for the tracks after orientation was applied.
ModuleParam< T > & getParameter(const std::string &name) const
Returns a reference to a parameter.
Abstract base class for different kinds of events.