Findlet for storing in mdsts some segment-based information per event.
More...
#include <CDCTrackingEventLevelMdstInfoFiller.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.
|
|
|
std::string | getDescription () final |
| Getter for the module description.
|
|
void | initialize () final |
| Called at the beginning of the event processing.
|
|
void | apply (const std::vector< CDCSegment2D > &inputSegment2Ds) final |
| Main method to make the heavy lifting.
|
|
virtual void | apply (ToVector< AIOTypes > &... ioVectors)=0 |
| Main function executing the algorithm.
|
|
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.
|
|
virtual void | exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) |
| Expose the set of parameters of the filter to the module parameter list.
|
|
|
using | ToVector |
| Short hand for ToRangeImpl.
|
|
using | ToVector |
| Short hand for ToRangeImpl.
|
|
Findlet for storing in mdsts some segment-based information per event.
Definition at line 55 of file CDCTrackingEventLevelMdstInfoFiller.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.
◆ 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 |
( |
const std::vector< CDCSegment2D > & | inputSegment2Ds | ) |
|
|
final |
Main method to make the heavy lifting.
Definition at line 73 of file CDCTrackingEventLevelMdstInfoFiller.cc.
74{
75
76 int nTaken = 0;
77 int nBg = 0;
78 for (CDCSegment2D const& seg : inputWireHitSegments) {
79 AutomatonCell const& a_cell = seg.getAutomatonCell();
82 }
83
85 B2DEBUG(20, "Total number of segments =" << inputWireHitSegments.size() << " Taken " << nTaken << " BG " << nBg);
86}
bool hasBackgroundFlag() const
Gets the current state of the do not use flag marker flag.
bool hasTakenFlag() const
Gets the current state of the taken marker flag.
StoreObjPtr< EventLevelTrackingInfo > m_eventLevelTrackingInfo
Access to the EventLevelTrackingInfo object in the datastore.
◆ 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()
virtual void exposeParameters |
( |
ModuleParamList * | moduleParamList, |
|
|
const std::string & | prefix ) |
|
inlinevirtualinherited |
Expose the set of parameters of the filter to the module parameter list.
- Parameters
-
moduleParamList | Module parameter list to add the new parameters to |
prefix | Prefix (or sometimes postfix) to be added to all nely added parameters. |
Definition at line 47 of file CompositeProcessingSignalListener.h.
◆ getDescription()
std::string getDescription |
( |
| ) |
|
|
finalvirtual |
◆ getNProcessingSignalListener()
int getNProcessingSignalListener |
( |
| ) |
|
|
protectedinherited |
◆ initialize()
◆ 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_eventLevelTrackingInfo
◆ m_initialized
◆ m_initializedAs
std::string m_initializedAs |
|
privateinherited |
◆ m_subordinaryProcessingSignalListeners
◆ m_terminated
The documentation for this class was generated from the following files: