Belle II Software
release-08-01-10
|
BaseClass for QualityEstimators. More...
#include <QualityEstimatorBase.h>
Public Member Functions | |
QualityEstimatorBase () | |
Constructor. | |
virtual | ~QualityEstimatorBase ()=default |
Destructor. | |
void | setMagneticFieldStrength (double magneticFieldZ=1.5) |
Setter for z component of magnetic field. More... | |
virtual double | estimateQuality (std::vector< SpacePoint const * > const &measurements)=0 |
Minimal implementation of the quality estimation Calculates quality indicator in range [0,1]. More... | |
virtual QualityEstimationResults | estimateQualityAndProperties (std::vector< SpacePoint const * > const &measurements) |
Quality estimation providing additional quantities Calculates quality indicator in range [0,1] Optionally returns chi2 and additional informations. More... | |
Protected Member Functions | |
double | calcPt (double const radius) const |
Returns a value for the transverse momentum in GeV calculated from a provided radius. More... | |
Protected Attributes | |
double | m_magneticFieldZ = 1.5 |
Member storing the z component of the magnetic field. | |
QualityEstimationResults | m_results |
Result of the quality estimation This is stored as a member variable, because some values may be calculated by 'estimateQuality' anyways. More... | |
BaseClass for QualityEstimators.
m_magneticFieldZ - Z component of magnetic field m_results - Member object storing all optional results. estimateQuality - Minimal implementation of the quality estimation estimateQualityAndProperties - Additionally calculates other properties that can be derived from the fit.
Definition at line 41 of file QualityEstimatorBase.h.
|
inlineprotected |
Returns a value for the transverse momentum in GeV calculated from a provided radius.
Utilizing m_magneticFieldZ and hard coded speed of light
Definition at line 80 of file QualityEstimatorBase.h.
|
pure virtual |
Minimal implementation of the quality estimation Calculates quality indicator in range [0,1].
measurements - std::vector<SpacePoint const*> ordered from innermost to outermost measurement
Implemented in QualityEstimatorTripletFit, QualityEstimatorRiemannHelixFit, QualityEstimatorMC, QualityEstimatorLineFit3D, QualityEstimatorCircleFit, and QualityEstimatorRandom.
|
inlinevirtual |
Quality estimation providing additional quantities Calculates quality indicator in range [0,1] Optionally returns chi2 and additional informations.
Eg. momentum estimation.
measurements - std::vector<SpacePoint const*> ordered from innermost to outermost measurement
Reimplemented in QualityEstimatorMC, and QualityEstimatorTripletFit.
Definition at line 68 of file QualityEstimatorBase.h.
|
inline |
Setter for z component of magnetic field.
magneticFieldZ | : value to set it to |
Definition at line 53 of file QualityEstimatorBase.h.
|
protected |
Result of the quality estimation This is stored as a member variable, because some values may be calculated by 'estimateQuality' anyways.
Therefore they don't need to be calculated explicitly in 'estimateQualityAndProperties'.
Definition at line 90 of file QualityEstimatorBase.h.