Belle II Software development
|
Create CKF states, based on the current path. Perform some basic selection at this stage (based on phi, max. jump of layers) More...
#include <CDCCKFStateCreator.h>
Classes | |
struct | CDCCKFWireHitCache |
Store basic wire info for faster access. More... | |
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 | |
void | exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) override |
Expose the parameters of the sub findlets. | |
void | beginEvent () override |
Clear the wireHit cache. | |
void | apply (std::vector< CDCCKFState > &nextStates, const CDCCKFPath &path, const std::vector< const TrackFindingCDC::CDCWireHit * > &wireHits) override |
Main method of the findlet. Select + create states (output parameter nextStates) suitable for the input path, based on input wireHits. | |
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 | 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< CDCCKFState, const CDCCKFState, const TrackFindingCDC::CDCWireHit *const > |
Parent class. | |
Private Attributes | |
int | m_maximalLayerJump = 2 |
Maximum allowed step over layers. | |
int | m_maximalLayerJump_backwardSeed = 3 |
Maximum allowed step over layers (if outside->in CKF) for first step after seed (e.g. ECLShower) | |
double | m_maximalDeltaPhi = TMath::Pi() / 8 |
Maximal distance in phi between the path last hit/seed and the candidate hit. | |
std::string | m_param_writeOutDirectionAsString = "forward" |
Parameter for the direction in which the tracks are built. | |
TrackFindingCDC::EForwardBackward | m_param_writeOutDirection = TrackFindingCDC::EForwardBackward::c_Unknown |
Direction parameter converted from the string parameters. | |
bool | doForward = true |
Direction parameter converted to boolean for convenience. | |
std::vector< CDCCKFWireHitCache > | m_wireHitCache = {} |
Cache to store frequently used information. | |
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. | |
Create CKF states, based on the current path. Perform some basic selection at this stage (based on phi, max. jump of layers)
Definition at line 33 of file CDCCKFStateCreator.h.
|
inherited |
|
inherited |
|
private |
Parent class.
Definition at line 38 of file CDCCKFStateCreator.h.
|
protectedinherited |
|
protectedinherited |
Register a processing signal listener to be notified.
Definition at line 55 of file CompositeProcessingSignalListener.cc.
|
inlineoverride |
Main method of the findlet. Select + create states (output parameter nextStates) suitable for the input path, based on input wireHits.
Definition at line 83 of file CDCCKFStateCreator.h.
|
inlineoverridevirtual |
Clear the wireHit cache.
Reimplemented from ProcessingSignalListener.
Definition at line 65 of file CDCCKFStateCreator.h.
|
overridevirtualinherited |
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.
|
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< CDCCKFState, const CDCCKFState, const TrackFindingCDC::CDCWireHit *const >.
Definition at line 52 of file CDCCKFStateCreator.h.
|
inlinevirtualinherited |
|
protectedinherited |
Get the number of currently registered listeners.
Definition at line 60 of file CompositeProcessingSignalListener.cc.
|
overridevirtualinherited |
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.
|
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 |
Direction parameter converted to boolean for convenience.
Definition at line 202 of file CDCCKFStateCreator.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 |
Maximal distance in phi between the path last hit/seed and the candidate hit.
Definition at line 196 of file CDCCKFStateCreator.h.
|
private |
Maximum allowed step over layers.
Definition at line 192 of file CDCCKFStateCreator.h.
|
private |
Maximum allowed step over layers (if outside->in CKF) for first step after seed (e.g. ECLShower)
Definition at line 194 of file CDCCKFStateCreator.h.
|
private |
Direction parameter converted from the string parameters.
Definition at line 200 of file CDCCKFStateCreator.h.
|
private |
Parameter for the direction in which the tracks are built.
Definition at line 198 of file CDCCKFStateCreator.h.
|
privateinherited |
References to subordinary signal processing listener contained in this findlet.
Definition at line 52 of file CompositeProcessingSignalListener.h.
|
privateinherited |
Flag to keep track whether termination happened before.
Definition at line 55 of file ProcessingSignalListener.h.
|
private |
Cache to store frequently used information.
Definition at line 205 of file CDCCKFStateCreator.h.