 |
Belle II Software
release-05-02-19
|
26 class TOPCalModuleAlignment:
public TObject {
50 void setAlpha(
int moduleID,
double alpha,
double errAlpha);
58 void setBeta(
int moduleID,
double beta,
double errBeta);
66 void setGamma(
int moduleID,
double gamma,
double errGamma);
74 void setX(
int moduleID,
double x,
double errX);
82 void setY(
int moduleID,
double y,
double errY);
90 void setZ(
int moduleID,
double z,
double errZ);
109 double getAlpha(
int moduleID)
const;
116 double getBeta(
int moduleID)
const;
123 double getGamma(
int moduleID)
const;
130 double getX(
int moduleID)
const;
137 double getY(
int moduleID)
const;
144 double getZ(
int moduleID)
const;
172 double getXErr(
int moduleID)
const;
179 double getYErr(
int moduleID)
const;
186 double getZErr(
int moduleID)
const;
219 bool areAllPrecise(
double spatialPrecision,
double angularPrecision)
const;
void setX(int moduleID, double x, double errX)
Sets the displacement x on a single module.
void setAlpha(int moduleID, double alpha, double errAlpha)
Sets the angle alpha on a single module.
@ c_Unusable
bad calibrated value
double getYErr(int moduleID) const
Returns the error on y on a single module.
bool areAllPrecise(double spatialPrecision, double angularPrecision) const
Returns true if calibration precision for all modules is within specified values.
double getX(int moduleID) const
Returns the shift x on a single module.
float m_errY[c_numModules]
error on the y displacement
bool isCalibrated(int moduleID) const
Returns calibration status.
double getBetaErr(int moduleID) const
Returns the error on beta on a single module.
double getXErr(int moduleID) const
Returns the error on x on a single module.
float m_beta[c_numModules]
rotation angle around the y axis
float m_errGamma[c_numModules]
error on gamma
TOPCalModuleAlignment()
Default constructor All the calibrations constants and the related errors are set to zero.
float m_errAlpha[c_numModules]
error on alpha
double getZErr(int moduleID) const
Returns the error on z on a single module.
@ c_Calibrated
good calibrated value
EStatus
Calibration status of a constant.
double getAlphaErr(int moduleID) const
Returns the error on alpha on a single module.
@ c_Default
uncalibrated default value
float m_errBeta[c_numModules]
error on beta
@ c_numModules
number of modules
float m_z[c_numModules]
displacement along the z axis
double getBeta(int moduleID) const
Gets the angle beta on a single module.
double getZ(int moduleID) const
Returns the shift z on a single module.
Abstract base class for different kinds of events.
void setGamma(int moduleID, double gamma, double errGamma)
Sets the angle gamma on a single module.
float m_gamma[c_numModules]
rotation angle around the z axis
double getGamma(int moduleID) const
Gets the angle gamma on a single module.
EStatus m_status[c_numModules]
calibration status
float m_x[c_numModules]
displacement along the x axis
double getY(int moduleID) const
Returns the shift y on a single module.
void setBeta(int moduleID, double beta, double errBeta)
Sets the angle beta on a single module.
void setUnusable(int moduleID)
Switches calibration status to unusable to flag badly calibrated constant.
float m_alpha[c_numModules]
rotation angle around the x axis
float m_errX[c_numModules]
error on the x displacement
double getGammaErr(int moduleID) const
Returns the error on gamma on a single module.
float m_y[c_numModules]
displacement along the y axis
double getAlpha(int moduleID) const
Gets the angle alpha on a single module.
ClassDef(TOPCalModuleAlignment, 3)
ClassDef.
bool isDefault(int moduleID) const
Returns calibration status.
bool isUnusable(int moduleID) const
Returns calibration status.
void setCalibrated(int moduleID)
Switches calibration status to calibrated.
void setY(int moduleID, double y, double errY)
Sets the displacement y on a single module.
bool areAllCalibrated() const
Returns true if all modules are calibrated.
void setZ(int moduleID, double z, double errZ)
Sets the displacement z on a single module.
float m_errZ[c_numModules]
error on the z displacement
Alignment constants constants for all 16 modules.