Findlet implementing the segment finding part of the full track finder.
More...
#include <SegmentFinderFacetAutomaton.h>
|
using | IOTypes |
| Types that should be served to apply on invocation.
|
|
using | IOVectors |
| Vector types that should be served to apply on invocation.
|
|
|
| SegmentFinderFacetAutomaton () |
| Constructor registering the subordinary findlets to the processing signal distribution machinery.
|
|
std::string | getDescription () final |
| Short description of the findlet.
|
|
void | exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) final |
| Expose the parameters to a module.
|
|
void | beginEvent () final |
| Signal the beginning of a new event.
|
|
void | apply (std::vector< CDCWireHitCluster > &clusters, std::vector< CDCSegment2D > &outputSegments) final |
| Generates the segment from wire hits.
|
|
virtual void | apply (ToVector< AIOTypes > &... ioVectors)=0 |
| Main function executing the algorithm.
|
|
void | initialize () override |
| Receive and dispatch signal before the start of the event processing.
|
|
void | beginRun () override |
| Receive and dispatch signal for the beginning of a new run.
|
|
void | endRun () override |
| Receive and dispatch signal for the end of the run.
|
|
void | terminate () override |
| Receive and dispatch Signal for termination of the event processing.
|
|
|
using | ToVector |
| Short hand for ToRangeImpl.
|
|
Findlet implementing the segment finding part of the full track finder.
Definition at line 36 of file SegmentFinderFacetAutomaton.h.
◆ IOTypes
Types that should be served to apply on invocation.
Definition at line 30 of file Findlet.h.
◆ IOVectors
Vector types that should be served to apply on invocation.
Definition at line 53 of file Findlet.h.
◆ Super
◆ ToVector
Short hand for ToRangeImpl.
Definition at line 49 of file Findlet.h.
◆ SegmentFinderFacetAutomaton()
Constructor registering the subordinary findlets to the processing signal distribution machinery.
Definition at line 18 of file SegmentFinderFacetAutomaton.cc.
19{
24
28
30
35
36 ModuleParamList moduleParamList;
37 const std::string prefix = "";
39 moduleParamList.
getParameter<std::string>(
"SegmentOrientation").setDefaultValue(
"curling");
40}
void addProcessingSignalListener(ProcessingSignalListener *psl)
SegmentLinker m_segmentLinker
Link segments with close by segments of the same super cluster.
SegmentAliasResolver m_segmentAliasResolver
Resolves ambiguous right left information alias segments and hits.
SegmentOrienter m_segmentOrienter
Adjusts the orientation of the generated segments to a preferred direction of flight.
SegmentFitter m_segmentFitter
Fits the generated segments.
std::vector< WeightedRelation< const CDCFacet > > m_facetRelations
Memory for the generated facet relations.
SegmentCreatorFacetAutomaton m_segmentCreatorFacetAutomaton
Find the segments by composition of facets path from a cellular automaton.
FacetCreator m_facetCreator
Creates the facet (hit triplet) cells of the cellular automaton.
std::vector< CDCFacet > m_facets
Memory for the generated facets.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
WeightedRelationCreator< const CDCFacet, ChooseableFacetRelationFilter > m_facetRelationCreator
Creates the facet (hit triplet) relations of the cellular automaton.
std::vector< CDCSegment2D > m_intermediateSegments
Memory for the reconstructed segments.
std::vector< CDCSegment2D > m_segments
Memory for the reconstructed segments.
StoreVectorSwapper< CDCFacet > m_facetSwapper
Puts the internal facets on the DataStore.
ModuleParam< T > & getParameter(const std::string &name) const
Returns a reference to a parameter.
◆ addProcessingSignalListener()
Register a processing signal listener to be notified.
Definition at line 53 of file CompositeProcessingSignalListener.cc.
56{
58}
Interface for a minimal algorithm part that wants to expose some parameters to a module.
◆ apply()
Generates the segment from wire hits.
Definition at line 70 of file SegmentFinderFacetAutomaton.cc.
71{
72 outputSegments.reserve(200);
73
75
76 std::vector<const CDCFacet*> facetPtrs = as_pointers<const CDCFacet>(
m_facets);
79
82
85
88
92
93
95}
◆ beginEvent()
◆ beginRun()
Receive and dispatch signal for the beginning of a new run.
Definition at line 33 of file CompositeProcessingSignalListener.cc.
24{
28 }
29}
void beginRun() override
Receive and dispatch signal for the beginning of a new run.
virtual void beginRun()
Receive signal for the beginning of a new run.
◆ endRun()
Receive and dispatch signal for the end of the run.
Definition at line 39 of file CompositeProcessingSignalListener.cc.
40{
43 }
45}
void endRun() override
Receive and dispatch signal for the end of the run.
virtual void endRun()
Receive signal for the end of the run.
◆ exposeParameters()
void exposeParameters |
( |
ModuleParamList * | moduleParamList, |
|
|
const std::string & | prefix ) |
|
finalvirtual |
◆ getDescription()
std::string getDescription |
( |
| ) |
|
|
finalvirtual |
◆ getNProcessingSignalListener()
int getNProcessingSignalListener |
( |
| ) |
|
|
protectedinherited |
◆ initialize()
Receive and dispatch signal before the start of the event processing.
Definition at line 30 of file CompositeProcessingSignalListener.cc.
16{
20 }
21}
void initialize() override
Receive and dispatch signal before the start of the event processing.
virtual void initialize()
Receive signal before the start of the event processing.
◆ terminate()
Receive and dispatch Signal for termination of the event processing.
Definition at line 42 of file CompositeProcessingSignalListener.cc.
48{
51 }
53}
void terminate() override
Receive and dispatch Signal for termination of the event processing.
virtual void terminate()
Receive Signal for termination of the event processing.
◆ m_facetCreator
◆ m_facetRelationCreator
◆ m_facetRelations
◆ m_facets
◆ m_facetSwapper
◆ m_initialized
◆ m_initializedAs
std::string m_initializedAs |
|
privateinherited |
◆ m_intermediateSegments
◆ m_segmentAliasResolver
◆ m_segmentCreatorFacetAutomaton
◆ m_segmentFitter
◆ m_segmentLinker
◆ m_segmentOrienter
◆ m_segments
◆ m_subordinaryProcessingSignalListeners
◆ m_terminated
The documentation for this class was generated from the following files: