Belle II Software  release-05-01-25
QualityEstimatorTripletFit.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2017 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Felix Metzner, Jonas Wagner *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <tracking/trackFindingVXD/trackQualityEstimators/QualityEstimatorBase.h>
14 
15 namespace Belle2 {
23  class QualityEstimatorTripletFit final : public QualityEstimatorBase {
24 
25  public:
26 
31  virtual double estimateQuality(std::vector<SpacePoint const*> const& measurements) final;
32 
37  virtual QualityEstimationResults estimateQualityAndProperties(std::vector<SpacePoint const*> const& measurements) final;
38 
39  protected:
40  // some variables that are required for the optional results, but are calculated by 'estimateQuality' anyways
41  std::vector<double> m_alphas;
42  std::vector<double> m_thetas;
43  std::vector<double> m_R3Ds;
44  std::vector<double> m_sigmaR3DSquareds;
46  double m_averageR3D = 0;
48 
54  double m_materialBudgetFactor = 1.45;
55 
59  double m_maxPt = 0.01;
60  };
62 }
63 
Belle2::QualityEstimatorTripletFit::m_thetas
std::vector< double > m_thetas
angle theta
Definition: QualityEstimatorTripletFit.h:50
Belle2::QualityEstimationResults
Container for complete fit/estimation results.
Definition: QualityEstimatorBase.h:36
Belle2::QualityEstimatorTripletFit::m_alphas
std::vector< double > m_alphas
angle alpha
Definition: QualityEstimatorTripletFit.h:49
Belle2::QualityEstimatorTripletFit::m_materialBudgetFactor
double m_materialBudgetFactor
Triplet Fit hyper parameters.
Definition: QualityEstimatorTripletFit.h:62
Belle2::QualityEstimatorTripletFit::estimateQualityAndProperties
virtual QualityEstimationResults estimateQualityAndProperties(std::vector< SpacePoint const * > const &measurements) final
perform quality estimation and extract additional information from the fit
Definition: QualityEstimatorTripletFit.cc:170
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::QualityEstimatorTripletFit::estimateQuality
virtual double estimateQuality(std::vector< SpacePoint const * > const &measurements) final
Calculating the quality estimate using a triplet fit.
Definition: QualityEstimatorTripletFit.cc:24
Belle2::QualityEstimatorTripletFit::m_sigmaR3DSquareds
std::vector< double > m_sigmaR3DSquareds
squared error of 3D radius
Definition: QualityEstimatorTripletFit.h:52
Belle2::QualityEstimatorTripletFit::m_R3Ds
std::vector< double > m_R3Ds
3D radius
Definition: QualityEstimatorTripletFit.h:51
Belle2::QualityEstimatorTripletFit::m_averageR3D
double m_averageR3D
average 3D radius
Definition: QualityEstimatorTripletFit.h:54
Belle2::QualityEstimatorTripletFit::m_maxPt
double m_maxPt
Cut off value for 3D Radius calculated in Triplet Fit.
Definition: QualityEstimatorTripletFit.h:67