Skip to content

Commit 404510e

Browse files
authored
Update Snakefile
Making the logic compact
1 parent 125ade4 commit 404510e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

benchmarks/tracking_performances/Snakefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,12 @@ rule tracking_performance:
243243
[
244244
"{{CAMPAIGN}}/Final_Results/pi-/mom/mom_resol_{ETA_BIN}.png",
245245
"{{CAMPAIGN}}/Final_Results/pi-/mom/mom_resol_{ETA_BIN}.root",
246-
"{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{{ETA_BIN}}_pmax_0.5.png",
247-
"{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{{ETA_BIN}}_pmax_1.0.png",
246+
"{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{ETA_BIN}_pmax_{PMAX}.png",
247+
"{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{ETA_BIN}_pmax_{PMAX}.root",
248248
"{{CAMPAIGN}}/Debug_Plots/pi-/mom/mom_resol_debug_{ETA_BIN}.png",
249249
],
250250
ETA_BIN=[f"{eta_min:.1f}_eta_{eta_max:.1f}" for eta_min, eta_max in zip(TRACKING_PERFORMANCE_ETA_BINS[:-1], TRACKING_PERFORMANCE_ETA_BINS[1:])],
251+
PMAX=["0.5", "1.0", "2.0", "5.0", "10.0", "20.0"],
251252
),
252253
lambda wildcards: branch(
253254
wildcards.CAMPAIGN == "local",

0 commit comments

Comments
 (0)