Belle II Software development
CompositeProcessingSignalListener Class Reference

Partial implementation for an algorithm part that wants to dispatch processing signals to subobjects. More...

#include <CompositeProcessingSignalListener.h>

Inheritance diagram for CompositeProcessingSignalListener:
ProcessingSignalListener BaseVarSet< AVarNames::Object > BaseVarSet< Relation< const ABaseVarSet::Object > > BaseVarSet< FirstType< AVarSets... >::Object > BaseVarSet< Object > Filter< std::pair< const std::vector< TrackFindingCDC::WithWeight< const AState * > >, AState * > > Filter< Relation< CKFToPXDState > > Filter< Relation< CKFToSVDState > > Filter< Relation< const CellularRecoTrack > > Filter< ATruthVarSet::Object > Filter< CDCSegmentPair > Filter< Relation< const CDCFacet > > Filter< Relation< const CDCSegmentPair > > Filter< Relation< const CDCSegment2D > > Filter< Relation< const CDCSegmentTriple > > Filter< Relation< const CDCTrack > > Filter< Relation< CDCWireHit > > Filter< AVarSet::Object > Filter< Relation< AObject > > Filter< CDCSegmentTriple > Filter< Relation< VXDHoughState > > Findlet< AIOTypes... > Findlet< RecoTrack * > Findlet< CDCCKFResult > Findlet< CDCCKFPath > Findlet< const CDCCKFPath, CDCCKFResult > Findlet< const CDCCKFResult > Findlet< RecoTrack *const, CDCCKFPath > Findlet< CDCCKFState, const CDCCKFState, const TrackFindingCDC::CDCWireHit *const > Findlet< const CDCCKFState, CDCCKFState > Findlet< AState, AState, TrackFindingCDC::WeightedRelation< AState > > Findlet< const TrackFindingCDC::CDCWireHit > Findlet<> Findlet< const SVDCluster, const SVDCluster, std::pair< VxdID, std::pair< long, long > >, std::pair< VxdID, std::pair< long, long > > > Findlet< const DATCONSVDDigit, SVDCluster > Findlet< const std::pair< VxdID, std::pair< long, long > >, std::pair< double, double > > Findlet< const TrackFindingCDC::WithWeight< const AState * >, TrackFindingCDC::WithWeight< AState * > > Findlet< AFilter::Object, AFilter::Object > Findlet< const std::pair< VxdID, long >, const std::pair< VxdID, long > > Findlet< const CKFToSVDResult, TrackFindingCDC::WeightedRelation< const RecoTrack, const RecoTrack > > Findlet< const TrackFindingCDC::WeightedRelation< const RecoTrack, const RecoTrack > > Findlet< CKFToSVDState, CKFToSVDState, TrackFindingCDC::WeightedRelation< CKFToSVDState > > Findlet< AResult > Findlet< DATCONSVDDigit, DATCONSVDDigit > Findlet< const SpacePoint * > Findlet< const AResult, const SpacePoint *const > Findlet< CDCCKFPath, const TrackFindingCDC::CDCWireHit *const > Findlet< AnObject *const, AState > Findlet< RecoTrack *const, AState > Findlet< RecoTrack *, RecoTrack * > Findlet< const std::pair< double, double >, const std::pair< double, double >, std::pair< VxdID, long >, std::pair< VxdID, long > > Findlet< WeightedRelation< ACollectorItem, const ACollectionItem > & > Findlet< CDCWireHit & > Findlet< const CDCWireHit, const CDCTrack > Findlet< const CDCSegment2D, CDCAxialSegmentPair > Findlet< const ECLCluster *const, const CDCWireHit *const, CDCTrack > Findlet< const CDCWireHit, CDCTrack > Findlet< const CDCWireHit *const, CDCTrack > Findlet< const CDCSegment2D, CDCTrack > Findlet< CDCTrack &, const CDCWireHit *const > Findlet< WeightedRelation< ACollectorItem, const ACollectionItem > > Findlet< CDCTrack & > Findlet< const CDCWireHit > Findlet< const CDCSegment2D > Findlet< CDCWireHitCluster & > Findlet< CDCWireHit &, CDCWireHitCluster > Findlet< CDCWireHit &, CDCWireHitCluster, CDCWireHitCluster > Findlet< const CDCWireHitCluster, CDCWireHitCluster > Findlet< ACellHolder *const, WeightedRelation< ACellHolder > const, std::vector< ACellHolder * > > Findlet< const CDCWireHitCluster, CDCFacet > Findlet< ACollectorItem, const ACollectionItem, WeightedRelation< ACollectorItem, const ACollectionItem > > Findlet< CDCWireHit &, CDCTrack & > Findlet< CDCWireHit &, CDCRLWireHit > Findlet< CDCSegment2D & > Findlet< const CDCFacet, const WeightedRelation< const CDCFacet >, CDCSegment2D > Findlet< const CDCWireHit, CDCSegment2D > Findlet< CDCWireHitCluster &, CDCSegment2D > Findlet< const CDCSegment2D, CDCSegment2D > Findlet< const CDCSegment2D, CDCSegmentPair > Findlet< WeightedRelation< CDCTrack, const CDCSegment2D > &, CDCTrack &, const CDCSegment2D > Findlet< CDCSegment2D &, CDCTrack & > Findlet< const CDCSegment2D, const CDCAxialSegmentPair, CDCSegmentTriple > Findlet< WeightedRelation< CDCTrack, const CDCRLWireHit > & > Findlet< CDCTrack, const CDCRLWireHit, WeightedRelation< CDCTrack, const CDCRLWireHit > > Findlet< IOType * > Findlet< IOType > Findlet< Belle2::TrackFindingCDC::CDCWireHit *const, WeightedRelation< Belle2::TrackFindingCDC::CDCWireHit > const, Belle2::TrackFindingCDC::CDCWireHitCluster > Findlet< const CDCTrack, const CDCTrack, CDCTrack > Findlet< const CDCSegmentPair, const WeightedRelation< const CDCSegmentPair >, CDCTrack > Findlet< const CDCSegmentTriple, const WeightedRelation< const CDCSegmentTriple >, CDCTrack > Findlet< const CDCSegment2D, CDCTrack & > Findlet< const CDCTrack, CDCTrack > Findlet< const AState *const, const Relation< AState >, std::vector< const AState * > > Findlet< AObject *const, WeightedRelation< AObject > > Findlet< const AState *const, const WeightedRelation< AState >, std::vector< const AState * > > Findlet< CDCWireHit > Findlet< const AState, AState, const TrackFindingCDC::WeightedRelation< AState >, AResult > Findlet< VXDHoughState, const VxdID, VXDHoughState * > Findlet< VXDHoughState, std::vector< VXDHoughState * > > Findlet< const TrackFindingCDC::WithWeight< const AHit * >, TrackFindingCDC::WithWeight< AHit * > > Findlet< const SpacePointTrackCand > Findlet< std::vector< AHit * >, SpacePointTrackCand > Findlet< SpacePointTrackCand, const SpacePoint *const > Findlet< AHit *, TrackFindingCDC::WeightedRelation< AHit > > Findlet< AHit *, const TrackFindingCDC::WeightedRelation< AHit >, AResult > Findlet< const SpacePoint *, VXDHoughState > Findlet< SpacePointTrackCand > Findlet< SpacePointTrackCand, SpacePointTrackCand > Findlet< RecoTrack *const, Belle2::CKFToPXDState > Findlet< const Belle2::SpacePoint *const, Belle2::CKFToPXDState > Findlet< Belle2::CKFToPXDState, Belle2::CKFToPXDState, TrackFindingCDC::WeightedRelation< Belle2::CKFToPXDState > > Findlet< const Belle2::CKFToPXDState, Belle2::CKFToPXDState, const TrackFindingCDC::WeightedRelation< Belle2::CKFToPXDState >, Belle2::CKFToPXDResult > Findlet< const Belle2::CKFToPXDResult, const SpacePoint *const > Findlet< Belle2::CKFToPXDResult > Findlet< RecoTrack *const, Belle2::CKFToSVDState > Findlet< const Belle2::SpacePoint *const, Belle2::CKFToSVDState > Findlet< Belle2::CKFToSVDState, Belle2::CKFToSVDState, TrackFindingCDC::WeightedRelation< Belle2::CKFToSVDState > > Findlet< const Belle2::CKFToSVDState, Belle2::CKFToSVDState, const TrackFindingCDC::WeightedRelation< Belle2::CKFToSVDState >, Belle2::CKFToSVDResult > Findlet< const Belle2::CKFToSVDResult, const SpacePoint *const > Findlet< Belle2::CKFToSVDResult > Findlet< WeightedRelation< const Belle2::RecoTrack, const const Belle2::RecoTrack > > Findlet< const Belle2::TrackFindingCDC::WithAutomatonCell *const, WeightedRelation< const Belle2::TrackFindingCDC::WithAutomatonCell > > Findlet< WeightedRelation< Belle2::RecoTrack *, const Belle2::RecoTrack * > > Findlet< WeightedRelation< Belle2::RecoTrack *, const Belle2::RecoTrack * > & > Findlet< const Belle2::SpacePoint * > Findlet< DataStoreInputTypeRefType * > Findlet< WeightedRelation< Belle2::TrackFindingCDC::CDCTrack, const Belle2::TrackFindingCDC::CDCRLWireHit > > Findlet< const Belle2::TrackFindingCDC::CDCFacet *const, WeightedRelation< const Belle2::TrackFindingCDC::CDCFacet > > Findlet< Belle2::TrackFindingCDC::CDCFacet > Findlet< const Belle2::TrackFindingCDC::CDCSegment2D *const, WeightedRelation< const Belle2::TrackFindingCDC::CDCSegment2D > > Findlet< WeightedRelation< Belle2::TrackFindingCDC::CDCTrack, const Belle2::TrackFindingCDC::CDCRecoHit3D > > Findlet< Belle2::TrackFindingCDC::CDCTrack, const Belle2::TrackFindingCDC::CDCSegment2D, WeightedRelation< Belle2::TrackFindingCDC::CDCTrack, const Belle2::TrackFindingCDC::CDCSegment2D > > Findlet< WeightedRelation< Belle2::TrackFindingCDC::CDCTrack, const Belle2::TrackFindingCDC::CDCSegment2D > > Findlet< Belle2::TrackFindingCDC::CDCWireHit > Findlet< Belle2::TrackFindingCDC::CDCSegment2D > Findlet< Belle2::TrackFindingCDC::CDCTrack > Findlet< const Belle2::TrackFindingCDC::CDCSegmentPair *const, WeightedRelation< const Belle2::TrackFindingCDC::CDCSegmentPair > > Findlet< Belle2::TrackFindingCDC::CDCSegmentPair > Findlet< const Belle2::TrackFindingCDC::CDCSegmentTriple *const, WeightedRelation< const Belle2::TrackFindingCDC::CDCSegmentTriple > > Findlet< Belle2::TrackFindingCDC::CDCSegmentTriple > Findlet< const Belle2::TrackFindingCDC::CDCTrack *const, WeightedRelation< const Belle2::TrackFindingCDC::CDCTrack > > Findlet< AHit *, const TrackFindingCDC::WeightedRelation< AHit >, Result > Findlet< std::vector< Belle2::vxdHoughTracking::VXDHoughState * >, SpacePointTrackCand > Findlet< Belle2::vxdHoughTracking::VXDHoughState *, TrackFindingCDC::WeightedRelation< Belle2::vxdHoughTracking::VXDHoughState > > Findlet< Belle2::vxdHoughTracking::VXDHoughState *, const TrackFindingCDC::WeightedRelation< Belle2::vxdHoughTracking::VXDHoughState >, Result > BaseVarSet< AObject > Filter< AObject > Findlet< AIOTypes >

