Skip to content

Commit a221976

Browse files
author
Luigi Dello Stritto
committed
Non-prompt Lc cross section code
1 parent e3871aa commit a221976

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

machine_learning_hep/analysis/analyzerdhadrons_mult.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,9 @@ def fit(self):
370370
for entry in self.cfg("mass_roofit", []):
371371
if (lvl := entry.get("level")) and lvl != level:
372372
continue
373-
if (ptspec := entry.get("ptrange")) and (ptspec[0] > ptrange[0] or ptspec[1] < ptrange[1]):
373+
if (ptspec := entry.get("ptrange")) and (
374+
ptspec[0] > ptrange[0] or ptspec[1] < ptrange[1]
375+
):
374376
continue
375377
fitcfg = entry
376378
break

0 commit comments

Comments
 (0)