Belle II Software development
|
Resolves between the potential alias versions of the segments and contained hits. More...
#include <SegmentAliasResolver.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 | |
std::string | getDescription () final |
Short description of the findlet. | |
void | exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) final |
Expose the parameters to a module. | |
void | initialize () final |
Signals the beginning of the event processing. | |
void | apply (std::vector< CDCSegment2D > &outputSegments) final |
Main algorithm applying the fit to each segment. | |
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 = Findlet< CDCSegment2D & > |
Type of the base class. | |
Private Member Functions | |
void | refit (CDCSegment2D &segment, bool reestimate) |
Fit the alias segment. | |
Private Attributes | |
std::vector< std::string > | m_param_investigateAlias = { "cross", "borders", } |
Parameter : Which alias resolutions should be applied. | |
bool | m_fullAlias = false |
Switch whether the complete segment should be aliased. | |
bool | m_crossAliases = false |
Switch whether the segment should be aliased at the waist where an rl side switch was missed. | |
bool | m_borderAliases = false |
Switch whether the border hits at the beginning and the end should be aliased. | |
bool | m_middleAliases = false |
Switch whether the hits in the middle with lowest drift radius should be aliased. | |
bool | m_param_reestimateDriftLength = true |
Parameter : Switch to reestimate the drift length before each fit. | |
bool | m_param_reestimatePositions = false |
Parameter : Switch to restimate the reconstructed positions with a pass of facets. | |
CDCRiemannFitter | m_riemannFitter |
Instance of the riemann fitter to be used. | |
DriftLengthEstimator | m_driftLengthEstimator |
Instance of the drift length estimator to be used. | |
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. | |
Resolves between the potential alias versions of the segments and contained hits.
Definition at line 29 of file SegmentAliasResolver.h.
|
inherited |
|
inherited |
|
private |
Type of the base class.
Definition at line 33 of file SegmentAliasResolver.h.
|
protectedinherited |
|
protectedinherited |
Register a processing signal listener to be notified.
Definition at line 55 of file CompositeProcessingSignalListener.cc.
|
final |
Main algorithm applying the fit to each segment.
Definition at line 80 of file SegmentAliasResolver.cc.
|
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.
|
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.
|
finalvirtual |
Expose the parameters to a module.
Reimplemented from Findlet< CDCSegment2D & >.
Definition at line 43 of file SegmentAliasResolver.cc.
|
finalvirtual |
Short description of the findlet.
Reimplemented from Findlet< CDCSegment2D & >.
Definition at line 38 of file SegmentAliasResolver.cc.
|
protectedinherited |
Get the number of currently registered listeners.
Definition at line 60 of file CompositeProcessingSignalListener.cc.
|
finalvirtual |
Signals the beginning of the event processing.
Reimplemented from ProcessingSignalListener.
Definition at line 62 of file SegmentAliasResolver.cc.
|
private |
Fit the alias segment.
Definition at line 223 of file SegmentAliasResolver.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 |
Switch whether the border hits at the beginning and the end should be aliased.
Definition at line 64 of file SegmentAliasResolver.h.
|
private |
Switch whether the segment should be aliased at the waist where an rl side switch was missed.
Definition at line 61 of file SegmentAliasResolver.h.
|
private |
Instance of the drift length estimator to be used.
Definition at line 79 of file SegmentAliasResolver.h.
|
private |
Switch whether the complete segment should be aliased.
Definition at line 58 of file SegmentAliasResolver.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 |
Switch whether the hits in the middle with lowest drift radius should be aliased.
Definition at line 67 of file SegmentAliasResolver.h.
|
private |
Parameter : Which alias resolutions should be applied.
Definition at line 55 of file SegmentAliasResolver.h.
|
private |
Parameter : Switch to reestimate the drift length before each fit.
Definition at line 70 of file SegmentAliasResolver.h.
|
private |
Parameter : Switch to restimate the reconstructed positions with a pass of facets.
Definition at line 73 of file SegmentAliasResolver.h.
|
private |
Instance of the riemann fitter to be used.
Definition at line 76 of file SegmentAliasResolver.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.