15 #include <Math/RotationZYX.h> 22 double _rot_x,
double _rot_x_u,
double _rot_y,
double _rot_y_u,
double _rot_z,
double _rot_z_u) :
23 sh_x(_sh_x), sh_y(_sh_y), sh_z(_sh_z),
24 sh_x_unc(_sh_x_u), sh_y_unc(_sh_y_u), sh_z_unc(_sh_z_u),
25 rot_x(_rot_x), rot_y(_rot_y), rot_z(_rot_z),
26 rot_x_unc(_rot_x_u), rot_y_unc(_rot_y_u), rot_z_unc(_rot_z_u)
33 double _rot_x,
double _rot_y,
double _rot_z) :
77 <<
"shift (um) " << std::setprecision(1)
81 <<
", rotation (mrad) " << std::setprecision(1)
std::ostream & operator<<(std::ostream &s, const CTPPSRPAlignmentCorrectionData &corr)
double getRotXUnc() const
double getRotYUnc() const
CTPPSRPAlignmentCorrectionData(double _sh_x, double _sh_x_u, double _sh_y, double _sh_y_u, double _sh_z, double _sh_z_u, double _rot_x, double _rot_x_u, double _rot_y, double _rot_y_u, double _rot_z, double _rot_z_u)
full constructor, shifts in mm, rotations in rad
double getRotZUnc() const
void add(const CTPPSRPAlignmentCorrectionData &, bool sumErrors=true, bool addSh=true, bool addRot=true)
Alignment correction for an element of the CT-PPS detector. Within the geometry description, every sensor (more generally every element) is given its translation and rotation. These two quantities shall be understood in local-to-global coordinate transform. That is, if r_l is a point in local coordinate system and x_g in global, then it holds.