Public Member Functions

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.
 

Protected Member Functions

void addProcessingSignalListener (ProcessingSignalListener *psl)
 Register a processing signal listener to be notified.
 
int getNProcessingSignalListener ()
 Get the number of currently registered listeners.
 

Private Types

using Super = ProcessingSignalListener
 Type of the base class.
 

Private Attributes

std::vector< ProcessingSignalListener * > m_subordinaryProcessingSignalListeners
 References to subordinary signal processing listener contained in this findlet.
 
bool m_initialized = false
 Flag to keep track whether initialization happened before.
 
bool m_terminated = false
 Flag to keep track whether termination happened before.
 
std::string m_initializedAs
 Name of the type during initialisation.
 

Detailed Description

Partial implementation for an algorithm part that wants to dispatch processing signals to subobjects.

Definition at line 21 of file CompositeProcessingSignalListener.h.

Member Typedef Documentation

◆ Super

Type of the base class.

Definition at line 25 of file CompositeProcessingSignalListener.h.

Member Function Documentation

◆ addProcessingSignalListener()

void addProcessingSignalListener ( ProcessingSignalListener psl)
protected

Register a processing signal listener to be notified.

Definition at line 55 of file CompositeProcessingSignalListener.cc.

56{
58}
std::vector< ProcessingSignalListener * > m_subordinaryProcessingSignalListeners
References to subordinary signal processing listener contained in this findlet.

