\hypertarget{_geant4_converter_8cpp}{\section{/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-G4/src/\-Geant4\-Converter.cpp File Reference}
\label{_geant4_converter_8cpp}\index{/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-G4/src/\-Geant4\-Converter.\-cpp@{/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-G4/src/\-Geant4\-Converter.\-cpp}}
}
{\ttfamily \#include \char`\"{}D\-D4hep/\-L\-C\-D\-D.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}D\-D4hep/\-Plugins.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}D\-D4hep/\-Volumes.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}D\-D4hep/\-Printout.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}D\-D4hep/\-D\-D4hep\-Units.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}D\-D4hep/objects/\-Objects\-Interna.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}D\-D4hep/objects/\-Detector\-Interna.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}D\-D\-G4/\-Geant4\-Field.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}D\-D\-G4/\-Geant4\-Converter.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}D\-D\-G4/\-Geant4\-Sensitive\-Detector.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-R\-O\-O\-T.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Color.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Geo\-Node.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Geo\-Shape.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Geo\-Cone.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Geo\-Hype.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Geo\-Pcon.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Geo\-Eltu.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Geo\-Pgon.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Geo\-Sphere.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Geo\-Torus.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Geo\-Trd1.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Geo\-Trd2.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Geo\-Tube.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Geo\-Arb8.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Geo\-Matrix.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Geo\-Bool\-Node.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Geo\-Paraboloid.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Geo\-Composite\-Shape.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Geo\-Shape\-Assembly.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Geo\-Scaled\-Shape.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Geo\-Manager.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Class.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Math.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Vis\-Attributes.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Production\-Cuts.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-V\-User\-Region\-Information.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Element.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Box.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Trd.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Tubs.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Trap.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Cons.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Hype.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Torus.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Sphere.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Polycone.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Polyhedra.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Union\-Solid.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Paraboloid.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Ellipsoid.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Elliptical\-Tube.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Subtraction\-Solid.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Intersection\-Solid.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Region.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-User\-Limits.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Logical\-Volume.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Material.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Isotope.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Transform3\-D.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Three\-Vector.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-P\-V\-Placement.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Electro\-Magnetic\-Field.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Field\-Manager.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Reflection\-Factory.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}C\-L\-H\-E\-P/\-Units/\-System\-Of\-Units.\-h\char`\"{}}\\*
{\ttfamily \#include $<$iostream$>$}\\*
{\ttfamily \#include $<$iomanip$>$}\\*
{\ttfamily \#include $<$sstream$>$}\\*
{\ttfamily \#include \char`\"{}D\-D\-G4/\-Geant4\-Assembly\-Volume.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}D\-D4hep/\-Detector\-Tools.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Rotation\-Matrix.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-Affine\-Transform.\-hh\char`\"{}}\\*
{\ttfamily \#include \char`\"{}G4\-V\-Physical\-Volume.\-hh\char`\"{}}\\*
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
string \hyperlink{_geant4_converter_8cpp_ac5a01b817225c14295ef43363d867087}{print\-Solid} (G4\-V\-Solid $\ast$sol)
\item 
{\footnotesize template$<$typename O , typename C , typename F $>$ }\\void \hyperlink{_geant4_converter_8cpp_a4dabcd22f51e7d9e96dffe4760e42480}{handle\-Refs} (const O $\ast$o, const C \&c, F pmf)
\item 
{\footnotesize template$<$typename O , typename C , typename F $>$ }\\void \hyperlink{_geant4_converter_8cpp_a3789cd8800e1433fb917a1d6f85ef67d}{handle} (const O $\ast$o, const C \&c, F pmf)
\item 
{\footnotesize template$<$typename O , typename C , typename F $>$ }\\void \hyperlink{_geant4_converter_8cpp_a88236cad690d14cab8a1caeca7b02008}{handle\-Map} (const O $\ast$o, const C \&c, F pmf)
\item 
{\footnotesize template$<$typename O , typename C , typename F $>$ }\\void \hyperlink{_geant4_converter_8cpp_ac3076ac3d28045dcf7646e6e3873b14c}{handle\-R\-Map} (const O $\ast$o, const C \&c, F pmf)
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{_geant4_converter_8cpp_a3789cd8800e1433fb917a1d6f85ef67d}{\index{Geant4\-Converter.\-cpp@{Geant4\-Converter.\-cpp}!handle@{handle}}
\index{handle@{handle}!Geant4Converter.cpp@{Geant4\-Converter.\-cpp}}
\subsubsection[{handle}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename O , typename C , typename F $>$ void handle (
\begin{DoxyParamCaption}
\item[{const O $\ast$}]{o, }
\item[{const C \&}]{c, }
\item[{F}]{pmf}
\end{DoxyParamCaption}
)}}\label{_geant4_converter_8cpp_a3789cd8800e1433fb917a1d6f85ef67d}


Definition at line 984 of file Geant4\-Converter.\-cpp.



Referenced by D\-D4hep\-::\-Simulation\-::\-\_\-convert\-Action(), D\-D4hep\-::\-Simulation\-::\-\_\-convert\-Sensitive(), D\-D4hep\-::\-Simulation\-::\-Geant4\-Converter\-::create(), D\-D4hep\-::\-D\-D\-Rec\-::create\-Gear\-For\-C\-L\-I\-C(), D\-D4hep\-::\-D\-D\-Rec\-::create\-Gear\-For\-I\-L\-D(), handle\-R\-Map(), D\-D4hep\-::\-Alignments\-::\-D\-D\-Align\-Update\-Call\-::operator()(), D\-D4hep\-::\-Alignments\-::\-D\-D\-Align\-Forward\-Call\-::operator()(), D\-D4hep\-::\-Converter$<$ T, A\-R\-G $>$\-::operator()(), D\-D4hep\-::\-X\-M\-L\-::\-Element\-::operator=(), D\-D4hep\-::\-L\-C\-D\-D\-Load\-::process\-X\-M\-L(), and D\-D4hep\-::\-L\-C\-D\-D\-Load\-::process\-X\-M\-L\-Element().

\hypertarget{_geant4_converter_8cpp_a88236cad690d14cab8a1caeca7b02008}{\index{Geant4\-Converter.\-cpp@{Geant4\-Converter.\-cpp}!handle\-Map@{handle\-Map}}
\index{handle\-Map@{handle\-Map}!Geant4Converter.cpp@{Geant4\-Converter.\-cpp}}
\subsubsection[{handle\-Map}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename O , typename C , typename F $>$ void handle\-Map (
\begin{DoxyParamCaption}
\item[{const O $\ast$}]{o, }
\item[{const C \&}]{c, }
\item[{F}]{pmf}
\end{DoxyParamCaption}
)}}\label{_geant4_converter_8cpp_a88236cad690d14cab8a1caeca7b02008}


Definition at line 990 of file Geant4\-Converter.\-cpp.



Referenced by D\-D4hep\-::\-Simulation\-::\-Geant4\-Converter\-::create().

\hypertarget{_geant4_converter_8cpp_a4dabcd22f51e7d9e96dffe4760e42480}{\index{Geant4\-Converter.\-cpp@{Geant4\-Converter.\-cpp}!handle\-Refs@{handle\-Refs}}
\index{handle\-Refs@{handle\-Refs}!Geant4Converter.cpp@{Geant4\-Converter.\-cpp}}
\subsubsection[{handle\-Refs}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename O , typename C , typename F $>$ void handle\-Refs (
\begin{DoxyParamCaption}
\item[{const O $\ast$}]{o, }
\item[{const C \&}]{c, }
\item[{F}]{pmf}
\end{DoxyParamCaption}
)}}\label{_geant4_converter_8cpp_a4dabcd22f51e7d9e96dffe4760e42480}


Definition at line 978 of file Geant4\-Converter.\-cpp.



Referenced by D\-D4hep\-::\-Simulation\-::\-Geant4\-Converter\-::create().

\hypertarget{_geant4_converter_8cpp_ac3076ac3d28045dcf7646e6e3873b14c}{\index{Geant4\-Converter.\-cpp@{Geant4\-Converter.\-cpp}!handle\-R\-Map@{handle\-R\-Map}}
\index{handle\-R\-Map@{handle\-R\-Map}!Geant4Converter.cpp@{Geant4\-Converter.\-cpp}}
\subsubsection[{handle\-R\-Map}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename O , typename C , typename F $>$ void handle\-R\-Map (
\begin{DoxyParamCaption}
\item[{const O $\ast$}]{o, }
\item[{const C \&}]{c, }
\item[{F}]{pmf}
\end{DoxyParamCaption}
)}}\label{_geant4_converter_8cpp_ac3076ac3d28045dcf7646e6e3873b14c}


Definition at line 995 of file Geant4\-Converter.\-cpp.



References handle().



Referenced by D\-D4hep\-::\-Simulation\-::\-Geant4\-Converter\-::create().

\hypertarget{_geant4_converter_8cpp_ac5a01b817225c14295ef43363d867087}{\index{Geant4\-Converter.\-cpp@{Geant4\-Converter.\-cpp}!print\-Solid@{print\-Solid}}
\index{print\-Solid@{print\-Solid}!Geant4Converter.cpp@{Geant4\-Converter.\-cpp}}
\subsubsection[{print\-Solid}]{\setlength{\rightskip}{0pt plus 5cm}string print\-Solid (
\begin{DoxyParamCaption}
\item[{G4\-V\-Solid $\ast$}]{sol}
\end{DoxyParamCaption}
)}}\label{_geant4_converter_8cpp_ac5a01b817225c14295ef43363d867087}


Definition at line 933 of file Geant4\-Converter.\-cpp.



Referenced by D\-D4hep\-::\-Simulation\-::\-Geant4\-Converter\-::print\-Placement().

