Skip to content

Commit 74d2145

Browse files
authored
Update Snakefile
1 parent dca23b4 commit 74d2145

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

benchmarks/tracking_performances/Snakefile

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -243,12 +243,15 @@ 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",
248-
"{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{ETA_BIN}_pmax_15.0.png",
249-
"{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{ETA_BIN}_pmax_0.5.root",
250-
"{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{ETA_BIN}_pmax_1.0.root",
251-
"{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{ETA_BIN}_pmax_15.0.root",
246+
*[
247+
f"{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{{ETA_BIN}}_pmax_{pmax}.png"
248+
for pmax in ["0.5", "1.0", "2.0", "5.0", "10.0", "20.0"]
249+
],
250+
*[
251+
f"{{CAMPAIGN}}/Final_Results/pi-/mom/hpulls_{{ETA_BIN}}_pmax_{pmax}.root"
252+
for pmax in ["0.5", "1.0", "2.0", "5.0", "10.0", "20.0"]
253+
],
254+
252255
"{{CAMPAIGN}}/Debug_Plots/pi-/mom/mom_resol_debug_{ETA_BIN}.png",
253256
],
254257
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:])],

0 commit comments

Comments
 (0)