◆ beginEvent()

void beginEvent ( )
overridevirtual

Receive and dispatch signal for the start of a new event.

Reimplemented from ProcessingSignalListener.

Reimplemented in SpacePointTagger< Belle2::CKFToPXDResult, Belle2::PXDCluster >, SpacePointTagger< Belle2::CKFToSVDResult, Belle2::SVDCluster >, BaseEventTimeExtractor< RecoTrack * >, BaseEventTimeExtractor< TrackFindingCDC::CDCWireHit & >, SharingHitsMatcher< Belle2::TrackFindingCDC::CDCTrack, Belle2::TrackFindingCDC::CDCSegment2D >, MCSymmetric< BaseAxialSegmentPairFilter >, MCSymmetric< BaseFacetFilter >, MCSymmetric< BaseFacetRelationFilter >, MCSymmetric< BaseSegmentPairFilter >, MCSymmetric< BaseSegmentPairRelationFilter >, MCSymmetric< BaseSegmentRelationFilter >, MCSymmetric< BaseSegmentTripleFilter >, MCSymmetric< BaseSegmentTripleRelationFilter >, MCSymmetric< BaseTrackRelationFilter >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCFacet >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCWireHit, true >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCSegment2D >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCTrack >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCSegmentPair >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCSegmentTriple >, RecoTrackStorer, ROIFinder, and SVDHoughTracking.

