\hypertarget{_matrix_helpers_8h}{\section{/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-Core/include/\-D\-D4hep/\-Matrix\-Helpers.h File Reference}
\label{_matrix_helpers_8h}\index{/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-Core/include/\-D\-D4hep/\-Matrix\-Helpers.\-h@{/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-Core/include/\-D\-D4hep/\-Matrix\-Helpers.\-h}}
}
{\ttfamily \#include \char`\"{}D\-D4hep/\-Objects.\-h\char`\"{}}\\*
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
\hyperlink{namespace_d_d4hep}{D\-D4hep}
\begin{DoxyCompactList}\small\item\em Namespace for the A\-I\-D\-A detector description toolkit. \end{DoxyCompactList}\item 
\hyperlink{namespace_d_d4hep_1_1_geometry}{D\-D4hep\-::\-Geometry}
\begin{DoxyCompactList}\small\item\em Namespace for the geometry part of the A\-I\-D\-A detector description toolkit. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef Position \hyperlink{namespace_d_d4hep_1_1_geometry_ab195c63789d4928d291d3b5522151aaa}{D\-D4hep\-::\-Geometry\-::\-X\-Y\-Z\-Angles}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
T\-Geo\-Identity $\ast$ \hyperlink{group___d_d4_h_e_p___g_e_o_m_e_t_r_y_gacb7266110e19d4dda6cc6b2ebc57bd39}{D\-D4hep\-::\-Geometry\-::identity\-Transform} ()
\begin{DoxyCompactList}\small\item\em Access the T\-Geo identity transformation  \end{DoxyCompactList}\item 
T\-Geo\-Translation $\ast$ \hyperlink{group___d_d4_h_e_p___g_e_o_m_e_t_r_y_ga2a9c214ef0a2444cccf194669fe81771}{D\-D4hep\-::\-Geometry\-::\-\_\-translation} (const Geometry\-::\-Position \&pos)
\begin{DoxyCompactList}\small\item\em Convert a Position object to a T\-Geo\-Translation  \end{DoxyCompactList}\item 
T\-Geo\-Rotation $\ast$ \hyperlink{group___d_d4_h_e_p___g_e_o_m_e_t_r_y_gac468c0a81631e0a1c052094131f9d680}{D\-D4hep\-::\-Geometry\-::\-\_\-rotation\-Z\-Y\-X} (const Geometry\-::\-Rotation\-Z\-Y\-X \&rot)
\begin{DoxyCompactList}\small\item\em Convert a Rotation\-Z\-Y\-X object to a T\-Geo\-Rotation  \end{DoxyCompactList}\item 
T\-Geo\-Rotation $\ast$ \hyperlink{group___d_d4_h_e_p___g_e_o_m_e_t_r_y_ga1dc4cc8b92d11d2fc874ed142c7b1bbc}{D\-D4hep\-::\-Geometry\-::\-\_\-rotation3\-D} (const Geometry\-::\-Rotation3\-D \&rot)
\begin{DoxyCompactList}\small\item\em Convert a Rotation3\-D object to a T\-Geo\-Rotation  \end{DoxyCompactList}\item 
T\-Geo\-H\-Matrix $\ast$ \hyperlink{group___d_d4_h_e_p___g_e_o_m_e_t_r_y_ga01d65a905944a17404358ea0116d4dd3}{D\-D4hep\-::\-Geometry\-::\-\_\-transform} (const Geometry\-::\-Transform3\-D \&trans)
\begin{DoxyCompactList}\small\item\em Convert a Transform3\-D object to a T\-Geo\-H\-Matrix  \end{DoxyCompactList}\item 
T\-Geo\-H\-Matrix $\ast$ \hyperlink{group___d_d4_h_e_p___g_e_o_m_e_t_r_y_ga543149f9fccc6961eb19ab307f96e192}{D\-D4hep\-::\-Geometry\-::\-\_\-transform} (const Geometry\-::\-Position \&pos)
\begin{DoxyCompactList}\small\item\em Convert a Position object to a T\-Geo\-H\-Matrix  \end{DoxyCompactList}\item 
T\-Geo\-H\-Matrix $\ast$ \hyperlink{group___d_d4_h_e_p___g_e_o_m_e_t_r_y_gaf3a07560a5302fbb20eed5a933e611d8}{D\-D4hep\-::\-Geometry\-::\-\_\-transform} (const Geometry\-::\-Rotation\-Z\-Y\-X \&rot)
\begin{DoxyCompactList}\small\item\em Convert a Rotation\-Z\-Y\-X object to a T\-Geo\-H\-Matrix  \end{DoxyCompactList}\item 
T\-Geo\-H\-Matrix $\ast$ \hyperlink{group___d_d4_h_e_p___g_e_o_m_e_t_r_y_ga2b988c5fb8e427e757080009b3a4856f}{D\-D4hep\-::\-Geometry\-::\-\_\-transform} (const Geometry\-::\-Rotation3\-D \&rot3\-D)
\begin{DoxyCompactList}\small\item\em Convert a Rotation3\-D object to a T\-Geo\-H\-Matrix  \end{DoxyCompactList}\item 
T\-Geo\-H\-Matrix $\ast$ \hyperlink{group___d_d4_h_e_p___g_e_o_m_e_t_r_y_gad6f7e93a5f8c5ae037658aa594d2f83b}{D\-D4hep\-::\-Geometry\-::\-\_\-transform} (const Geometry\-::\-Position \&pos, const Geometry\-::\-Rotation\-Z\-Y\-X \&rot)
\begin{DoxyCompactList}\small\item\em Convert a Position followed by a Rotation\-Z\-Y\-X to a T\-Geo\-H\-Matrix  \end{DoxyCompactList}\item 
T\-Geo\-H\-Matrix \& \hyperlink{group___d_d4_h_e_p___g_e_o_m_e_t_r_y_gae56d3e609e5195af8ba7271391b608e5}{D\-D4hep\-::\-Geometry\-::\-\_\-transform} (T\-Geo\-H\-Matrix \&mat, const Geometry\-::\-Transform3\-D \&trans)
\begin{DoxyCompactList}\small\item\em Set a Transform3\-D object to a T\-Geo\-H\-Matrix  \end{DoxyCompactList}\item 
T\-Geo\-H\-Matrix \& \hyperlink{group___d_d4_h_e_p___g_e_o_m_e_t_r_y_ga115e4b33b3d4b31fc0c2a2de57c8a14b}{D\-D4hep\-::\-Geometry\-::\-\_\-transform} (T\-Geo\-H\-Matrix \&mat, const Geometry\-::\-Position \&pos)
\begin{DoxyCompactList}\small\item\em Set a Position object (translation) to a T\-Geo\-H\-Matrix  \end{DoxyCompactList}\item 
T\-Geo\-H\-Matrix \& \hyperlink{group___d_d4_h_e_p___g_e_o_m_e_t_r_y_gae00745e30557512fe1da42fc705d42d1}{D\-D4hep\-::\-Geometry\-::\-\_\-transform} (T\-Geo\-H\-Matrix \&mat, const Geometry\-::\-Rotation\-Z\-Y\-X \&rot)
\begin{DoxyCompactList}\small\item\em Set a Rotation\-Z\-Y\-X object to a T\-Geo\-H\-Matrix  \end{DoxyCompactList}\item 
T\-Geo\-H\-Matrix \& \hyperlink{group___d_d4_h_e_p___g_e_o_m_e_t_r_y_ga249607824f27e539ae7a6d93d367afc6}{D\-D4hep\-::\-Geometry\-::\-\_\-transform} (T\-Geo\-H\-Matrix \&mat, const Geometry\-::\-Rotation3\-D \&rot3\-D)
\begin{DoxyCompactList}\small\item\em Set a Rotation3\-D object to a T\-Geo\-H\-Matrix  \end{DoxyCompactList}\item 
T\-Geo\-H\-Matrix \& \hyperlink{group___d_d4_h_e_p___g_e_o_m_e_t_r_y_ga71170881a8a2e3803a68f7e55d237188}{D\-D4hep\-::\-Geometry\-::\-\_\-transform} (T\-Geo\-H\-Matrix \&mat, const Geometry\-::\-Position \&pos, const Geometry\-::\-Rotation\-Z\-Y\-X \&rot)
\begin{DoxyCompactList}\small\item\em Set a Position followed by a Rotation\-Z\-Y\-X to a T\-Geo\-H\-Matrix  \end{DoxyCompactList}\item 
Geometry\-::\-Transform3\-D \hyperlink{group___d_d4_h_e_p___g_e_o_m_e_t_r_y_ga7d9b7297bf0cee38d702a6e460a030a1}{D\-D4hep\-::\-Geometry\-::\-\_\-transform} (const T\-Geo\-Matrix $\ast$matrix)
\begin{DoxyCompactList}\small\item\em Convert a T\-Geo\-Matrix object to a generic Transform3\-D  \end{DoxyCompactList}\item 
void \hyperlink{group___d_d4_h_e_p___g_e_o_m_e_t_r_y_ga9bb962c6fc39a0f8fc76420e08d24c7a}{D\-D4hep\-::\-Geometry\-::\-\_\-decompose} (const Geometry\-::\-Transform3\-D \&trafo, Geometry\-::\-Position \&pos, Geometry\-::\-Rotation\-Z\-Y\-X \&rot)
\begin{DoxyCompactList}\small\item\em Decompose a generic Transform3\-D into a translation (Position) and a Rotation\-Z\-Y\-X  \end{DoxyCompactList}\item 
void \hyperlink{group___d_d4_h_e_p___g_e_o_m_e_t_r_y_gad0cc5511671f40c3394c8688e7a2316f}{D\-D4hep\-::\-Geometry\-::\-\_\-decompose} (const Geometry\-::\-Transform3\-D \&trafo, Geometry\-::\-Position \&pos, \hyperlink{namespace_d_d4hep_1_1_geometry_ab195c63789d4928d291d3b5522151aaa}{X\-Y\-Z\-Angles} \&rot)
\begin{DoxyCompactList}\small\item\em Decompose a generic Transform3\-D into a translation (\hyperlink{namespace_d_d4hep_1_1_geometry_a55083902099d03506c6db01b80404900}{Geometry\-::\-Position}) and X\-Y\-Z\-Angles  \end{DoxyCompactList}\item 
void \hyperlink{group___d_d4_h_e_p___g_e_o_m_e_t_r_y_ga46814636f071d07ca4567f3244884664}{D\-D4hep\-::\-Geometry\-::\-\_\-decompose} (const Geometry\-::\-Transform3\-D \&trafo, Geometry\-::\-Translation3\-D \&pos, Geometry\-::\-Rotation\-Z\-Y\-X \&rot)
\begin{DoxyCompactList}\small\item\em Decompose a generic Transform3\-D into a translation (Translation3\-D) and a Rotation\-Z\-Y\-X  \end{DoxyCompactList}\item 
void \hyperlink{group___d_d4_h_e_p___g_e_o_m_e_t_r_y_gafde0308d492794fe4b55f66247921482}{D\-D4hep\-::\-Geometry\-::\-\_\-decompose} (const Geometry\-::\-Transform3\-D \&trafo, Geometry\-::\-Translation3\-D \&pos, \hyperlink{namespace_d_d4hep_1_1_geometry_ab195c63789d4928d291d3b5522151aaa}{X\-Y\-Z\-Angles} \&rot)
\begin{DoxyCompactList}\small\item\em Decompose a generic Transform3\-D into a translation (Translation3\-D) and X\-Y\-Z\-Angles  \end{DoxyCompactList}\item 
\hyperlink{namespace_d_d4hep_1_1_geometry_ab195c63789d4928d291d3b5522151aaa}{X\-Y\-Z\-Angles} \hyperlink{group___d_d4_h_e_p___g_e_o_m_e_t_r_y_ga446608ca1668ae2b3ad24c3ea5b2bc1e}{D\-D4hep\-::\-Geometry\-::\-\_\-\-X\-Y\-Zangles} (const double $\ast$matrix)
\begin{DoxyCompactList}\small\item\em Convert a 3x3 rotation matrix to X\-Y\-Z\-Angles  \end{DoxyCompactList}\item 
\hyperlink{namespace_d_d4hep_1_1_geometry_ab195c63789d4928d291d3b5522151aaa}{X\-Y\-Z\-Angles} \hyperlink{group___d_d4_h_e_p___g_e_o_m_e_t_r_y_gaf4d63a5a06b85c2a65143cc5f15a81fe}{D\-D4hep\-::\-Geometry\-::\-\_\-\-X\-Y\-Zangles} (const T\-Geo\-Matrix $\ast$matrix)
\begin{DoxyCompactList}\small\item\em Convert a the rotation part of a T\-Geo\-Matrix to X\-Y\-Z\-Angles  \end{DoxyCompactList}\end{DoxyCompactItemize}
