Skip to content

Commit

Permalink
Update Snakefile
Browse files Browse the repository at this point in the history
fixed a filename bug
  • Loading branch information
sebouh137 authored Nov 4, 2024
1 parent 07b0b1e commit 7ec4294
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmarks/insert_tau/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ rule insert_tau_recon:
params:
N_EVENTS=get_n_events,
output:
REC_FILE="sim_output/insert_tau/{DETECTOR_CONFIG}_rec_tau-_{P}GeV_{INDEX}.edm4hep.root",
REC_FILE="sim_output/insert_tau/{DETECTOR_CONFIG}_rec_tau-_{P}GeV_{INDEX}.edm4eic.root",
shell:
"""
eicrecon {input.SIM_FILE} -Ppodio:output_file={output.REC_FILE} -Pdd4hep:xml_files=$DETECTOR_PATH/{wildcards.DETECTOR_CONFIG}.xml -Ppodio:output_collections=MCParticles,HcalEndcapPInsertRecHits,HcalEndcapPInsertClusters,HcalEndcapPInsertSubcellHits,EcalEndcapPInsertRecHits,EcalEndcapPInsertClusters,EcalEndcapPClusters,LFHCALClusters -Pjana:nevents={params.N_EVENTS}
"""

rule insert_tau_analysis:
input:
expand("sim_output/insert_tau/{DETECTOR_CONFIG}_rec_tau-_{P}GeV.edm4hep_{INDEX}.root",
expand("sim_output/insert_tau/{DETECTOR_CONFIG}_rec_tau-_{P}GeV_{INDEX}.edm4eic.root",
P=[20, 30, 40, 50, 60, 80, 100],
DETECTOR_CONFIG=["{DETECTOR_CONFIG}"],
INDEX=range(5),
Expand Down

0 comments on commit 7ec4294

Please sign in to comment.