From 2414fb798cdcc9d9069ee43d6fc1a137e242ad75 Mon Sep 17 00:00:00 2001
From: Andre Sailer <andre.philippe.sailer@cern.ch>
Date: Fri, 20 Jul 2018 10:12:02 +0200
Subject: [PATCH] Move DDSim to DDG4/python

---
 DDG4/CMakeLists.txt                                    | 2 ++
 {DDSim => DDG4/python/DDSim}/DD4hepSimulation.py       | 0
 {DDSim => DDG4/python/DDSim}/Helper/Action.py          | 0
 {DDSim => DDG4/python/DDSim}/Helper/ConfigHelper.py    | 0
 {DDSim => DDG4/python/DDSim}/Helper/Filter.py          | 0
 {DDSim => DDG4/python/DDSim}/Helper/GuineaPig.py       | 0
 {DDSim => DDG4/python/DDSim}/Helper/Gun.py             | 0
 {DDSim => DDG4/python/DDSim}/Helper/Input.py           | 0
 {DDSim => DDG4/python/DDSim}/Helper/LCIO.py            | 0
 {DDSim => DDG4/python/DDSim}/Helper/MagneticField.py   | 0
 {DDSim => DDG4/python/DDSim}/Helper/Meta.py            | 0
 {DDSim => DDG4/python/DDSim}/Helper/Output.py          | 0
 {DDSim => DDG4/python/DDSim}/Helper/ParticleHandler.py | 0
 {DDSim => DDG4/python/DDSim}/Helper/Physics.py         | 0
 {DDSim => DDG4/python/DDSim}/Helper/Random.py          | 0
 {DDSim => DDG4/python/DDSim}/Helper/__init__.py        | 0
 {DDSim => DDG4/python/DDSim}/__init__.py               | 0
 {bin => DDG4/python/DDSim/bin}/ddsim                   | 0
 18 files changed, 2 insertions(+)
 rename {DDSim => DDG4/python/DDSim}/DD4hepSimulation.py (100%)
 rename {DDSim => DDG4/python/DDSim}/Helper/Action.py (100%)
 rename {DDSim => DDG4/python/DDSim}/Helper/ConfigHelper.py (100%)
 rename {DDSim => DDG4/python/DDSim}/Helper/Filter.py (100%)
 rename {DDSim => DDG4/python/DDSim}/Helper/GuineaPig.py (100%)
 rename {DDSim => DDG4/python/DDSim}/Helper/Gun.py (100%)
 rename {DDSim => DDG4/python/DDSim}/Helper/Input.py (100%)
 rename {DDSim => DDG4/python/DDSim}/Helper/LCIO.py (100%)
 rename {DDSim => DDG4/python/DDSim}/Helper/MagneticField.py (100%)
 rename {DDSim => DDG4/python/DDSim}/Helper/Meta.py (100%)
 rename {DDSim => DDG4/python/DDSim}/Helper/Output.py (100%)
 rename {DDSim => DDG4/python/DDSim}/Helper/ParticleHandler.py (100%)
 rename {DDSim => DDG4/python/DDSim}/Helper/Physics.py (100%)
 rename {DDSim => DDG4/python/DDSim}/Helper/Random.py (100%)
 rename {DDSim => DDG4/python/DDSim}/Helper/__init__.py (100%)
 rename {DDSim => DDG4/python/DDSim}/__init__.py (100%)
 rename {bin => DDG4/python/DDSim/bin}/ddsim (100%)