Definition at line 31 of file CompositeProcessingSignalListener.cc.

32{
35 psl->beginEvent();
36 }
37}
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.

◆ beginRun()

void beginRun ( )
overridevirtual

Receive and dispatch signal for the beginning of a new run.

Reimplemented from ProcessingSignalListener.

Reimplemented in LayerRelationFilter< AFilter >, FourHitFilter, QualityIndicatorFilter, ThreeHitFilter, TwoHitVirtualIPFilter, TwoHitVirtualIPQIFilter, RecoTrackStorer, ROIFinder, SpacePointLoaderAndPreparer, and TrackCandidateResultRefiner.

Definition at line 23 of file CompositeProcessingSignalListener.cc.

24{
27 psl->beginRun();
28 }
29}
virtual void beginRun()
Receive signal for the beginning of a new run.

◆ endRun()

void endRun ( )
overridevirtual

Receive and dispatch signal for the end of the run.

Reimplemented from ProcessingSignalListener.

Definition at line 39 of file CompositeProcessingSignalListener.cc.

40{
42 psl->endRun();
43 }
45}
virtual void endRun()
Receive signal for the end of the run.

◆ getNProcessingSignalListener()

int getNProcessingSignalListener ( )
protected

Get the number of currently registered listeners.

Definition at line 60 of file CompositeProcessingSignalListener.cc.

61{
63}

◆ initialize()

void initialize ( )
overridevirtual

Receive and dispatch signal before the start of the event processing.

Reimplemented from ProcessingSignalListener.

