Select the m_maximalCandidatesInFlight paths for further processing.
More...
#include <CDCCKFPathSelector.h>
|
| using | IOTypes |
| | Types that should be served to apply on invocation.
|
| |
| using | IOTypes |
| | Types that should be served to apply on invocation.
|
| |
| using | IOVectors |
| | Vector types that should be served to apply on invocation.
|
| |
| using | IOVectors |
| | Vector types that should be served to apply on invocation.
|
| |
|
| void | exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) override |
| | Expose the parameters of the sub findlets.
|
| |
| void | setMaximalCandidatesInFlight (size_t maximalCandidatesInFlight) |
| | Set maximal candidates in flight.
|
| |
| void | apply (std::vector< CDCCKFPath > &newPaths) override |
| | main method of the findlet, out of all paths "newPaths" select the best N=m_maximalCandidatesInFlight
|
| |
| virtual std::string | getDescription () |
| | Brief description of the purpose of the concrete findlet.
|
| |
| virtual std::string | getDescription () |
| | Brief description of the purpose of the concrete findlet.
|
| |
|
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 | beginEvent () override |
| | Receive and dispatch signal for the start of a new event.
|
| |
| 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.
|
| |
| using | ToVector |
| | Short hand for ToRangeImpl.
|
| |
|
| using | Super |
| | Type of the base class.
|
| |
Select the m_maximalCandidatesInFlight paths for further processing.
Definition at line 25 of file CDCCKFPathSelector.h.
◆ IOTypes [1/2]
Types that should be served to apply on invocation.
Definition at line 30 of file Findlet.h.
◆ IOTypes [2/2]
Types that should be served to apply on invocation.
Definition at line 30 of file Findlet.h.
◆ IOVectors [1/2]
Vector types that should be served to apply on invocation.
Definition at line 53 of file Findlet.h.
◆ IOVectors [2/2]
Vector types that should be served to apply on invocation.
Definition at line 53 of file Findlet.h.
◆ Super
◆ ToVector [1/2]
Short hand for ToRangeImpl.
Definition at line 49 of file Findlet.h.
◆ ToVector [2/2]
Short hand for ToRangeImpl.
Definition at line 49 of file Findlet.h.
◆ CDCCKFPathSelector()
◆ 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()
| void apply |
( |
std::vector< CDCCKFPath > & | newPaths | ) |
|
|
inlineoverride |
main method of the findlet, out of all paths "newPaths" select the best N=m_maximalCandidatesInFlight
Definition at line 51 of file CDCCKFPathSelector.h.
52 {
54 return m_filter(std::pair(&lhs, &rhs)) > 0;
55 };
56 std::sort(newPaths.begin(), newPaths.end(), pathComparison);
57
58 TrackingUtilities::only_best_N(newPaths, m_maximalCandidatesInFlight);
59 }
std::vector< CDCCKFState > CDCCKFPath
Shortcut for the collection of CDC CKF-algorithm states.
◆ beginEvent()
Receive and dispatch signal for the start of a new event.
Definition at line 36 of file CompositeProcessingSignalListener.cc.
32{
36 }
37}
void beginEvent() override
Receive and dispatch signal for the start of a new event.
virtual void beginEvent()
Receive signal for the start of a new event.
◆ 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 ) |
|
inlineoverridevirtual |
Expose the parameters of the sub findlets.
Reimplemented from CompositeProcessingSignalListener.
Definition at line 33 of file CDCCKFPathSelector.h.
34 {
35 moduleParamList->addParameter(TrackingUtilities::prefixed(prefix, "maximalCandidatesInFlight"),
36 m_maximalCandidatesInFlight,
37 "Maximal candidates in flight", m_maximalCandidatesInFlight);
38 m_filter.exposeParameters(moduleParamList, prefix);
39 }
◆ getDescription() [1/2]
| virtual std::string getDescription |
( |
| ) |
|
|
inlinevirtualinherited |
Brief description of the purpose of the concrete findlet.
Definition at line 60 of file Findlet.h.
61 {
62 return "(no description)";
63 }
◆ getDescription() [2/2]
| virtual std::string getDescription |
( |
| ) |
|
|
inlinevirtualinherited |
Brief description of the purpose of the concrete findlet.
Definition at line 60 of file Findlet.h.
61 {
62 return "(no description)";
63 }
◆ 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.
◆ setMaximalCandidatesInFlight()
| void setMaximalCandidatesInFlight |
( |
size_t | maximalCandidatesInFlight | ) |
|
|
inline |
Set maximal candidates in flight.
- Parameters
-
| maximalCandidatesInFlight | Maximum number of candidates to keep in flight |
Definition at line 45 of file CDCCKFPathSelector.h.
46 {
47 m_maximalCandidatesInFlight = maximalCandidatesInFlight;
48 }
◆ 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_filter
◆ m_initialized
◆ m_initializedAs
| std::string m_initializedAs |
|
privateinherited |
◆ m_maximalCandidatesInFlight
| size_t m_maximalCandidatesInFlight = 3 |
|
private |
◆ m_subordinaryProcessingSignalListeners
◆ m_terminated
The documentation for this class was generated from the following file: