Belle II Software  release-08-01-10
QualityIndicatorFilter.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 #pragma once
9 
10 #include <tracking/vxdHoughTracking/filters/pathFilters/BasePathFilter.h>
11 #include <tracking/vxdHoughTracking/entities/VXDHoughState.h>
12 #include <tracking/trackFindingVXD/trackQualityEstimators/QualityEstimatorBase.h>
13 
14 namespace Belle2 {
19  namespace vxdHoughTracking {
20 
23  public:
27  TrackFindingCDC::Weight operator()(const BasePathFilter::Object& pair) override;
29  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override;
30 
32  void initialize() override;
34  void beginRun() override;
35 
36  private:
39  std::string m_EstimationMethod = "tripletFit";
41  std::string m_MCRecoTracksStoreArrayName = "MCRecoTracks";
45  std::unique_ptr<QualityEstimatorBase> m_estimator;
46 
48  double m_QIcut = 0.0;
49  };
50 
51  }
53 }
The Module parameter list class.
Base class for filters on a generic object type.
Definition: Filter.dcl.h:29
AObject Object
Type of the object to be analysed.
Definition: Filter.dcl.h:33
Filter for >= 3 hits using QualityEstimators.
bool m_MCStrictQualityEstimator
Only required for MCInfo method.
void initialize() override
initialize quality estimator
std::string m_EstimationMethod
Identifier which estimation method to use.
TrackFindingCDC::Weight operator()(const BasePathFilter::Object &pair) override
Return the weight based on the quality estimator.
void beginRun() override
set BField value for estimator
std::string m_MCRecoTracksStoreArrayName
sets the name of the expected StoreArray containing MCRecoTracks. Only required for MCInfo method
std::unique_ptr< QualityEstimatorBase > m_estimator
pointer to the selected QualityEstimator
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters.
Abstract base class for different kinds of events.