Belle II Software  release-08-01-10
OverlapResolver< AFilter > Class Template Referenceabstract

Simple findlet for searching the best candidate for a given seed aplying the given filter. More...

#include <OverlapResolver.dcl.h>

Inheritance diagram for OverlapResolver< AFilter >:
Collaboration diagram for OverlapResolver< AFilter >:

Public Types

using Object = typename AFilter::Object
 The object to filter.
 
using Super = TrackFindingCDC::Findlet< typename AFilter::Object, typename AFilter::Object >
 The parent class.
 
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

 OverlapResolver ()
 Construct this findlet and add the subfindlet as listener.
 
void exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) final
 Expose the parameters of the subfindlet.
 
void apply (std::vector< Object > &results, std::vector< Object > &filteredResult) override
 For each seed, search for the best candidate and return it.
 
virtual std::string getDescription ()
 Brief description of the purpose of the concret 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 Attributes

AFilter m_filter
 Subfindlet for filtering.
 
std::vector< TrackFindingCDC::WithWeight< Object * > > m_resultsWithWeight
 temporary results vector with weights, out of which the overlaps will be build.
 
bool m_param_enableOverlapResolving = true
 Parameter: Enable overlap.
 
unsigned long m_param_useBestNInSeed = 3
 Parameter: In seed mode, use only the best seeds.
 
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

template<class AFilter>
class Belle2::OverlapResolver< AFilter >

Simple findlet for searching the best candidate for a given seed aplying the given filter.

Definition at line 25 of file OverlapResolver.dcl.h.


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