diff --git a/benchmarks/insert_tau/Snakefile b/benchmarks/insert_tau/Snakefile index 37cdef3..b200c0a 100644 --- a/benchmarks/insert_tau/Snakefile +++ b/benchmarks/insert_tau/Snakefile @@ -10,7 +10,7 @@ rule insert_tau_generate: params: N_EVENTS=get_n_events, th_max=7.0, - th_min=1.7 + th_min=1.7, output: GEN_FILE="sim_output/insert_tau/tau-_{P}GeV.hepmc", shell: @@ -24,7 +24,7 @@ rule insert_tau_simulate: warmup="warmup/{DETECTOR_CONFIG}.edm4hep.root" params: N_EVENTS=get_n_events, - PHYSICS_LIST="FTFP_BERT" + PHYSICS_LIST="FTFP_BERT", output: SIM_FILE="sim_output/insert_tau/{DETECTOR_CONFIG}_sim_tau-_{P}GeV_{INDEX}.edm4hep.root" shell: @@ -40,21 +40,21 @@ npsim \ """ rule insert_tau_recon: - input: - SIM_FILE="sim_output/insert_tau/{DETECTOR_CONFIG}_sim_tau-_{P}GeV_{INDEX}.edm4hep.root" + input: + SIM_FILE="sim_output/insert_tau/{DETECTOR_CONFIG}_sim_tau-_{P}GeV_{INDEX}.edm4hep.root" params: N_EVENTS=get_n_events, - output: - REC_FILE="sim_output/insert_tau/{DETECTOR_CONFIG}_rec_tau-_{P}GeV_{INDEX}.edm4hep.root" - shell: - """ + output: + REC_FILE="sim_output/insert_tau/{DETECTOR_CONFIG}_rec_tau-_{P}GeV_{INDEX}.edm4hep.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", - P=[20,30, 40,50,60, 80, 100], + P=[20, 30, 40, 50, 60, 80, 100], DETECTOR_CONFIG=["{DETECTOR_CONFIG}"], INDEX=range(5), ),