Marks clusters as background based on a background measure.
More...
#include <ClusterBackgroundDetector.h>
|
using | IOTypes |
| Types that should be served to apply on invocation.
|
|
using | IOVectors |
| Vector types that should be served to apply on invocation.
|
|
|
| ClusterBackgroundDetector () |
| Constructor adding the filter as a subordinary processing signal listener.
|
|
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 | apply (std::vector< CDCWireHitCluster > &outputClusters) final |
| Main algorithm applying the cluster background detection.
|
|
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.
|
|
Marks clusters as background based on a background measure.
Definition at line 28 of file ClusterBackgroundDetector.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.
◆ ClusterBackgroundDetector()
Constructor adding the filter as a subordinary processing signal listener.
Definition at line 19 of file ClusterBackgroundDetector.cc.
20{
22}
ChooseableClusterFilter m_clusterFilter
Chooseable cluster filter to be used to filter background.
void addProcessingSignalListener(ProcessingSignalListener *psl)
◆ 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()
Main algorithm applying the cluster background detection.
Definition at line 35 of file ClusterBackgroundDetector.cc.
36{
37 for (CDCWireHitCluster& cluster : outputClusters) {
39 if (std::isnan(clusterWeight)) {
40
41 cluster.setBackgroundFlag(true);
42 for (const CDCWireHit* wireHit : cluster) {
43 wireHit->getAutomatonCell().setBackgroundFlag();
44 wireHit->getAutomatonCell().setTakenFlag();
45 }
46 }
47 }
48}
◆ 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 ) |
|
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_clusterFilter
◆ m_initialized
◆ m_initializedAs
std::string m_initializedAs |
|
privateinherited |
◆ m_subordinaryProcessingSignalListeners
◆ m_terminated
The documentation for this class was generated from the following files: