Belle II Software  release-08-01-10
ResultStorer< AResult > Class Template Referenceabstract

This findlet does also handle the storing of the results. More...

#include <ResultStorer.dcl.h>

Inheritance diagram for ResultStorer< AResult >:
Collaboration diagram for ResultStorer< AResult >:

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 exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) override
 Expose the parameters of the sub findlets.
 
void initialize () override
 Create the store arrays.
 
void apply (std::vector< AResult > &results) override
 Load in the reco tracks and the hits. More...
 
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 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 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< AResult >
 Parent class.
 

Private Attributes

std::string m_param_writeOutDirectionAsString = "both"
 Parameter for the distance given to the framework (can not handle EForwardBackward directly)
 
TrackFindingCDC::EForwardBackward m_param_writeOutDirection = TrackFindingCDC::EForwardBackward::c_Unknown
 Direction parameter converted from the string parameters.
 
bool m_param_exportTracks = true
 Export the tracks or not.
 
std::string m_param_outputRecoTrackStoreArrayName = "CKFRecoTracks"
 StoreArray name of the output Track Store Array.
 
std::string m_param_outputRelationRecoTrackStoreArrayName = "RecoTracks"
 StoreArray name of the tracks, the output reco tracks should be related to.
 
StoreArray< RecoTrackm_outputRecoTracks
 Output Reco Tracks Store Array.
 
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 Belle2::ResultStorer< AResult >

This findlet does also handle the storing of the results.

Definition at line 28 of file ResultStorer.dcl.h.


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