Belle II Software  release-08-01-10
SpacePointLoaderAndPreparer Class Referenceabstract

Findlet for loading SVDSpacePoints and prepare them for usage in the FastInterceptFinder2D by creating VXDHoughStates in which the BeamSpotPosition is used to calculate the conformal transformed x,y coordinates and the creating pairs of coordinates for finding track candidates in r-phi and r-z. More...

#include <SpacePointLoaderAndPreparer.h>

Inheritance diagram for SpacePointLoaderAndPreparer:
Collaboration diagram for SpacePointLoaderAndPreparer:

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

 SpacePointLoaderAndPreparer ()
 Load clusters and prepare them for intercept finding.
 
void exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) override
 Expose the parameters of the sub findlets.
 
void initialize () override
 Create the store arrays.
 
void beginRun () override
 Retrieve the BeamSpot from DB.
 
void apply (std::vector< const SpacePoint * > &spacePoints, std::vector< VXDHoughState > &hits) override
 Load the SVD SpacePoints and create a VXDHoughState object for each hit.
 
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 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< const SpacePoint *, VXDHoughState >
 Parent class.
 

Private Attributes

std::string m_SVDSpacePointStoreArrayName = "SVDSpacePoints"
 StoreArray name of the input Track Store Array.
 
bool m_useAllSpacePoints = false
 Use all SVDSpacePoints for track finding or only unassigned ones.
 
StoreArray< SpacePointm_storeSpacePoints
 Input SpacePoints Store Array.
 
B2Vector3D m_BeamSpotPosition
 B2Vector3D actually contining the BeamSpot position. This will be passed on to the VXDHoughState for the conformal transformation.
 
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

Findlet for loading SVDSpacePoints and prepare them for usage in the FastInterceptFinder2D by creating VXDHoughStates in which the BeamSpotPosition is used to calculate the conformal transformed x,y coordinates and the creating pairs of coordinates for finding track candidates in r-phi and r-z.

Definition at line 35 of file SpacePointLoaderAndPreparer.h.


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