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

This module applies configurable correction functions to all found tracks. More...

#include <TrackQualityAsserter.h>

Inheritance diagram for TrackQualityAsserter:
Collaboration diagram for TrackQualityAsserter:

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

 TrackQualityAsserter ()
 Constructor setting up the default parameters.
 
std::string getDescription () override
 Get the description of the findlet.
 
void exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) final
 Expose the parameters to a module.
 
void apply (std::vector< CDCTrack > &tracks) final
 Main function to clean up the tracks.
 
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< CDCTrack & >
 Type of the base class.
 

Private Attributes

std::vector< std::string > m_param_corrections
 Parameter : The corrections to use.
 
bool m_param_onlyNotFittedTracks = false
 Parameter : Flag to use the corrections only for not fitted tracks.
 
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

This module applies configurable correction functions to all found tracks.

Typical correction functions include:

  • Removal of hits after long breaks
  • Removal of hits on the wrong side of the detector
  • Splitting of curling tracks into two halves
  • etc.

See the TrackQualityTools for details on the specific functions.

Mainly the corrections are applied to remove fakes and to make the tracks fitable with genfit (which fails mainly for low-momentum tracks). WARNING: Not all of the correction functions work well and the finding efficiency may be reduced strongly even when applying the correctly working functions! Handle with care ;-)

Definition at line 41 of file TrackQualityAsserter.h.


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