Belle II Software  release-08-01-10
QualityEstimatorTripletFit.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 
9 #pragma once
10 
11 #include <tracking/trackFindingVXD/trackQualityEstimators/QualityEstimatorBase.h>
12 
13 namespace Belle2 {
22 
23  public:
24 
29  virtual double estimateQuality(std::vector<SpacePoint const*> const& measurements) final;
30 
35  virtual QualityEstimationResults estimateQualityAndProperties(std::vector<SpacePoint const*> const& measurements) final;
36 
37  protected:
38  // some variables that are required for the optional results, but are calculated by 'estimateQuality' anyways
39  std::vector<double> m_alphas;
40  std::vector<double> m_thetas;
41  std::vector<double> m_R3Ds;
42  std::vector<double> m_sigmaR3DSquareds;
44  double m_averageR3D = 0;
47 
52  double m_materialBudgetFactor = 1.45;
53 
57  double m_maxPt = 0.01;
58  };
60 }
61 
BaseClass for QualityEstimators.
does a tripletFit of the given hits The filter is based on the paper 'A New Three-Dimensional Track F...
std::vector< double > m_R3Ds
3D radius
double m_materialBudgetFactor
Triplet Fit hyper parameters.
std::vector< double > m_thetas
angle theta
virtual QualityEstimationResults estimateQualityAndProperties(std::vector< SpacePoint const * > const &measurements) final
perform quality estimation and extract additional information from the fit
virtual double estimateQuality(std::vector< SpacePoint const * > const &measurements) final
Calculating the quality estimate using a triplet fit.
double m_maxPt
Cut off value for 3D Radius calculated in Triplet Fit.
std::vector< double > m_sigmaR3DSquareds
squared error of 3D radius
std::vector< double > m_alphas
angle alpha
Abstract base class for different kinds of events.
Container for complete fit/estimation results.