diff --git a/DDG4/CMakeLists.txt b/DDG4/CMakeLists.txt
index 6f6943c38..ae0053099 100644
--- a/DDG4/CMakeLists.txt
+++ b/DDG4/CMakeLists.txt
@@ -72,3 +72,5 @@ dd4hep_add_executable(pyddg4
 #---Package installation procedure(s) ----------------------------------------------
 dd4hep_install_dir(examples DESTINATION examples/DDG4)
 dd4hep_install_files(FILES python/*.py python/*.C DESTINATION python)
+install(PROGRAMS python/DDSim/bin/ddsim DESTINATION bin )
+dd4hep_install_dir(python/DDSim DESTINATION python)
diff --git a/DDSim/DD4hepSimulation.py b/DDG4/python/DDSim/DD4hepSimulation.py
similarity index 100%
rename from DDSim/DD4hepSimulation.py
rename to DDG4/python/DDSim/DD4hepSimulation.py
diff --git a/DDSim/Helper/Action.py b/DDG4/python/DDSim/Helper/Action.py
similarity index 100%
rename from DDSim/Helper/Action.py
rename to DDG4/python/DDSim/Helper/Action.py
diff --git a/DDSim/Helper/ConfigHelper.py b/DDG4/python/DDSim/Helper/ConfigHelper.py
similarity index 100%
rename from DDSim/Helper/ConfigHelper.py
rename to DDG4/python/DDSim/Helper/ConfigHelper.py
diff --git a/DDSim/Helper/Filter.py b/DDG4/python/DDSim/Helper/Filter.py
similarity index 100%
rename from DDSim/Helper/Filter.py
rename to DDG4/python/DDSim/Helper/Filter.py
diff --git a/DDSim/Helper/GuineaPig.py b/DDG4/python/DDSim/Helper/GuineaPig.py
similarity index 100%
rename from DDSim/Helper/GuineaPig.py
rename to DDG4/python/DDSim/Helper/GuineaPig.py
diff --git a/DDSim/Helper/Gun.py b/DDG4/python/DDSim/Helper/Gun.py
similarity index 100%
rename from DDSim/Helper/Gun.py
rename to DDG4/python/DDSim/Helper/Gun.py
diff --git a/DDSim/Helper/Input.py b/DDG4/python/DDSim/Helper/Input.py
similarity index 100%
rename from DDSim/Helper/Input.py
rename to DDG4/python/DDSim/Helper/Input.py
diff --git a/DDSim/Helper/LCIO.py b/DDG4/python/DDSim/Helper/LCIO.py
similarity index 100%
rename from DDSim/Helper/LCIO.py
rename to DDG4/python/DDSim/Helper/LCIO.py
diff --git a/DDSim/Helper/MagneticField.py b/DDG4/python/DDSim/Helper/MagneticField.py
similarity index 100%
rename from DDSim/Helper/MagneticField.py
rename to DDG4/python/DDSim/Helper/MagneticField.py
diff --git a/DDSim/Helper/Meta.py b/DDG4/python/DDSim/Helper/Meta.py
similarity index 100%
rename from DDSim/Helper/Meta.py
rename to DDG4/python/DDSim/Helper/Meta.py
diff --git a/DDSim/Helper/Output.py b/DDG4/python/DDSim/Helper/Output.py
similarity index 100%
rename from DDSim/Helper/Output.py
rename to DDG4/python/DDSim/Helper/Output.py
diff --git a/DDSim/Helper/ParticleHandler.py b/DDG4/python/DDSim/Helper/ParticleHandler.py
similarity index 100%
rename from DDSim/Helper/ParticleHandler.py
rename to DDG4/python/DDSim/Helper/ParticleHandler.py
diff --git a/DDSim/Helper/Physics.py b/DDG4/python/DDSim/Helper/Physics.py
similarity index 100%
rename from DDSim/Helper/Physics.py
rename to DDG4/python/DDSim/Helper/Physics.py
diff --git a/DDSim/Helper/Random.py b/DDG4/python/DDSim/Helper/Random.py
similarity index 100%
rename from DDSim/Helper/Random.py
rename to DDG4/python/DDSim/Helper/Random.py
diff --git a/DDSim/Helper/__init__.py b/DDG4/python/DDSim/Helper/__init__.py
similarity index 100%
rename from DDSim/Helper/__init__.py
rename to DDG4/python/DDSim/Helper/__init__.py
diff --git a/DDSim/__init__.py b/DDG4/python/DDSim/__init__.py
similarity index 100%
rename from DDSim/__init__.py
rename to DDG4/python/DDSim/__init__.py
diff --git a/bin/ddsim b/DDG4/python/DDSim/bin/ddsim
similarity index 100%
rename from bin/ddsim
rename to DDG4/python/DDSim/bin/ddsim
-- 
GitLab