\hypertarget{_geant4_input_handling_8h}{\section{/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-G4/include/\-D\-D\-G4/\-Geant4\-Input\-Handling.h File Reference}
\label{_geant4_input_handling_8h}\index{/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-G4/include/\-D\-D\-G4/\-Geant4\-Input\-Handling.\-h@{/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-G4/include/\-D\-D\-G4/\-Geant4\-Input\-Handling.\-h}}
}
{\ttfamily \#include \char`\"{}D\-D\-G4/\-Geant4\-Primary.\-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_simulation}{D\-D4hep\-::\-Simulation}
\begin{DoxyCompactList}\small\item\em Namespace for the Geant4 based simulation part of the A\-I\-D\-A detector description toolkit. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_d_d4hep_1_1_simulation_1_1_geant4_vertex}{Geant4\-Vertex} $\ast$ \hyperlink{namespace_d_d4hep_1_1_simulation_ab6d15d53b34ea70681d56870814d48b2}{D\-D4hep\-::\-Simulation\-::create\-Primary} (const G4\-Primary\-Vertex $\ast$g4)
\begin{DoxyCompactList}\small\item\em Create a vertex object from it's G4 counterpart. \end{DoxyCompactList}\item 
\hyperlink{class_d_d4hep_1_1_simulation_1_1_geant4_particle}{Geant4\-Particle} $\ast$ \hyperlink{namespace_d_d4hep_1_1_simulation_a4ba463edde87d20831a604346d29a129}{D\-D4hep\-::\-Simulation\-::create\-Primary} (int particle\-\_\-id, const \hyperlink{class_d_d4hep_1_1_simulation_1_1_geant4_vertex}{Geant4\-Vertex} $\ast$\hyperlink{_multi_view_8cpp_a8320ee13ac034dbf6d624fe8953dd337}{v}, const G4\-Primary\-Particle $\ast$g4p)
\begin{DoxyCompactList}\small\item\em Create a particle object from it's G4 counterpart. \end{DoxyCompactList}\item 
\hyperlink{class_d_d4hep_1_1_simulation_1_1_geant4_primary_interaction}{Geant4\-Primary\-Interaction} $\ast$ \hyperlink{namespace_d_d4hep_1_1_simulation_a36acd8dbd545f60bf3b6c7f06209898e}{D\-D4hep\-::\-Simulation\-::create\-Primary} (int mask, \hyperlink{class_d_d4hep_1_1_simulation_1_1_geant4_primary_map}{Geant4\-Primary\-Map} $\ast$pm, const G4\-Primary\-Vertex $\ast$gv)
\begin{DoxyCompactList}\small\item\em Create a D\-D\-G4 interaction record from a Geant4 interaction defined by a primary vertex. \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_1_1_simulation_aaf70bd3ee9651c20efdf16a10dfa8dc8}{D\-D4hep\-::\-Simulation\-::generation\-Initialization} (const \hyperlink{class_d_d4hep_1_1_simulation_1_1_geant4_action}{Geant4\-Action} $\ast$caller, const \hyperlink{class_d_d4hep_1_1_simulation_1_1_geant4_context}{Geant4\-Context} $\ast$context)
\begin{DoxyCompactList}\small\item\em Initialize the generation of one event. \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_1_1_simulation_a443dcc90d4d35ae2cab73956bbd2a2d8}{D\-D4hep\-::\-Simulation\-::merge\-Interactions} (const \hyperlink{class_d_d4hep_1_1_simulation_1_1_geant4_action}{Geant4\-Action} $\ast$caller, const \hyperlink{class_d_d4hep_1_1_simulation_1_1_geant4_context}{Geant4\-Context} $\ast$context)
\begin{DoxyCompactList}\small\item\em Merge all interactions present in the context. \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_1_1_simulation_a5af9f919753af128d90ae3bc13dc1c34}{D\-D4hep\-::\-Simulation\-::boost\-Interaction} (const \hyperlink{class_d_d4hep_1_1_simulation_1_1_geant4_action}{Geant4\-Action} $\ast$caller, \hyperlink{class_d_d4hep_1_1_simulation_1_1_geant4_primary_event_afe42410b9331b521808a49120f402bd9}{Geant4\-Primary\-Event\-::\-Interaction} $\ast$inter, double alpha)
\begin{DoxyCompactList}\small\item\em Boost particles of one interaction identified by its mask. \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_1_1_simulation_a139e5502767fe9672b4d32c1e276aec3}{D\-D4hep\-::\-Simulation\-::smear\-Interaction} (const \hyperlink{class_d_d4hep_1_1_simulation_1_1_geant4_action}{Geant4\-Action} $\ast$caller, \hyperlink{class_d_d4hep_1_1_simulation_1_1_geant4_primary_event_afe42410b9331b521808a49120f402bd9}{Geant4\-Primary\-Event\-::\-Interaction} $\ast$inter, double dx, double dy, double dz, double dt)
\begin{DoxyCompactList}\small\item\em Smear the primary vertex of an interaction. \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_1_1_simulation_af9101fceaeec2ab63e17c360a22638cd}{D\-D4hep\-::\-Simulation\-::generate\-Primaries} (const \hyperlink{class_d_d4hep_1_1_simulation_1_1_geant4_action}{Geant4\-Action} $\ast$caller, const \hyperlink{class_d_d4hep_1_1_simulation_1_1_geant4_context}{Geant4\-Context} $\ast$context, G4\-Event $\ast$event)
\begin{DoxyCompactList}\small\item\em Generate all primary vertices corresponding to the merged interaction. \end{DoxyCompactList}\end{DoxyCompactItemize}
