From 80e1f247626ea2839012532cab7370552f262683 Mon Sep 17 00:00:00 2001 From: Alvaro Tolosa Delgado Date: Fri, 31 Jan 2025 12:04:42 +0100 Subject: [PATCH] add full path to steering file --- FCCee/FullSim/IDEA/IDEA_o1_v03/ctest_sim_digi_reco.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/FCCee/FullSim/IDEA/IDEA_o1_v03/ctest_sim_digi_reco.sh b/FCCee/FullSim/IDEA/IDEA_o1_v03/ctest_sim_digi_reco.sh index 7b4e8eb..b625918 100755 --- a/FCCee/FullSim/IDEA/IDEA_o1_v03/ctest_sim_digi_reco.sh +++ b/FCCee/FullSim/IDEA/IDEA_o1_v03/ctest_sim_digi_reco.sh @@ -7,9 +7,11 @@ else echo "The Key4hep stack was already loaded in this environment." fi +# workaround to have ctests working +SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) + # run the SIM step -ddsim --enableGun --gun.distribution uniform --gun.energy "10*GeV" --gun.particle e- --numberOfEvents 10 --outputFile IDEA_sim.root --random.enableEventSeed --random.seed 42 --compactFile $K4GEO/FCCee/IDEA/compact/IDEA_o1_v03/IDEA_o1_v03.xml --steeringFile SteeringFile_IDEA_o1_v03.py +ddsim --enableGun --gun.distribution uniform --gun.energy "10*GeV" --gun.particle e- --numberOfEvents 10 --outputFile IDEA_sim.root --random.enableEventSeed --random.seed 42 --compactFile $K4GEO/FCCee/IDEA/compact/IDEA_o1_v03/IDEA_o1_v03.xml --steeringFile $SCRIPT_DIR/SteeringFile_IDEA_o1_v03.py # run the DIGI/RECO step -SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) # workaround to have ctests working k4run $SCRIPT_DIR/run_digi_reco.py