From 7356aa181524f05b9ba4c1e0074e5bf2657a3db6 Mon Sep 17 00:00:00 2001
From: Marko Petric <marko.petric@cern.ch>
Date: Mon, 2 Mar 2020 17:39:59 +0100
Subject: [PATCH] add more options to DDSim test

---
 DDTest/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/DDTest/CMakeLists.txt b/DDTest/CMakeLists.txt
index cd6d85c4c..ac51cb319 100644
--- a/DDTest/CMakeLists.txt
+++ b/DDTest/CMakeLists.txt
@@ -64,7 +64,7 @@ if (DD4HEP_USE_GEANT4)
 
   ADD_TEST( t_test_ddsim "${CMAKE_INSTALL_PREFIX}/bin/run_test.sh"
     ddsim --compactFile=${CMAKE_INSTALL_PREFIX}/DDDetectors/compact/SiD.xml --runType=batch -G -N=2 --outputFile=testSid.root
-    --part.userParticleHandler=)
+    --gun.position "0.0 0.0 0.0" --gun.direction "1.0 0.0 1.0" --gun.energy 100*GeV --part.userParticleHandler=)
   SET_TESTS_PROPERTIES( t_test_ddsim PROPERTIES FAIL_REGULAR_EXPRESSION  "Exception;EXCEPTION;ERROR;Error" )
 
 endif()
-- 
GitLab