![]() |
Belle II Software
release-05-02-19
|
Alignment constants constants for all 16 modules. More...
#include <TOPCalModuleAlignment.h>


Public Types | |
| enum | EStatus { c_Default = 0, c_Calibrated = 1, c_Unusable = 2 } |
| Calibration status of a constant. More... | |
Public Member Functions | |
| TOPCalModuleAlignment () | |
| Default constructor All the calibrations constants and the related errors are set to zero. | |
| void | setAlpha (int moduleID, double alpha, double errAlpha) |
| Sets the angle alpha on a single module. More... | |
| void | setBeta (int moduleID, double beta, double errBeta) |
| Sets the angle beta on a single module. More... | |
| void | setGamma (int moduleID, double gamma, double errGamma) |
| Sets the angle gamma on a single module. More... | |
| void | setX (int moduleID, double x, double errX) |
| Sets the displacement x on a single module. More... | |
| void | setY (int moduleID, double y, double errY) |
| Sets the displacement y on a single module. More... | |
| void | setZ (int moduleID, double z, double errZ) |
| Sets the displacement z on a single module. More... | |
| void | setCalibrated (int moduleID) |
| Switches calibration status to calibrated. More... | |
| void | setUnusable (int moduleID) |
| Switches calibration status to unusable to flag badly calibrated constant. More... | |
| double | getAlpha (int moduleID) const |
| Gets the angle alpha on a single module. More... | |
| double | getBeta (int moduleID) const |
| Gets the angle beta on a single module. More... | |
| double | getGamma (int moduleID) const |
| Gets the angle gamma on a single module. More... | |
| double | getX (int moduleID) const |
| Returns the shift x on a single module. More... | |
| double | getY (int moduleID) const |
| Returns the shift y on a single module. More... | |
| double | getZ (int moduleID) const |
| Returns the shift z on a single module. More... | |
| double | getAlphaErr (int moduleID) const |
| Returns the error on alpha on a single module. More... | |
| double | getBetaErr (int moduleID) const |
| Returns the error on beta on a single module. More... | |
| double | getGammaErr (int moduleID) const |
| Returns the error on gamma on a single module. More... | |
| double | getXErr (int moduleID) const |
| Returns the error on x on a single module. More... | |
| double | getYErr (int moduleID) const |
| Returns the error on y on a single module. More... | |
| double | getZErr (int moduleID) const |
| Returns the error on z on a single module. More... | |
| bool | isCalibrated (int moduleID) const |
| Returns calibration status. More... | |
| bool | isDefault (int moduleID) const |
| Returns calibration status. More... | |
| bool | isUnusable (int moduleID) const |
| Returns calibration status. More... | |
| bool | areAllCalibrated () const |
| Returns true if all modules are calibrated. | |
| bool | areAllPrecise (double spatialPrecision, double angularPrecision) const |
| Returns true if calibration precision for all modules is within specified values. More... | |
Private Types | |
| enum | { c_numModules = 16 } |
| Sizes. More... | |
Private Member Functions | |
| ClassDef (TOPCalModuleAlignment, 3) | |
| ClassDef. | |
Private Attributes | |
| float | m_alpha [c_numModules] = {0} |
| rotation angle around the x axis | |
| float | m_beta [c_numModules] = {0} |
| rotation angle around the y axis | |
| float | m_gamma [c_numModules] = {0} |
| rotation angle around the z axis | |
| float | m_x [c_numModules] = {0} |
| displacement along the x axis | |
| float | m_y [c_numModules] = {0} |
| displacement along the y axis | |
| float | m_z [c_numModules] = {0} |
| displacement along the z axis | |
| float | m_errAlpha [c_numModules] = {0} |
| error on alpha | |
| float | m_errBeta [c_numModules] = {0} |
| error on beta | |
| float | m_errGamma [c_numModules] = {0} |
| error on gamma | |
| float | m_errX [c_numModules] = {0} |
| error on the x displacement | |
| float | m_errY [c_numModules] = {0} |
| error on the y displacement | |
| float | m_errZ [c_numModules] = {0} |
| error on the z displacement | |
| EStatus | m_status [c_numModules] = {c_Default} |
| calibration status | |
Alignment constants constants for all 16 modules.
The constants are three rotation angles around the x, y and z axes (alpha, beta, gamma), and three shifts along the same axes (x, y, z). From muon events.
Definition at line 34 of file TOPCalModuleAlignment.h.
|
private |
Sizes.
| Enumerator | |
|---|---|
| c_numModules | number of modules |
Definition at line 234 of file TOPCalModuleAlignment.h.
| enum EStatus |
Calibration status of a constant.
| Enumerator | |
|---|---|
| c_Default | uncalibrated default value |
| c_Calibrated | good calibrated value |
| c_Unusable | bad calibrated value |
Definition at line 40 of file TOPCalModuleAlignment.h.