Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion benchmarks/b0_tracker/forward_protons.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if [[ "$?" -ne "0" ]] ; then
fi

# Run geant4 simulations
ddsim --runType batch \
npsim --runType batch \
-v WARNING \
--part.minimalKineticEnergy 0.5*GeV \
--filter.tracker edep0 \
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/backgrounds/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rule backgrounds_sim:
shell:
"""
set -m # monitor mode to prevent lingering processes
exec ddsim \
exec npsim \
--runType batch \
--part.minimalKineticEnergy 100*GeV \
--filter.tracker edep0 \
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/backwards_ecal/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ rule backwards_ecal_sim:
shell:
"""
set -m # monitor mode to prevent lingering processes
exec ddsim \
exec npsim \
--runType batch \
--enableGun \
--steeringFile "{input.steering_file}" \
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/barrel_ecal/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ rule emcal_barrel_particles:
shell:
"""
set -m # monitor mode to prevent lingering processes
exec ddsim \
exec npsim \
--runType batch \
-v WARNING \
--part.minimalKineticEnergy 0.5*GeV \
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/calo_pid/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ rule calo_pid_sim:
shell:
"""
set -m # monitor mode to prevent lingering processes
exec ddsim \
exec npsim \
--runType batch \
--enableGun \
--gun.momentumMin "{params.ENERGY_MIN}" \
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/ecal_gaps/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ rule ecal_gaps_sim:
shell:
"""
set -m # monitor mode to prevent lingering processes
exec ddsim \
exec npsim \
--runType batch \
--enableGun \
--steeringFile "{input.steering_file}" \
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/lfhcal/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rule lfhcal_sim:
N_EVENTS=get_n_events,
shell:
"""
ddsim \
npsim \
--runType batch \
--enableGun \
--steeringFile "{input.steering_file}" \
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/nhcal_acceptance/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rule nhcal_acceptance_simulate:
cache: True
shell:
"""
exec ddsim \
exec npsim \
--compactFile {params.DETECTOR_PATH}/{params.DETECTOR_CONFIG}.xml \
--numberOfEvents {params.N_EVENTS} \
--random.seed {params.SEED} \
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/nhcal_basic_distribution/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rule nhcal_basic_distribution_simulate:
cache: True
shell:
"""
exec ddsim \
exec npsim \
--compactFile {params.DETECTOR_PATH}/{params.DETECTOR_CONFIG}.xml \
--numberOfEvents {params.N_EVENTS} \
--random.seed {params.SEED} \
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/pid/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ sim:backward:
extends: .det_benchmark
stage: simulate
script:
- ddsim --runType batch --numberOfEvents 100 --filter.tracker edep0 --compactFile ${DETECTOR_PATH}/${DETECTOR_CONFIG}.xml --enableGun --gun.energy "5*GeV" --gun.particle "${PARTICLE}" --gun.thetaMin 130*deg --gun.thetaMax 177*deg --gun.distribution "cos(theta)" --outputFile sim_output/sim_pid_backward_${PARTICLE}_5GeV.edm4hep.root
- npsim --runType batch --numberOfEvents 100 --filter.tracker edep0 --compactFile ${DETECTOR_PATH}/${DETECTOR_CONFIG}.xml --enableGun --gun.energy "5*GeV" --gun.particle "${PARTICLE}" --gun.thetaMin 130*deg --gun.thetaMax 177*deg --gun.distribution "cos(theta)" --outputFile sim_output/sim_pid_backward_${PARTICLE}_5GeV.edm4hep.root
- rootls -t sim_output/sim_pid_backward_${PARTICLE}_5GeV.edm4hep.root
parallel:
matrix:
Expand All @@ -12,7 +12,7 @@ sim:forward:
extends: .det_benchmark
stage: simulate
script:
- ddsim --runType batch --numberOfEvents 100 --filter.tracker edep0 --compactFile ${DETECTOR_PATH}/${DETECTOR_CONFIG}.xml --enableGun --gun.energy "5*GeV" --gun.particle "${PARTICLE}" --gun.thetaMin 3*deg --gun.thetaMax 50*deg --gun.distribution "cos(theta)" --outputFile sim_output/sim_pid_forward_${PARTICLE}_5GeV.edm4hep.root
- npsim --runType batch --numberOfEvents 100 --filter.tracker edep0 --compactFile ${DETECTOR_PATH}/${DETECTOR_CONFIG}.xml --enableGun --gun.energy "5*GeV" --gun.particle "${PARTICLE}" --gun.thetaMin 3*deg --gun.thetaMax 50*deg --gun.distribution "cos(theta)" --outputFile sim_output/sim_pid_forward_${PARTICLE}_5GeV.edm4hep.root
- rootls -t sim_output/sim_pid_forward_${PARTICLE}_5GeV.edm4hep.root
parallel:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/tracking_detectors/track_hits.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ if [ -z "${ANALYSIS_ONLY}" ] ; then

echo "Running geant4 simulation"
## run geant4 simulations
ddsim --runType batch \
npsim --runType batch \
--part.minimalKineticEnergy 1000*GeV \
--filter.tracker edep0 \
-v WARNING \
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/tracking_performances/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ rule tracking_performance_sim:
shell:
"""
set -m # monitor mode to prevent lingering processes
exec ddsim \
exec npsim \
--runType batch \
--enableGun \
--steeringFile "{input.steering_file}" \
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/tracking_performances_dis/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ rule trk_dis_sim:
cache: True
shell:
"""
ddsim \
npsim \
--runType batch \
--part.minimalKineticEnergy 1000*GeV \
--random.seed {params.SEED} \
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/zdc/run_zdc_particles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ if [[ "$?" -ne "0" ]] ; then
fi

# Run geant4 simulations
ddsim --runType batch \
npsim --runType batch \
-v WARNING \
--part.minimalKineticEnergy 0.5*GeV \
--filter.tracker edep0 \
Expand Down