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

Filter for relations based on the polar angle difference. More...

#include <SimpleRelationFilter.h>

Inheritance diagram for SimpleRelationFilter:
Collaboration diagram for SimpleRelationFilter:

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

TrackFindingCDC::Weight operator() (const std::pair< const VXDHoughState *, const VXDHoughState * > &relation) override
 Return the weight based on azimuthal-angle separation.
 
void exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) override
 Expose the parameters.
 
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 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 = ProcessingSignalListener
 Type of the base class.
 

Private Attributes

double m_SimpleThetaCutDeltaL0 = 0.05
 Cut on relations in theta for overlay region on same layer but different ladder.
 
double m_SimpleThetaCutDeltaL1 = 0.1
 Filter relations in theta between hit states where the layer difference is +-1.
 
double m_SimpleThetaCutDeltaL2 = 0.2
 Filter relations in theta between hit states where the layer difference is +-2.
 
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 based on the polar angle difference.

Definition at line 21 of file SimpleRelationFilter.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: