Belle II Software  release-08-01-10
SpacePointTagger< AResult, ACluster > Class Template Referenceabstract

Findlet for tagging all space points in the results vector as used. More...

#include <SpacePointTagger.dcl.h>

Inheritance diagram for SpacePointTagger< AResult, ACluster >:
Collaboration diagram for SpacePointTagger< AResult, ACluster >:

Public Types

using IOTypes = std::tuple< AIOTypes... >
 Types that should be served to apply on invokation.
 
using IOVectors = std::tuple< std::vector< AIOTypes >... >
 Vector types that should be served to apply on invokation.
 

Public Member Functions

void beginEvent () override
 Clear the used clusters.
 
void exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) override
 Expose the parameters of the findlet.
 
void apply (const std::vector< AResult > &results, const std::vector< const SpacePoint * > &spacePoints) override
 Mark all space points as used, that they share clusters if the given kind with the results.
 
virtual std::string getDescription ()
 Brief description of the purpose of the concret 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 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 Types

using ToVector = typename ToVectorImpl< T >::Type
 Short hand for ToRangeImpl.
 

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 = TrackFindingCDC::Findlet< const AResult, const SpacePoint *const >
 The parent class.
 

Private Attributes

std::set< const ACluster * > m_usedClusters
 Store the used clusters in the results.
 
std::set< const SpacePoint * > m_usedSpacePoints
 Store the used space points in the results.
 
bool m_param_singleClusterLevel = true
 Parameter: Mark SP as used, if the share a single cluster with the results, or if they share a whole SP.
 
bool m_param_markUsedSpacePoints = true
 Parameter: Mark used space points as assigned.
 
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 happend before.
 
bool m_terminated = false
 Flag to keep track whether termination happend before.
 
std::string m_initializedAs
 Name of the type during initialisation.
 

Detailed Description

template<class AResult, class ACluster>
class Belle2::SpacePointTagger< AResult, ACluster >

Findlet for tagging all space points in the results vector as used.

Definition at line 26 of file SpacePointTagger.dcl.h.


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