Belle II Software development
|
Store RecoTracks into StoreArray. More...
#include <RecoTrackStorer.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 | |
RecoTrackStorer () | |
Constructor. | |
~RecoTrackStorer () | |
Default destructor. | |
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 |
Begin run. | |
void | beginEvent () override |
Reset internal vectors. | |
void | apply (std::vector< SpacePointTrackCand > &finishedResults, const std::vector< const SpacePoint * > &spacePoints) override |
Store the finishey SpacePointTrackCands into RecoTracks and tag the SpacePoints. | |
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 | 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 | |
template<class T > | |
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< SpacePointTrackCand, const SpacePoint *const > |
Parent class. | |
Private Attributes | |
std::string | m_RecoTracksStoreArrayName = "SVDHoughRecoTracks" |
StoreArray name of the output Track StoreArray. | |
std::string | m_SVDClustersStoreArrayName = "SVDClusters" |
StoreArray name of the SVDCluster StoreArray. | |
std::string | m_SVDSpacePointTrackCandsStoreArrayName = "SVDHoughSpacePointTrackCands" |
StoreArray name of the SpacePointTrackCandidate StoreArray. | |
StoreArray< RecoTrack > | m_storeRecoTracks |
Output RecoTracks Store Array. | |
StoreArray< SpacePointTrackCand > | m_storeSpacePointTrackCands |
Output SpacePointTrackCand Store Array. | |
std::set< const SVDCluster * > | m_usedClusters |
Store the used clusters in the results. | |
std::set< const SpacePoint * > | m_usedSpacePoints |
Store the used space points in the results. | |
std::unique_ptr< QualityEstimatorBase > | m_estimator |
pointer to the selected QualityEstimator | |
std::string | m_MCRecoTracksStoreArrayName = "MCRecoTracks" |
sets the name of the expected StoreArray containing MCRecoTracks. Only required for MCInfo method | |
bool | m_MCStrictQualityEstimator = true |
Only required for MCInfo method. | |
std::string | m_EstimationMethod = "helixFit" |
Identifier which estimation method to use. | |
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. | |
Store RecoTracks into StoreArray.
Definition at line 32 of file RecoTrackStorer.h.
|
inherited |
|
inherited |
|
private |
Parent class.
Definition at line 34 of file RecoTrackStorer.h.
|
protectedinherited |
RecoTrackStorer | ( | ) |
Constructor.
Definition at line 30 of file RecoTrackStorer.cc.
|
protectedinherited |
Register a processing signal listener to be notified.
Definition at line 55 of file CompositeProcessingSignalListener.cc.
|
override |
Store the finishey SpacePointTrackCands into RecoTracks and tag the SpacePoints.
Definition at line 110 of file RecoTrackStorer.cc.
|
overridevirtual |
Reset internal vectors.
Reimplemented from CompositeProcessingSignalListener.
Definition at line 102 of file RecoTrackStorer.cc.
|
overridevirtual |
Begin run.
Reimplemented from CompositeProcessingSignalListener.
Definition at line 88 of file RecoTrackStorer.cc.
|
overridevirtualinherited |
Receive and dispatch signal for the end of the run.
Reimplemented from ProcessingSignalListener.
Definition at line 39 of file CompositeProcessingSignalListener.cc.
|
overridevirtual |
Expose the parameters of the sub findlets.
Reimplemented from Findlet< AIOTypes >.
Definition at line 34 of file RecoTrackStorer.cc.
|
inlinevirtualinherited |
Brief description of the purpose of the concrete findlet.
Reimplemented in CosmicsTrackMergerFindlet, CDCTrackingEventLevelMdstInfoFillerFromHitsFindlet, CDCTrackingEventLevelMdstInfoFillerFromSegmentsFindlet, AxialStraightTrackFinder, AxialTrackFinderHough, AxialTrackFinderLegendre, ClusterPreparer, MonopoleAxialTrackFinderLegendre, MonopoleStereoHitFinder, MonopoleStereoHitFinderQuadratic, SegmentFinderFacetAutomaton, SegmentTrackCombiner, StereoHitFinder, TrackFinderSegmentPairAutomaton, TrackFinderSegmentTripleAutomaton, TrackQualityEstimator, WireHitPreparer, AsicBackgroundLibraryCreator, TrackFinderCosmics, AsicBackgroundDetector, AxialSegmentPairCreator, AxialStraightTrackCreator, AxialTrackCreatorHitHough, AxialTrackCreatorHitLegendre, AxialTrackCreatorMCTruth, AxialTrackCreatorSegmentHough, AxialTrackHitMigrator, AxialTrackMerger, CDCMCCloneLookUpFiller, ClusterBackgroundDetector, ClusterCreator< AWireHitRelationFilter >, ClusterRefiner< AWireHitRelationFilter >, ClusterRefiner< BridgingWireHitRelationFilter >, ClusterRefiner< Belle2::TrackFindingCDC::BridgingWireHitRelationFilter >, FacetCreator, HitReclaimer, RLTaggedWireHitCreator, SegmentAliasResolver, SegmentCreatorFacetAutomaton, SegmentCreatorMCTruth, SegmentLinker, SegmentOrienter, SegmentPairCreator, SegmentRejecter, SegmentTripleCreator, SuperClusterCreator, TrackCombiner, TrackCreatorSegmentPairAutomaton, TrackCreatorSegmentTripleAutomaton, TrackCreatorSingleSegments, TrackExporter, TrackFlightTimeAdjuster, TrackInspector, TrackLinker, TrackNormalizer, TrackOrienter, TrackRejecter, TrackSZFitter, WeightedRelationCreator< AObject, ARelationFilter >, WeightedRelationCreator< const Belle2::TrackFindingCDC::WithAutomatonCell, Belle2::PhiRecoTrackRelationFilter >, WeightedRelationCreator< const Belle2::TrackFindingCDC::CDCFacet, Belle2::TrackFindingCDC::ChooseableFilter >, WeightedRelationCreator< const Belle2::TrackFindingCDC::CDCSegment2D, Belle2::TrackFindingCDC::ChooseableFilter >, WeightedRelationCreator< const Belle2::TrackFindingCDC::CDCSegmentPair, Belle2::TrackFindingCDC::ChooseableFilter >, WeightedRelationCreator< const Belle2::TrackFindingCDC::CDCSegmentTriple, Belle2::TrackFindingCDC::ChooseableFilter >, WeightedRelationCreator< const Belle2::TrackFindingCDC::CDCTrack, Belle2::TrackFindingCDC::ChooseableFilter >, WireHitBackgroundBlocker, WireHitBackgroundDetector, WireHitCreator, WireHitMCMultiLoopBlocker, StoreArrayLoader< IOType >, StoreArrayLoader< const Belle2::SpacePoint >, StoreArrayLoader< DataStoreInputTypeRefType >, StoreVectorSwapper< IOType, a_alwaysWrite >, 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 >, TrackFinder, TrackFinderAutomaton, SegmentFitter, SegmentTrackAdderWithNormalization, TrackQualityAsserter, HitBasedT0Extractor, and FindletStoreArrayInput< TWrappedFindlet >.
Definition at line 60 of file Findlet.h.
|
protectedinherited |
Get the number of currently registered listeners.
Definition at line 60 of file CompositeProcessingSignalListener.cc.
|
overridevirtual |
Create the store arrays.
Reimplemented from CompositeProcessingSignalListener.
Definition at line 63 of file RecoTrackStorer.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 |
Identifier which estimation method to use.
Valid identifiers are: mcInfo, circleFit, tripletFit, helixFit
Definition at line 86 of file RecoTrackStorer.h.
|
private |
pointer to the selected QualityEstimator
Definition at line 79 of file RecoTrackStorer.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 |
sets the name of the expected StoreArray containing MCRecoTracks. Only required for MCInfo method
Definition at line 81 of file RecoTrackStorer.h.
|
private |
Only required for MCInfo method.
Definition at line 83 of file RecoTrackStorer.h.
|
private |
StoreArray name of the output Track StoreArray.
Definition at line 61 of file RecoTrackStorer.h.
|
private |
Output RecoTracks Store Array.
Definition at line 68 of file RecoTrackStorer.h.
|
private |
Output SpacePointTrackCand Store Array.
Definition at line 71 of file RecoTrackStorer.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 SVDCluster StoreArray.
Definition at line 63 of file RecoTrackStorer.h.
|
private |
StoreArray name of the SpacePointTrackCandidate StoreArray.
Definition at line 65 of file RecoTrackStorer.h.
|
privateinherited |
Flag to keep track whether termination happened before.
Definition at line 55 of file ProcessingSignalListener.h.
|
private |
Store the used clusters in the results.
Definition at line 74 of file RecoTrackStorer.h.
|
private |
Store the used space points in the results.
Definition at line 76 of file RecoTrackStorer.h.