Belle II Software development
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/trackFindingVXD/trackQualityEstimators/QualityEstimatorBase.h>
12
13namespace Belle2 {
18 namespace vxdHoughTracking {
19
21 class QualityIndicatorFilter : public BasePathFilter {
22 public:
26 TrackFindingCDC::Weight operator()(const BasePathFilter::Object& pair) override;
28 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override;
29
31 void initialize() override;
33 void beginRun() override;
34
35 private:
38 std::string m_EstimationMethod = "tripletFit";
40 std::string m_MCRecoTracksStoreArrayName = "MCRecoTracks";
42 std::unique_ptr<QualityEstimatorBase> m_estimator;
43
45 double m_QIcut = 0.0;
46
49 };
50
51 }
53}
The Module parameter list class.
std::pair< const std::vector< TrackFindingCDC::WithWeight< const VXDHoughState * > >, VXDHoughState * > Object
Definition Filter.dcl.h:35
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.
STL class.
Abstract base class for different kinds of events.