Reimplemented in UnionVarSet< AObject >, UnionVarSet< Object >, VariadicUnionVarSet< AVarSets >, ResultStorer< Belle2::CKFToPXDResult >, ResultStorer< Belle2::CKFToSVDResult >, BaseEventTimeExtractor< RecoTrack * >, BaseEventTimeExtractor< TrackFindingCDC::CDCWireHit & >, StereoHitTrackQuadTreeMatcher< Belle2::TrackFindingCDC::HyperHough >, StereoHitTrackQuadTreeMatcher< Belle2::TrackFindingCDC::QuadraticLegendre >, StereoHitTrackQuadTreeMatcher< Belle2::TrackFindingCDC::Z0TanLambdaLegendre >, OnVarSet< Filter< ATruthVarSet::Object > >, OnVarSet< Filter< AVarSet::Object > >, OnVarSet< BaseFacetFilter >, OnVarSet< BaseFacetRelationFilter >, OnVarSet< BaseAxialSegmentPairFilter >, OnVarSet< BaseSegmentRelationFilter >, OnVarSet< BaseTrackRelationFilter >, OnVarSet< BaseSegmentPairRelationFilter >, MCSymmetric< BaseAxialSegmentPairFilter >, MCSymmetric< BaseFacetFilter >, MCSymmetric< BaseFacetRelationFilter >, MCSymmetric< BaseSegmentPairFilter >, MCSymmetric< BaseSegmentPairRelationFilter >, MCSymmetric< BaseSegmentRelationFilter >, MCSymmetric< BaseSegmentTripleFilter >, MCSymmetric< BaseSegmentTripleRelationFilter >, MCSymmetric< BaseTrackRelationFilter >, StoreArrayLoader< const Belle2::SpacePoint >, StoreArrayLoader< DataStoreInputTypeRefType >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCFacet >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCWireHit, true >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCSegment2D >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCTrack >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCSegmentPair >, StoreVectorSwapper< Belle2::TrackFindingCDC::CDCSegmentTriple >, RelationVarSet< ABaseVarSet >, QualityIndicatorFilter, TwoHitVirtualIPQIFilter, MultiHoughSpaceFastInterceptFinder, RawTrackCandCleaner< AHit >, RawTrackCandCleaner< Belle2::vxdHoughTracking::VXDHoughState >, RecoTrackStorer, ROIFinder, SingleHoughSpaceFastInterceptFinder, SpacePointLoaderAndPreparer, TrackCandidateOverlapResolver, and TrackCandidateResultRefiner.

Definition at line 15 of file CompositeProcessingSignalListener.cc.

16{
19 psl->initialize();
20 }
21}
virtual void initialize()
Receive signal before the start of the event processing.

◆ terminate()

void terminate ( )
overridevirtual

Receive and dispatch Signal for termination of the event processing.

Reimplemented from ProcessingSignalListener.

Reimplemented in StereoHitTrackQuadTreeMatcher< Belle2::TrackFindingCDC::HyperHough >, StereoHitTrackQuadTreeMatcher< Belle2::TrackFindingCDC::QuadraticLegendre >, and StereoHitTrackQuadTreeMatcher< Belle2::TrackFindingCDC::Z0TanLambdaLegendre >.

Definition at line 47 of file CompositeProcessingSignalListener.cc.

48{
50 psl->terminate();
51 }
53}
virtual void terminate()
Receive Signal for termination of the event processing.

Member Data Documentation

◆ m_initialized

bool m_initialized = false
privateinherited

Flag to keep track whether initialization happened before.

Definition at line 52 of file ProcessingSignalListener.h.

◆ m_initializedAs

std::string m_initializedAs
privateinherited

Name of the type during initialisation.

Definition at line 58 of file ProcessingSignalListener.h.

◆ m_subordinaryProcessingSignalListeners

std::vector<ProcessingSignalListener*> m_subordinaryProcessingSignalListeners
private

References to subordinary signal processing listener contained in this findlet.

Definition at line 52 of file CompositeProcessingSignalListener.h.

◆ m_terminated

bool m_terminated = false
privateinherited

Flag to keep track whether termination happened before.

Definition at line 55 of file ProcessingSignalListener.h.


The documentation for this class was generated from the following files: