\hypertarget{_alignments_printer_8cpp}{\section{/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-Core/src/\-Alignments\-Printer.cpp File Reference}
\label{_alignments_printer_8cpp}\index{/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-Core/src/\-Alignments\-Printer.\-cpp@{/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-Core/src/\-Alignments\-Printer.\-cpp}}
}
{\ttfamily \#include \char`\"{}D\-D4hep/\-Printout.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}D\-D4hep/\-Det\-Align.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}D\-D4hep/\-Alignments\-Printer.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}D\-D4hep/objects/\-Alignments\-Interna.\-h\char`\"{}}\\*
{\ttfamily \#include $<$sstream$>$}\\*
{\ttfamily \#include \char`\"{}T\-Class.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}D\-D4hep/\-To\-Stream.\-h\char`\"{}}\\*
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
static string \hyperlink{_alignments_printer_8cpp_a872d0068dab615f3614c6fb1657e2307}{replace\-\_\-all} (const string \&in, const string \&from, const string \&to)
\item 
static string \hyperlink{_alignments_printer_8cpp_a3bcc1a8b6f72f6776741ba55aa3f6592}{\-\_\-transform\-Point2\-World} (const \hyperlink{class_d_d4hep_1_1_alignments_1_1_alignment_a5ff6a2c0b838274552fbac2f52b9a652}{Alignment\-::\-Data} \&data, const \hyperlink{namespace_d_d4hep_1_1_geometry_a55083902099d03506c6db01b80404900}{Position} \&local)
\item 
static string \hyperlink{_alignments_printer_8cpp_ace32d1dd5e6d43b08243a355cfeb356c}{\-\_\-transform\-Point2\-Detector} (const \hyperlink{class_d_d4hep_1_1_alignments_1_1_alignment_a5ff6a2c0b838274552fbac2f52b9a652}{Alignment\-::\-Data} \&data, const \hyperlink{namespace_d_d4hep_1_1_geometry_a55083902099d03506c6db01b80404900}{Position} \&local)
\item 
static void \hyperlink{_alignments_printer_8cpp_ab67b42cc4c68ddd742e1dac97fa5efbb}{print\-Alignment\-Ex} (const string \&prefix, const string \&opt, \hyperlink{class_d_d4hep_1_1_geometry_1_1_det_element}{Det\-Element} de, \hyperlink{class_d_d4hep_1_1_alignments_1_1_alignment}{Alignment} alignment)
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{_alignments_printer_8cpp_ace32d1dd5e6d43b08243a355cfeb356c}{\index{Alignments\-Printer.\-cpp@{Alignments\-Printer.\-cpp}!\-\_\-transform\-Point2\-Detector@{\-\_\-transform\-Point2\-Detector}}
\index{\-\_\-transform\-Point2\-Detector@{\-\_\-transform\-Point2\-Detector}!AlignmentsPrinter.cpp@{Alignments\-Printer.\-cpp}}
\subsubsection[{\-\_\-transform\-Point2\-Detector}]{\setlength{\rightskip}{0pt plus 5cm}static string \-\_\-transform\-Point2\-Detector (
\begin{DoxyParamCaption}
\item[{const {\bf Alignment\-::\-Data} \&}]{data, }
\item[{const {\bf Position} \&}]{local}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{_alignments_printer_8cpp_ace32d1dd5e6d43b08243a355cfeb356c}


Definition at line 131 of file Alignments\-Printer.\-cpp.



References D\-D4hep\-::\-Alignments\-::\-Alignment\-Data\-::local\-To\-Detector().



Referenced by print\-Alignment\-Ex().

\hypertarget{_alignments_printer_8cpp_a3bcc1a8b6f72f6776741ba55aa3f6592}{\index{Alignments\-Printer.\-cpp@{Alignments\-Printer.\-cpp}!\-\_\-transform\-Point2\-World@{\-\_\-transform\-Point2\-World}}
\index{\-\_\-transform\-Point2\-World@{\-\_\-transform\-Point2\-World}!AlignmentsPrinter.cpp@{Alignments\-Printer.\-cpp}}
\subsubsection[{\-\_\-transform\-Point2\-World}]{\setlength{\rightskip}{0pt plus 5cm}static string \-\_\-transform\-Point2\-World (
\begin{DoxyParamCaption}
\item[{const {\bf Alignment\-::\-Data} \&}]{data, }
\item[{const {\bf Position} \&}]{local}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{_alignments_printer_8cpp_a3bcc1a8b6f72f6776741ba55aa3f6592}


Definition at line 123 of file Alignments\-Printer.\-cpp.



References D\-D4hep\-::\-Alignments\-::\-Alignment\-Data\-::local\-To\-World().



Referenced by print\-Alignment\-Ex().

\hypertarget{_alignments_printer_8cpp_ab67b42cc4c68ddd742e1dac97fa5efbb}{\index{Alignments\-Printer.\-cpp@{Alignments\-Printer.\-cpp}!print\-Alignment\-Ex@{print\-Alignment\-Ex}}
\index{print\-Alignment\-Ex@{print\-Alignment\-Ex}!AlignmentsPrinter.cpp@{Alignments\-Printer.\-cpp}}
\subsubsection[{print\-Alignment\-Ex}]{\setlength{\rightskip}{0pt plus 5cm}static void print\-Alignment\-Ex (
\begin{DoxyParamCaption}
\item[{const string \&}]{prefix, }
\item[{const string \&}]{opt, }
\item[{{\bf Det\-Element}}]{de, }
\item[{{\bf Alignment}}]{alignment}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{_alignments_printer_8cpp_ab67b42cc4c68ddd742e1dac97fa5efbb}
The edge positions of the bounding box\-: 

Definition at line 139 of file Alignments\-Printer.\-cpp.



References \-\_\-transform\-Point2\-Detector(), \-\_\-transform\-Point2\-World(), D\-D4hep\-::\-Alignments\-::\-Alignment\-Data\-::condition, D\-D4hep\-::\-Alignments\-::\-Alignment\-::data(), D\-D4hep\-::\-Alignments\-::\-Alignment\-Data\-::delta, D\-D4hep\-::\-Alignments\-::\-Alignment\-Data\-::detector\-Trafo, D\-D4hep\-::\-Alignments\-::\-Delta\-::has\-Pivot(), D\-D4hep\-::\-Alignments\-::\-Delta\-::has\-Rotation(), D\-D4hep\-::\-Alignments\-::\-Delta\-::has\-Translation(), D\-D4hep\-::\-I\-N\-F\-O, D\-D4hep\-::\-Conditions\-::\-Condition\-::iov(), D\-D4hep\-::\-Handle$<$ T $>$\-::is\-Valid(), D\-D4hep\-::\-Geometry\-::\-Det\-Element\-::parent(), D\-D4hep\-::\-Geometry\-::\-Det\-Element\-::path(), D\-D4hep\-::\-Alignments\-::\-Delta\-::pivot, D\-D4hep\-::\-Geometry\-::\-Det\-Element\-::placement(), D\-D4hep\-::printout(), D\-D4hep\-::\-Handle$<$ T $>$\-::ptr(), replace\-\_\-all(), D\-D4hep\-::\-Alignments\-::\-Delta\-::rotation, D\-D4hep\-::\-Geometry\-::\-Volume\-::solid(), D\-D4hep\-::\-I\-O\-V\-::str(), D\-D4hep\-::\-Utils\-::to\-Stream(), D\-D4hep\-::\-Alignments\-::\-Delta\-::translation, D\-D4hep\-::\-Geometry\-::\-Placed\-Volume\-::volume(), D\-D4hep\-::\-Geometry\-::\-Det\-Element\-::world(), D\-D4hep\-::\-Alignments\-::\-Alignment\-Data\-::world\-Trafo, D\-D4hep\-::\-Geometry\-::\-Box\-::x(), D\-D4hep\-::\-Geometry\-::\-Box\-::y(), and D\-D4hep\-::\-Geometry\-::\-Box\-::z().



Referenced by D\-D4hep\-::\-Alignments\-::print\-Element\-Placement().

\hypertarget{_alignments_printer_8cpp_a872d0068dab615f3614c6fb1657e2307}{\index{Alignments\-Printer.\-cpp@{Alignments\-Printer.\-cpp}!replace\-\_\-all@{replace\-\_\-all}}
\index{replace\-\_\-all@{replace\-\_\-all}!AlignmentsPrinter.cpp@{Alignments\-Printer.\-cpp}}
\subsubsection[{replace\-\_\-all}]{\setlength{\rightskip}{0pt plus 5cm}static string replace\-\_\-all (
\begin{DoxyParamCaption}
\item[{const string \&}]{in, }
\item[{const string \&}]{from, }
\item[{const string \&}]{to}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{_alignments_printer_8cpp_a872d0068dab615f3614c6fb1657e2307}


Definition at line 116 of file Alignments\-Printer.\-cpp.



Referenced by print\-Alignment\-Ex().

