7#include "GaudiKernel/SystemOfUnits.h"
11 ostr<<
"ALine AMDB id (name,eta,phi,job)=(";
12 ostr<<par.AmdbStation()<<
",";
13 ostr<<par.AmdbEta()<<
",";
14 ostr<<par.AmdbPhi()<<
",";
15 ostr<<par.AmdbJob()<<
"), ";
16 ostr<<
"translation (S/Y,Z,T/X)= (";
17 ostr<<par.getParameter(Parameter::transS)<<
",";
18 ostr<<par.getParameter(Parameter::transZ)<<
",";
19 ostr<<par.getParameter(Parameter::transT)<<
"), ";
20 ostr<<
"rotation angle";
21 ostr<<
" around S="<<par.getParameter(Parameter::rotS)<<
",";
22 ostr<<
" around Z="<<par.getParameter(Parameter::rotZ)<<
",";
23 ostr<<
" around T="<<par.getParameter(Parameter::rotT)<<
" ";
std::ostream & operator<<(std::ostream &ostr, const ALinePar &par)
Amg::Transform3D delta() const
Returns the final transformations of the A lines.
void setParameters(float s, float z, float t, float rotS, float rotZ, float rotT)
std::array< float, static_cast< unsigned int >(Parameter::numPars)> m_payload
Parameter
amdb frame (s, z, t) = chamber frame (y, z, x)
@ rotZ
Rotation around the s-axis.
@ transT
Translation along the z-axis.
@ rotS
Translation along the t-axis.
@ rotT
Rotation around the z-axis.
@ transZ
Translation along the s-axis.
float getParameter(const Parameter &p) const
Amg::Transform3D getRotateX3D(double angle)
get a rotation transformation around X-axis
Amg::Transform3D getTranslateZ3D(const double Z)
: Returns a shift transformation along the z-axis
Amg::Transform3D getTranslateY3D(const double Y)
: Returns a shift transformation along the y-axis
Amg::Transform3D getRotateZ3D(double angle)
get a rotation transformation around Z-axis
Eigen::Affine3d Transform3D
Amg::Transform3D getTranslateX3D(const double X)
: Returns a shift transformation along the x-axis
Amg::Transform3D getRotateY3D(double angle)
get a rotation transformation around Y-axis