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
7 changes: 3 additions & 4 deletions Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,14 @@ exit 1

rule warmup_run:
output:
"warmup/{DETECTOR_CONFIG}.edm4hep.root",
message: "Ensuring that calibrations/fieldmaps are available for {wildcards.DETECTOR_CONFIG}"
"warmup.edm4hep.root",
message: "Ensuring that calibrations/fieldmaps are available"
shell: """
set -m # monitor mode to prevent lingering processes
exec ddsim \
-v VERBOSE \
--runType batch \
--numberOfEvents 1 \
--compactFile "$DETECTOR_PATH/{wildcards.DETECTOR_CONFIG}.xml" \
--compactFile "$DETECTOR_PATH/epic_ip6.xml" \
--outputFile "{output}" \
--enableGun
"""
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/backgrounds/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import shutil

rule backgrounds_sim:
input:
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
geometry_lib=find_epic_libraries(),
output:
"sim_output/{DETECTOR_CONFIG}/backgrounds/{PATH}.edm4hep.root",
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/backwards_ecal/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def get_n_events(wildcards):
rule backwards_ecal_sim:
input:
steering_file=ancient("EPIC/EVGEN/SINGLE/{PARTICLE}/{ENERGY}/{PHASE_SPACE}/{PARTICLE}_{ENERGY}_{PHASE_SPACE}.steer"),
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
geometry_lib=find_epic_libraries(),
output:
"sim_output/backwards_ecal/{DETECTOR_CONFIG}/{PARTICLE}/{ENERGY}/{PHASE_SPACE}/{PARTICLE}_{ENERGY}_{PHASE_SPACE}.{INDEX}.edm4hep.root",
Expand Down Expand Up @@ -46,7 +46,7 @@ exec npsim \
rule backwards_ecal_recon:
input:
sim="sim_output/backwards_ecal/{DETECTOR_CONFIG}/{PARTICLE}/{ENERGY}/{PHASE_SPACE}/{PARTICLE}_{ENERGY}_{PHASE_SPACE}.{INDEX}.edm4hep.root",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
output:
"sim_output/backwards_ecal/{DETECTOR_CONFIG}/{PARTICLE}/{ENERGY}/{PHASE_SPACE}/{PARTICLE}_{ENERGY}_{PHASE_SPACE}.{INDEX}.eicrecon.edm4eic.root",
log:
Expand Down
8 changes: 4 additions & 4 deletions benchmarks/beamline/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ANALYSISDIR=SIMOUTDIR+"analysis/"

rule beamline_steering_sim:
input:
warmup="warmup/epic_ip6_extended.edm4hep.root",
warmup="warmup.edm4hep.root",
macro=workflow.source_path("beamlineGPS.mac"),
geometry_lib=find_epic_libraries(),
output:
Expand All @@ -31,7 +31,7 @@ rule beamline_steering_sim:

rule beamline_steering_analysis:
input:
warmup="warmup/epic_ip6_extended.edm4hep.root",
warmup="warmup.edm4hep.root",
script=workflow.source_path("beamlineAnalysis.C"),
header=workflow.source_path("shared_functions.h"),
data=SIMOUTDIR+"beamlineTest{CAMPAIGN}.edm4hep.root",
Expand Down Expand Up @@ -59,7 +59,7 @@ rule beamline_steering_analysis:

rule beamline_acceptance_sim:
input:
warmup="warmup/epic_ip6_extended.edm4hep.root",
warmup="warmup.edm4hep.root",
macro=workflow.source_path("acceptanceGPS.mac"),
geometry_lib=find_epic_libraries(),
output:
Expand All @@ -82,7 +82,7 @@ rule beamline_acceptance_sim:

rule beamline_acceptance_analysis:
input:
warmup="warmup/epic_ip6_extended.edm4hep.root",
warmup="warmup.edm4hep.root",
script=workflow.source_path("acceptanceAnalysis.C"),
header=workflow.source_path("shared_functions.h"),
data=SIMOUTDIR+"acceptanceTest{CAMPAIGN}.edm4hep.root",
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/calo_pid/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ def format_energy_for_dd4hep(s):

