Belle II Software
release-08-01-10
|
Filter for >= 3 hits using QualityEstimators. More...
#include <QualityIndicatorFilter.h>
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 BasePathFilter::Object &pair) override |
Return the weight based on the quality estimator. More... | |
void | exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) override |
Expose the parameters. | |
void | initialize () override |
initialize quality estimator | |
void | beginRun () override |
set BField value for estimator | |
virtual bool | needsTruthInformation () |
Indicates if the filter requires Monte Carlo information. | |
Weight | operator() (const Object *obj) |
Function to evaluate the object. More... | |
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 | |
std::string | m_EstimationMethod = "tripletFit" |
Identifier which estimation method to use. More... | |
std::string | m_MCRecoTracksStoreArrayName = "MCRecoTracks" |
sets the name of the expected StoreArray containing MCRecoTracks. Only required for MCInfo method | |
bool | m_MCStrictQualityEstimator = true |
Only required for MCInfo method. | |
std::unique_ptr< QualityEstimatorBase > | m_estimator |
pointer to the selected QualityEstimator | |
double | m_QIcut = 0.0 |
cut on quality indicator | |
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. | |
Filter for >= 3 hits using QualityEstimators.
Definition at line 22 of file QualityIndicatorFilter.h.
|
overridevirtual |
Return the weight based on the quality estimator.
Returns the QI value obtained from the fit with the chosen QualityEstimator if above the m_QIcut, and NAN if the QI is below the cut.
Reimplemented from Filter< AObject >.
Definition at line 69 of file QualityIndicatorFilter.cc.
|
inherited |
Function to evaluate the object.
Base implementation accepts all objects, except nullptr.
obj | The object to be accepted or rejected. |
Definition at line 58 of file Filter.icc.h.
|
private |
Identifier which estimation method to use.
Valid identifiers are: mcInfo, circleFit, tripletFit, helixFit
Definition at line 39 of file QualityIndicatorFilter.h.