Belle II Software  release-08-01-10
SectorMapBasedSVDPairFilter Class Reference

Filter for relations between CKF SVD states based on SectorMaps. More...

#include <SectorMapBasedSVDPairFilter.h>

Inheritance diagram for SectorMapBasedSVDPairFilter:
Collaboration diagram for SectorMapBasedSVDPairFilter:

Public Types

using Object = AObject
 Type of the object to be analysed.
 
using Interface = Filter< AObject >
 Mark this class as the basic interface.
 

Public Member Functions

 SectorMapBasedSVDPairFilter ()=default
 default constructor to silence cppcheck warnings
 
void exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) final
 Expose the parameters of the filter.
 
TrackFindingCDC::Weight operator() (const std::pair< const CKFToSVDState *, const CKFToSVDState * > &relation) override
 Give a final weight to the possibilities by asking the filter.
 
void beginRun () final
 Initialize the sector map.
 
virtual bool needsTruthInformation ()
 Indicates if the filter requires Monte Carlo information.
 
virtual Weight operator() (const Object &obj)
 Function to evaluate the object. More...
 
Weight operator() (const Object *obj)
 Function to evaluate the object. More...
 
void initialize () override
 Receive and dispatch signal before the start of the event processing.
 
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 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 = BaseSVDPairFilter
 The parent class.
 
using SectorMapFilter = VXDTFFilters< SpacePoint >
 The VXDTF filter.
 
using FilterContainer = FiltersContainer< SpacePoint >
 The filter container.
 

Private Attributes

FilterContainerm_filtersContainer = FiltersContainer<SpacePoint>::getInstance()
 The filter container to use.
 
SectorMapFilterm_vxdtfFilters = nullptr
 The sector map filter, will be set in begin run.
 
std::string m_param_sectorMapName = "SVDOnlyDefault"
 Name of the sector map 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 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

Filter for relations between CKF SVD states based on SectorMaps.

Definition at line 23 of file SectorMapBasedSVDPairFilter.h.

Member Function Documentation

◆ operator()() [1/2]

◆ operator()() [2/2]

Weight operator() ( const Object obj)
inherited

Function to evaluate the object.

Base implementation accepts all objects, except nullptr.

Parameters
objThe object to be accepted or rejected.
Returns
A finit float value if the object is accepted. NAN if the object is rejected. Nullptr is always rejected.

Definition at line 58 of file Filter.icc.h.


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