Skip to content

Commit

Permalink
add full path to steering file
Browse files Browse the repository at this point in the history
  • Loading branch information
atolosadelgado authored and BrieucF committed Feb 13, 2025
1 parent a192991 commit 80e1f24
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions FCCee/FullSim/IDEA/IDEA_o1_v03/ctest_sim_digi_reco.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 80e1f24

Please sign in to comment.