rule calo_pid_sim:
input:
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
geometry_lib=find_epic_libraries(),
output:
"sim_output/calo_pid/{DETECTOR_CONFIG}/{PARTICLE}/{ENERGY_MIN}to{ENERGY_MAX}/{THETA_MIN}to{THETA_MAX}deg/{PARTICLE}_{ENERGY}_{THETA_MIN}to{THETA_MAX}deg.{INDEX}.edm4hep.root",
Expand Down Expand Up @@ -52,7 +52,7 @@ exec npsim \
rule calo_pid_recon:
input:
sim="sim_output/calo_pid/{DETECTOR_CONFIG}/{PARTICLE}/{ENERGY}/{PHASE_SPACE}/{PARTICLE}_{ENERGY}_{PHASE_SPACE}.{INDEX}.edm4hep.root",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
output:
"sim_output/calo_pid/{DETECTOR_CONFIG}/{PARTICLE}/{ENERGY}/{PHASE_SPACE}/{PARTICLE}_{ENERGY}_{PHASE_SPACE}.{INDEX}.eicrecon.edm4eic.root",
log:
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/ecal_gaps/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import os
rule ecal_gaps_sim:
input:
steering_file="EPIC/EVGEN/SINGLE/{PARTICLE}/{ENERGY}/{PHASE_SPACE}/{PARTICLE}_{ENERGY}_{PHASE_SPACE}.steer",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
geometry_lib=find_epic_libraries(),
output:
"sim_output/ecal_gaps/{DETECTOR_CONFIG}/{PARTICLE}/{ENERGY}/{PHASE_SPACE}/{PARTICLE}_{ENERGY}_{PHASE_SPACE}.{INDEX}.edm4hep.root",
Expand Down Expand Up @@ -42,7 +42,7 @@ exec npsim \
rule ecal_gaps_recon:
input:
sim="sim_output/ecal_gaps/{DETECTOR_CONFIG}/{PARTICLE}/{ENERGY}/{PHASE_SPACE}/{PARTICLE}_{ENERGY}_{PHASE_SPACE}.{INDEX}.edm4hep.root",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
output:
"sim_output/ecal_gaps/{DETECTOR_CONFIG}/{PARTICLE}/{ENERGY}/{PHASE_SPACE}/{PARTICLE}_{ENERGY}_{PHASE_SPACE}.{INDEX}.eicrecon.edm4eic.root",
log:
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/far_forward_dvcs/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ rule far_forward_dvcs_compile:
# Process the generated HepMC files through the simulation
rule far_forward_dvcs_sim:
input:
warmup="warmup/{DETECTOR_CONFIG}.edm4hep.root",
warmup="warmup.edm4hep.root",
geometry_lib=find_epic_libraries(),
output:
"sim_output/far_forward_dvcs/{DETECTOR_CONFIG}/DVCS.{INDEX}.ab.hiAcc.{EBEAM}x{PBEAM}.edm4hep.root",
Expand Down Expand Up @@ -42,7 +42,7 @@ rule foo:
rule far_forward_dvcs_reco:
input:
sim="sim_output/far_forward_dvcs/{DETECTOR_CONFIG}/DVCS.{INDEX}.ab.hiAcc.{EBEAM}x{PBEAM}.edm4hep.root",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
output:
"sim_output/far_forward_dvcs/{DETECTOR_CONFIG}/DVCS.{INDEX}.ab.hiAcc.{EBEAM}x{PBEAM}.eicrecon.edm4eic.root",
params:
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/femc_electron/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ root -l -b -q '{input.script}({params.N_EVENTS},"{output.GEN_FILE}", "e-", {para
rule femc_electron_simulate:
input:
GEN_FILE="sim_output/femc_electron/e-_{P}GeV.hepmc",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
geometry_lib=find_epic_libraries(),
output:
SIM_FILE="sim_output/femc_electron/{DETECTOR_CONFIG}_sim_e-_{P}GeV.edm4hep.root",
Expand All @@ -50,7 +50,7 @@ exec npsim \
rule femc_electron_recon:
input:
SIM_FILE="sim_output/femc_electron/{DETECTOR_CONFIG}_sim_e-_{P}GeV.edm4hep.root",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
output:
REC_FILE="sim_output/femc_electron/{DETECTOR_CONFIG}_rec_e-_{P}GeV.edm4eic.root",
params:
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/femc_photon/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ root -l -b -q '{input.script}({params.N_EVENTS},"{output.GEN_FILE}", "gamma", {p
rule femc_photon_simulate:
input:
GEN_FILE="sim_output/femc_photon/photon_{P}GeV.hepmc",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
geometry_lib=find_epic_libraries(),
output:
SIM_FILE="sim_output/femc_photon/{DETECTOR_CONFIG}_sim_photon_{P}GeV.edm4hep.root",
Expand All @@ -50,7 +50,7 @@ exec npsim \
rule femc_photon_recon:
input:
SIM_FILE="sim_output/femc_photon/{DETECTOR_CONFIG}_sim_photon_{P}GeV.edm4hep.root",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
output:
REC_FILE="sim_output/femc_photon/{DETECTOR_CONFIG}_rec_photon_{P}GeV.edm4eic.root",
params:
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/femc_pi0/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ root -l -b -q '{input.script}({params.N_EVENTS},"{output.GEN_FILE}", "pi0", {par
rule femc_pi0_simulate:
input:
GEN_FILE="sim_output/femc_pi0/pi0_{P}GeV.hepmc",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
geometry_lib=find_epic_libraries(),
params:
N_EVENTS=get_n_events,
Expand All @@ -50,7 +50,7 @@ exec npsim \
rule femc_pi0_recon:
input:
SIM_FILE="sim_output/femc_pi0/{DETECTOR_CONFIG}_sim_pi0_{P}GeV.edm4hep.root",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
output:
REC_FILE="sim_output/femc_pi0/{DETECTOR_CONFIG}_rec_pi0_{P}GeV.edm4eic.root",
params:
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/insert_muon/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ root -l -b -q '{input.script}({params.NEVENTS_GEN},"{output.GEN_FILE}", "mu-", {
rule insert_muon_simulate:
input:
GEN_FILE="sim_output/insert_muon/mu-_{P}GeV.hepmc",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
geometry_lib=find_epic_libraries(),
output:
SIM_FILE="sim_output/insert_muon/{DETECTOR_CONFIG}_sim_mu-_{P}GeV_{INDEX}.edm4hep.root",
Expand Down Expand Up @@ -45,7 +45,7 @@ exec npsim \
rule insert_muon_recon:
input:
SIM_FILE="sim_output/insert_muon/{DETECTOR_CONFIG}_sim_mu-_{P}GeV_{INDEX}.edm4hep.root",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
output:
REC_FILE="sim_output/insert_muon/{DETECTOR_CONFIG}_rec_mu-_{P}GeV_{INDEX}.edm4hep.root",
params:
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/insert_neutron/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ root -l -b -q '{input.script}({params.NEVENTS_GEN},"{output.GEN_FILE}", "neutron
rule insert_neutron_simulate:
input:
GEN_FILE="sim_output/insert_neutron/neutron_{P}GeV.hepmc",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
geometry_lib=find_epic_libraries(),
output:
SIM_FILE="sim_output/insert_neutron/{DETECTOR_CONFIG}_sim_neutron_{P}GeV_{INDEX}.edm4hep.root",
Expand Down Expand Up @@ -46,7 +46,7 @@ exec npsim \
rule insert_neutron_recon:
input:
SIM_FILE="sim_output/insert_neutron/{DETECTOR_CONFIG}_sim_neutron_{P}GeV_{INDEX}.edm4hep.root",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
output:
REC_FILE="sim_output/insert_neutron/{DETECTOR_CONFIG}_rec_neutron_{P}GeV_{INDEX}.edm4eic.root",
params:
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/insert_tau/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ root -l -b -q '{input.script}({params.N_EVENTS},"{output.GEN_FILE}", "tau-", {pa
rule insert_tau_simulate:
input:
GEN_FILE="sim_output/insert_tau/tau-_{P}GeV.hepmc",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
geometry_lib=find_epic_libraries(),
output:
SIM_FILE="sim_output/insert_tau/{DETECTOR_CONFIG}_sim_tau-_{P}GeV_{INDEX}.edm4hep.root",
Expand Down Expand Up @@ -51,7 +51,7 @@ exec npsim \
rule insert_tau_recon:
input:
SIM_FILE="sim_output/insert_tau/{DETECTOR_CONFIG}_sim_tau-_{P}GeV_{INDEX}.edm4hep.root",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
output:
REC_FILE="sim_output/insert_tau/{DETECTOR_CONFIG}_rec_tau-_{P}GeV_{INDEX}.edm4eic.root",
params:
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/lfhcal/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def get_n_events(wildcards):
rule lfhcal_sim:
input:
steering_file="EPIC/EVGEN/SINGLE/{PARTICLE}/{ENERGY}/{PHASE_SPACE}/{PARTICLE}_{ENERGY}_{PHASE_SPACE}.steer",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
geometry_lib=find_epic_libraries(),
output:
"sim_output/lfhcal/{DETECTOR_CONFIG}/{PARTICLE}/{ENERGY}/{PHASE_SPACE}/{PARTICLE}_{ENERGY}_{PHASE_SPACE}.{INDEX}.edm4hep.root",
Expand Down Expand Up @@ -42,7 +42,7 @@ npsim \
rule lfhcal_recon:
input:
sim="sim_output/lfhcal/{DETECTOR_CONFIG}/{PARTICLE}/{ENERGY}/{PHASE_SPACE}/{PARTICLE}_{ENERGY}_{PHASE_SPACE}.{INDEX}.edm4hep.root",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
output:
"sim_output/lfhcal/{DETECTOR_CONFIG}/{PARTICLE}/{ENERGY}/{PHASE_SPACE}/{PARTICLE}_{ENERGY}_{PHASE_SPACE}.{INDEX}.eicrecon.edm4eic.root",
log:
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/nhcal_acceptance/Snakefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule nhcal_acceptance_simulate:
input:
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
geometry_lib=find_epic_libraries(),
output:
"sim_output/nhcal_acceptance/E{ENERGY}GeV/sim_{DETECTOR_CONFIG}.{INDEX}.edm4hep.root",
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/nhcal_basic_distribution/Snakefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule nhcal_basic_distribution_simulate:
input:
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
geometry_lib=find_epic_libraries(),
output:
"sim_output/nhcal_basic_distribution/E{ENERGY}GeV/sim_{DETECTOR_CONFIG}.{INDEX}.edm4hep.root",
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/tracking_performances/Snakefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
rule tracking_performance_sim:
input:
steering_file="EPIC/EVGEN/SINGLE/{PARTICLE}/{ENERGY}/{PHASE_SPACE}/{PARTICLE}_{ENERGY}_{PHASE_SPACE}.steer",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
geometry_lib=find_epic_libraries(),
output:
"sim_output/tracking_performance/{DETECTOR_CONFIG}/{PARTICLE}/{ENERGY}/{PHASE_SPACE}/{PARTICLE}_{ENERGY}_{PHASE_SPACE}.{INDEX}.edm4hep.root",
Expand Down Expand Up @@ -43,7 +43,7 @@ exec npsim \
rule tracking_performance_recon:
input:
"sim_output/tracking_performance/{DETECTOR_CONFIG}/{PARTICLE}/{ENERGY}/{PHASE_SPACE}/{PARTICLE}_{ENERGY}_{PHASE_SPACE}.{INDEX}.edm4hep.root",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
output:
"sim_output/tracking_performance/{DETECTOR_CONFIG}/{PARTICLE}/{ENERGY}/{PHASE_SPACE}/{PARTICLE}_{ENERGY}_{PHASE_SPACE}.{INDEX}.eicrecon.edm4eic.root",
log:
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/tracking_performances_dis/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ rule trk_dis_compile:
# Process the generated HepMC files through the simulation
rule trk_dis_sim:
input:
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
geometry_lib=find_epic_libraries(),
output:
"sim_output/tracking_performances_dis/{DETECTOR_CONFIG}/pythia8NCDIS_{EBEAM}x{PBEAM}_minQ2={MINQ2}_beamEffects_xAngle=-0.025_hiDiv_{INDEX}.edm4hep.root",
Expand Down Expand Up @@ -44,7 +44,7 @@ npsim \
rule trk_dis_reco:
input:
sim="sim_output/tracking_performances_dis/{DETECTOR_CONFIG}/pythia8NCDIS_{EBEAM}x{PBEAM}_minQ2={MINQ2}_beamEffects_xAngle=-0.025_hiDiv_{INDEX}.edm4hep.root",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
output:
"sim_output/tracking_performances_dis/{DETECTOR_CONFIG}/pythia8NCDIS_{EBEAM}x{PBEAM}_minQ2={MINQ2}_beamEffects_xAngle=-0.025_hiDiv_{INDEX}.edm4eic.root",
params:
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/zdc_lambda/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ root -l -b -q '{input.script}({params.N_EVENTS},0,"{output.GEN_FILE}",{params.P}
rule zdc_lambda_simulate:
input:
GEN_FILE="sim_output/zdc_lambda/lambda_decay_{P}GeV.hepmc",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
geometry_lib=find_epic_libraries(),
output:
SIM_FILE="sim_output/zdc_lambda/{DETECTOR_CONFIG}_sim_lambda_dec_{P}GeV_{INDEX}.edm4hep.root",
Expand Down Expand Up @@ -43,7 +43,7 @@ exec npsim \
rule zdc_lambda_recon:
input:
SIM_FILE="sim_output/zdc_lambda/{DETECTOR_CONFIG}_sim_lambda_dec_{P}GeV_{INDEX}.edm4hep.root",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
output:
REC_FILE="sim_output/zdc_lambda/{DETECTOR_CONFIG}_rec_lambda_dec_{P}GeV_{INDEX}.edm4eic.root",
params:
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/zdc_lyso/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ root -l -b -q '{input.script}({params.num_events}, "{output.hepmcfile}", "{param
rule zdc_lyso_sim:
input:
hepmcfile="data/{PARTICLE}_{BEAM_ENERGY}GeV_theta_{THETA_MIN}deg_thru_{THETA_MAX}deg.hepmc",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
geometry_lib=find_epic_libraries(),
output:
"sim_output/zdc_lyso/{DETECTOR_CONFIG}_{PARTICLE}_{BEAM_ENERGY}GeV_theta_{THETA_MIN}deg_thru_{THETA_MAX}deg.edm4hep.root",
Expand Down Expand Up @@ -52,7 +52,7 @@ exec npsim \
rule zdc_lyso_reco:
input:
sim="sim_output/zdc_lyso/{DETECTOR_CONFIG}_{PARTICLE}_{BEAM_ENERGY}GeV_theta_{THETA_MIN}deg_thru_{THETA_MAX}deg.edm4hep.root",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
output:
"sim_output/zdc_lyso/{DETECTOR_CONFIG}_{PARTICLE}_{BEAM_ENERGY}GeV_theta_{THETA_MIN}deg_thru_{THETA_MAX}deg.eicrecon.edm4eic.root",
log:
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/zdc_neutron/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ root -l -b -q '{input.script}({params.num_events}, 0, "{output.hepmcfile}")'
rule zdc_neutron_sim:
input:
hepmcfile="sim_output/zdc_neutron/{DETECTOR_CONFIG}/fwd_neutrons.hepmc",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
geometry_lib=find_epic_libraries(),
output:
"sim_output/zdc_neutron/{DETECTOR_CONFIG}/fwd_neutrons.edm4hep.root",
Expand All @@ -41,7 +41,7 @@ exec npsim \
rule zdc_neutron_reco:
input:
sim="sim_output/zdc_neutron/{DETECTOR_CONFIG}/fwd_neutrons.edm4hep.root",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
output:
"sim_output/zdc_neutron/{DETECTOR_CONFIG}/fwd_neutrons.edm4eic.root",
params:
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/zdc_photon/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ root -l -b -q '{input.script}('{params.N_EVENTS}',"{output.GEN_FILE}", "gamma",
rule zdc_photon_simulate:
input:
GEN_FILE="sim_output/zdc_photon/zdc_photon_{P}GeV.hepmc",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
geometry_lib=find_epic_libraries(),
output:
SIM_FILE="sim_output/zdc_photon/{DETECTOR_CONFIG}_sim_zdc_photon_{P}GeV_{INDEX}.edm4hep.root",
Expand Down Expand Up @@ -46,7 +46,7 @@ exec npsim \
rule zdc_photon_recon:
input:
SIM_FILE="sim_output/zdc_photon/{DETECTOR_CONFIG}_sim_zdc_photon_{P}GeV_{INDEX}.edm4hep.root",
warmup=ancient("warmup/{DETECTOR_CONFIG}.edm4hep.root"),
warmup="warmup.edm4hep.root",
output:
REC_FILE="sim_output/zdc_photon/{DETECTOR_CONFIG}_rec_zdc_photon_{P}GeV_{INDEX}.edm4eic.root",
params:
Expand Down
Loading