Belle II Software  release-05-02-19
LayerPXDRelationFilter< AFilter, APrefilter > Class Template Reference

Base filter for CKF PXD states. More...

#include <LayerPXDRelationFilter.dcl.h>

Inheritance diagram for LayerPXDRelationFilter< AFilter, APrefilter >:
Collaboration diagram for LayerPXDRelationFilter< AFilter, APrefilter >:

Public Types

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

Public Member Functions

 LayerPXDRelationFilter ()
 Add the filter as listener.
 
 ~LayerPXDRelationFilter ()
 Default destructor.
 
std::vector< CKFToPXDState * > getPossibleTos (CKFToPXDState *from, const std::vector< CKFToPXDState * > &states) const override
 Selects the objects possibly related to the given one from the given pool of objects.
 
void exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) override
 Expose the set of parameters of the filter to the module parameter list. More...
 
TrackFindingCDC::Weight operator() (const CKFToPXDState &from, const CKFToPXDState &to) override
 Main filter method returning the weight of the neighborhood relation. More...
 
Weight operator() (const Relation< CKFToPXDState > &relation) override
 Main filter method overriding the filter interface method. More...
 
virtual Weight operator() (const Object &obj)
 Function to evaluate the object. More...
 
Weight operator() (const Object *obj)
 Function to evaluate the object. More...
 
virtual bool needsTruthInformation ()
 Indicates if the filter requires Monte Carlo information.
 
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 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::RelationFilter< CKFToPXDState >
 The parent class.
 

Private Attributes

int m_param_hitJumping = 0
 Parameter: Make it possible to jump over N layers.
 
AFilter m_filter
 Filter for rejecting the states.
 
APrefilter m_prefilter
 Loose pre-filter to reject possibleTos.
 
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 APrefilter = AFilter>
class Belle2::LayerPXDRelationFilter< AFilter, APrefilter >

Base filter for CKF PXD states.

Definition at line 30 of file LayerPXDRelationFilter.dcl.h.

Member Function Documentation

◆ operator()() [1/3]

virtual Weight operator() ( const Object obj)
virtualinherited

Function to evaluate the object.

Base implementation accepts all objects.

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

◆ operator()() [2/3]

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 60 of file Filter.icc.h.

◆ operator()() [3/3]

Weight operator() ( const Relation< CKFToPXDState > &  relation)
overrideinherited

Main filter method overriding the filter interface method.

Checks the validity of the pointers in the relation and unpacks the relation to the method implementing the rejection.

Definition at line 52 of file RelationFilter.icc.h.


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