Belle II Software development
|
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>
Public Types | |
using | IOTypes = std::tuple< AIOTypes... > |
Types that should be served to apply on invocation. | |
using | IOVectors = std::tuple< std::vector< AIOTypes >... > |
Vector types that should be served to apply on invocation. | |
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 concrete 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< SpacePoint > | m_storeSpacePoints |
Input SpacePoints Store Array. | |
B2Vector3D | m_BeamSpotPosition |
B2Vector3D actually containing 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 happened before. | |
bool | m_terminated = false |
Flag to keep track whether termination happened before. | |
std::string | m_initializedAs |
Name of the type during initialisation. | |
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.
|
inherited |
|
inherited |
|
private |
Parent class.
Definition at line 37 of file SpacePointLoaderAndPreparer.h.
|
protectedinherited |
|
inline |
Load clusters and prepare them for intercept finding.
Definition at line 41 of file SpacePointLoaderAndPreparer.h.
|
protectedinherited |
Register a processing signal listener to be notified.
Definition at line 55 of file CompositeProcessingSignalListener.cc.
|
inlineoverride |
Load the SVD SpacePoints and create a VXDHoughState object for each hit.
Definition at line 76 of file SpacePointLoaderAndPreparer.h.
|
overridevirtualinherited |
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.
|
inlineoverridevirtual |
Retrieve the BeamSpot from DB.
Reimplemented from CompositeProcessingSignalListener.
Definition at line 63 of file SpacePointLoaderAndPreparer.h.
|
overridevirtualinherited |
Receive and dispatch signal for the end of the run.
Reimplemented from ProcessingSignalListener.
Definition at line 39 of file CompositeProcessingSignalListener.cc.
|
inlineoverridevirtual |
Expose the parameters of the sub findlets.
Reimplemented from Findlet< const SpacePoint *, VXDHoughState >.
Definition at line 44 of file SpacePointLoaderAndPreparer.h.
|
inlinevirtualinherited |
|
protectedinherited |
Get the number of currently registered listeners.
Definition at line 60 of file CompositeProcessingSignalListener.cc.
|
inlineoverridevirtual |
Create the store arrays.
Reimplemented from CompositeProcessingSignalListener.
Definition at line 56 of file SpacePointLoaderAndPreparer.h.
|
overridevirtualinherited |
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.
|
private |
B2Vector3D actually containing the BeamSpot position. This will be passed on to the VXDHoughState for the conformal transformation.
Definition at line 102 of file SpacePointLoaderAndPreparer.h.
|
privateinherited |
Flag to keep track whether initialization happened before.
Definition at line 52 of file ProcessingSignalListener.h.
|
privateinherited |
Name of the type during initialisation.
Definition at line 58 of file ProcessingSignalListener.h.
|
private |
Input SpacePoints Store Array.
Definition at line 99 of file SpacePointLoaderAndPreparer.h.
|
privateinherited |
References to subordinary signal processing listener contained in this findlet.
Definition at line 52 of file CompositeProcessingSignalListener.h.
|
private |
StoreArray name of the input Track Store Array.
Definition at line 93 of file SpacePointLoaderAndPreparer.h.
|
privateinherited |
Flag to keep track whether termination happened before.
Definition at line 55 of file ProcessingSignalListener.h.
|
private |
Use all SVDSpacePoints for track finding or only unassigned ones.
Definition at line 96 of file SpacePointLoaderAndPreparer.h.