Base filter for CKF PXD results (on overlap check) More...
#include <SizePXDResultFilter.h>
Public Types | |
using | Object |
Type of the filtered object. | |
using | Interface |
Mark this class as the basic interface. | |
Public Member Functions | |
void | exposeParameters (ModuleParamList *parameterList, const std::string &prefix) override |
Add the parameters of this filter to the given parameter list. | |
void | initialize () override |
Initialisation method sets up a reference to the value in the variable set to be returned. | |
Weight | operator() (const Object &object) override |
Returns the variable with the set requested name from the variable set. | |
virtual Weight | operator() (const Object &obj) |
Function to evaluate the object. | |
Weight | operator() (const Object *obj) |
Function to evaluate the object. | |
virtual std::vector< float > | operator() (const std::vector< Object * > &objs) |
Function to evaluate a vector of objects Base implementation applies the function to each object. | |
bool | needsTruthInformation () override |
Checks if any variables need Monte Carlo information. | |
std::unique_ptr< AVarSet > | releaseVarSet () && |
Steal the set of variables form this filter - filter becomes dysfunctional afterwards. | |
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 | |
AVarSet & | getVarSet () const |
Getter for the set of variables. | |
void | setVarSet (std::unique_ptr< AVarSet > varSet) |
Setter for the set of variables. | |
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 |
Type of the super class. | |
using | AVarSet |
Type of the variable set. | |
Private Attributes | |
std::string | m_param_varName |
Memory for the name of the variable selected as the return value of the filter. | |
Float_t * | m_variable |
Reference to the location of the value in the variable set to be returned. | |
std::unique_ptr< AVarSet > | m_varSet |
Instance of the variable set to be used in the filter. | |
std::vector< ProcessingSignalListener * > | m_subordinaryProcessingSignalListeners |
References to subordinary signal processing listener contained in this findlet. | |
bool | m_initialized |
Flag to keep track whether initialization happened before. | |
bool | m_terminated |
Flag to keep track whether termination happened before. | |
std::string | m_initializedAs |
Name of the type during initialisation. | |
Base filter for CKF PXD results (on overlap check)
Definition at line 19 of file SizePXDResultFilter.h.
|
privateinherited |
Type of the variable set.
Definition at line 44 of file ChoosableFromVarSetFilter.dcl.h.
|
inherited |
Mark this class as the basic interface.
Definition at line 38 of file Filter.dcl.h.
|
inherited |
Type of the filtered object.
Definition at line 84 of file ChoosableFromVarSetFilter.dcl.h.
|
privateinherited |
Type of the super class.
Definition at line 80 of file ChoosableFromVarSetFilter.dcl.h.
|
inline |
Definition at line 21 of file SizePXDResultFilter.h.
|
protectedinherited |
Register a processing signal listener to be notified.
Definition at line 53 of file CompositeProcessingSignalListener.cc.
|
overrideinherited |
Receive and dispatch signal for the start of a new event.
Definition at line 36 of file CompositeProcessingSignalListener.cc.
|
overrideinherited |
Receive and dispatch signal for the beginning of a new run.
Definition at line 33 of file CompositeProcessingSignalListener.cc.
|
overrideinherited |
Receive and dispatch signal for the end of the run.
Definition at line 39 of file CompositeProcessingSignalListener.cc.
|
overridevirtualinherited |
Add the parameters of this filter to the given parameter list.
Reimplemented from OnVarSet< Filter< PXDResultVarSet::Object > >.
Definition at line 57 of file ChoosableFromVarSetFilter.icc.h.
|
protectedinherited |
Get the number of currently registered listeners.
Definition at line 56 of file CompositeProcessingSignalListener.cc.
|
protectedinherited |
Getter for the set of variables.
Definition at line 64 of file FilterOnVarSet.icc.h.
|
overridevirtualinherited |
Initialisation method sets up a reference to the value in the variable set to be returned.
Reimplemented from ProcessingSignalListener.
Definition at line 60 of file ChoosableFromVarSetFilter.icc.h.
|
overrideinherited |
Checks if any variables need Monte Carlo information.
Definition at line 52 of file FilterOnVarSet.icc.h.
|
overrideinherited |
Returns the variable with the set requested name from the variable set.
Definition at line 63 of file ChoosableFromVarSetFilter.icc.h.
|
virtualinherited |
Function to evaluate the object.
Base implementation accepts all objects.
obj | The object to be accepted or rejected. |
Definition at line 59 of file Filter.icc.h.
|
inherited |
Function to evaluate the object.
Base implementation accepts all objects, except nullptr.
obj | The object to be accepted or rejected. |
Definition at line 69 of file Filter.icc.h.
|
virtualinherited |
Function to evaluate a vector of objects Base implementation applies the function to each object.
Can be optimized for MVA filters
objs | A vector of pointers to objects |
Definition at line 77 of file Filter.icc.h.
|
inherited |
Steal the set of variables form this filter - filter becomes dysfunctional afterwards.
Definition at line 60 of file FilterOnVarSet.icc.h.
|
protectedinherited |
Setter for the set of variables.
Definition at line 67 of file FilterOnVarSet.icc.h.
|
overrideinherited |
Receive and dispatch Signal for termination of the event processing.
Definition at line 42 of file CompositeProcessingSignalListener.cc.
|
privateinherited |
Flag to keep track whether initialization happened before.
Definition at line 52 of file ProcessingSignalListener.h.
|
privateinherited |
Name of the type during initialisation.
Definition at line 58 of file ProcessingSignalListener.h.
|
privateinherited |
Memory for the name of the variable selected as the return value of the filter.
Definition at line 67 of file ChoosableFromVarSetFilter.dcl.h.
|
privateinherited |
References to subordinary signal processing listener contained in this findlet.
Definition at line 60 of file CompositeProcessingSignalListener.h.
|
privateinherited |
Flag to keep track whether termination happened before.
Definition at line 55 of file ProcessingSignalListener.h.
|
privateinherited |
Reference to the location of the value in the variable set to be returned.
Definition at line 70 of file ChoosableFromVarSetFilter.dcl.h.
|
privateinherited |
Instance of the variable set to be used in the filter.
Definition at line 74 of file FilterOnVarSet.dcl.h.