 |
Belle II Software
release-05-01-25
|
13 #include <boost/optional.hpp>
15 #include <framework/geometry/B2Vector3.h>
16 #include <tracking/spacePointCreation/SpacePoint.h>
28 struct QualityEstimationResults {
32 boost::optional<double>
pt;
33 boost::optional<double>
pmag;
34 boost::optional<B2Vector3<double>>
p;
63 virtual double estimateQuality(std::vector<SpacePoint const*>
const& measurements) = 0;
boost::optional< B2Vector3< double > > p
momentum vector estimate from the QE
Container for complete fit/estimation results.
boost::optional< double > pmag
momentum magnitute estimate from the QE
boost::optional< double > chiSquared
chi squared value obtained by the fit of the QE
double qualityIndicator
return value of the quality estimator
void setMagneticFieldStrength(double magneticFieldZ=1.5)
Setter for z component of magnetic field.
boost::optional< double > pt
transverse momentum estimate from the QE
virtual ~QualityEstimatorBase()=default
Destructor.
QualityEstimatorBase()
Constructor.
Abstract base class for different kinds of events.
double m_magneticFieldZ
Member storing the z component of the magnetic field.
double calcPt(double const radius) const
Returns a value for the transverse momentum in GeV calculated from a provided radius.
boost::optional< short > curvatureSign
direction of curvature as obtained by the QE
BaseClass for QualityEstimators.
virtual QualityEstimationResults estimateQualityAndProperties(std::vector< SpacePoint const * > const &measurements)
Quality estimation providing additional quantities Calculates quality indicator in range [0,...
QualityEstimationResults m_results
Result of the quality estimation This is stored as a member variable, because some values may be calc...
virtual double estimateQuality(std::vector< SpacePoint const * > const &measurements)=0
Minimal implementation of the quality estimation Calculates quality indicator in range [0,...