Belle II Software development
|
Testbeam: Coords: Sensors: ^ . More...
#include <QualityEstimatorLineFit3D.h>
Public Member Functions | |
virtual double | estimateQuality (std::vector< SpacePoint const * > const &measurements) final |
Minimal implementation of the quality estimation Calculates quality indicator in range [0,1]. | |
void | setMagneticFieldStrength (double magneticFieldZ=1.5) |
Setter for z component of magnetic field. | |
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 extra information. | |
Protected Member Functions | |
double | calcPt (double const radius) const |
Returns a value for the transverse momentum in GeV calculated from a provided radius. | |
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. | |
Testbeam: Coords: Sensors: ^ .
/| ./| ./| | ^ | | | | | | |Y /Z | | | | | | |/ |/ |/ |/ ----—> X
beam parallel to x. Measurement errors in y & z (v&u) With these conditions, the following approach using 2 independent 2D line fits is acceptable (if rotation is the same for all sensors): Models: Y_i = a*X_i + b Z_i = c*X_i + d
Definition at line 32 of file QualityEstimatorLineFit3D.h.
|
inlineprotectedinherited |
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.
|
finalvirtual |
Minimal implementation of the quality estimation Calculates quality indicator in range [0,1].
measurements - std::vector<SpacePoint const*> ordered from innermost to outermost measurement
Implements QualityEstimatorBase.
Definition at line 15 of file QualityEstimatorLineFit3D.cc.
|
inlinevirtualinherited |
Quality estimation providing additional quantities Calculates quality indicator in range [0,1] Optionally returns chi2 and additional extra information.
Eg. momentum estimation.
measurements - std::vector<SpacePoint const*> ordered from innermost to outermost measurement
Reimplemented in QualityEstimatorTripletFit, and QualityEstimatorMC.
Definition at line 68 of file QualityEstimatorBase.h.
|
inlineinherited |
Setter for z component of magnetic field.
magneticFieldZ | : value to set it to |
Definition at line 53 of file QualityEstimatorBase.h.
|
protectedinherited |
Member storing the z component of the magnetic field.
Definition at line 84 of file QualityEstimatorBase.h.
|
protectedinherited |
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.