Belle II Software development
CompositeProcessingSignalListener.cc
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8#include <tracking/trackFindingCDC/utilities/CompositeProcessingSignalListener.h>
9
10#include <tracking/trackFindingCDC/utilities/ReversedRange.h>
11
12using namespace Belle2;
13using namespace TrackFindingCDC;
14
16{
19 psl->initialize();
20 }
21}
22
24{
27 psl->beginRun();
28 }
29}
30
32{
35 psl->beginEvent();
36 }
37}
38
40{
42 psl->endRun();
43 }
45}
46
48{
50 psl->terminate();
51 }
53}
54
56{
58}
59
61{
63}
void initialize() override
Receive and dispatch signal before the start of the event processing.
int getNProcessingSignalListener()
Get the number of currently registered listeners.
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.
void beginRun() override
Receive and dispatch signal for the beginning of a new run.
void addProcessingSignalListener(ProcessingSignalListener *psl)
Register a processing signal listener to be notified.
void beginEvent() override
Receive and dispatch signal for the start of a new event.
std::vector< ProcessingSignalListener * > m_subordinaryProcessingSignalListeners
References to subordinary signal processing listener contained in this findlet.
Interface for an algorithm part that needs to receive the module processing signals.
virtual void beginEvent()
Receive signal for the start of a new event.
virtual void initialize()
Receive signal before the start of the event processing.
virtual void beginRun()
Receive signal for the beginning of a new run.
virtual void terminate()
Receive Signal for termination of the event processing.
virtual void endRun()
Receive signal for the end of the run.
Abstract base class for different kinds of events.