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

Add the matched segments to the tracks and normalize the tracks afterwards. More...

#include <SegmentTrackAdderWithNormalization.h>

Inheritance diagram for SegmentTrackAdderWithNormalization:
Collaboration diagram for SegmentTrackAdderWithNormalization:

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

 SegmentTrackAdderWithNormalization ()
 Constructor for registering the sub-findlets.
 
void exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) override
 Expose the parameters of the sub-findlets.
 
std::string getDescription () override
 Short description of the findlet.
 
void apply (std::vector< WeightedRelation< CDCTrack, const CDCSegment2D >> &relations, std::vector< CDCTrack > &tracks, const std::vector< CDCSegment2D > &segment) override
 Apply the 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 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< WeightedRelation< CDCTrack, const CDCSegment2D > &, CDCTrack &, const CDCSegment2D >
 Type of the base class.
 

Private Attributes

bool m_param_removeUnmatchedSegments = true
 Parameter : Swtich to remove hits in segments that have no matching track from all tracks.
 
SingleMatchSelector< CDCTrack, CDCRecoHit3D, HitComperatorm_singleHitSelector
 The selector for finding the track each hit should belong to.
 
TrackNormalizer m_trackNormalizer
 Findlet for performing the normalization of the tracks afterwards.
 
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

Add the matched segments to the tracks and normalize the tracks afterwards.

Also deletes all hits from the tracks, that are part of segments, that were not matched to these tracks.

Definition at line 34 of file SegmentTrackAdderWithNormalization.h.


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