![]() |
Belle II Software
release-05-02-19
|
Base filter for CKF PXD states. More...
#include <LayerPXDRelationFilter.dcl.h>
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. | |
Base filter for CKF PXD states.
Definition at line 30 of file LayerPXDRelationFilter.dcl.h.
|
virtualinherited |
Function to evaluate the object.
Base implementation accepts all objects.
obj | The object to be accepted or rejected. |
|
inherited |
Function to evaluate the object.
Base implementation accepts all objects, except nullptr.
obj | The object to be accepted or rejected. |
Definition at line 60 of file Filter.icc.h.
|
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.