Skip to content

Updated pipeline to run on the **pre_summer2026** production#524

Open
selvaggi wants to merge 10 commits into
HEP-FCC:masterfrom
selvaggi:master
Open

Updated pipeline to run on the **pre_summer2026** production#524
selvaggi wants to merge 10 commits into
HEP-FCC:masterfrom
selvaggi:master

Conversation

@selvaggi

Copy link
Copy Markdown
Contributor

Ported the weaver example to the 7-class (g/u/d/s/c/b/τ) tagger and validated pipeline run on the pre_summer2026 production.

  • generalised MC primary vertex to more generator agnostic
  • std::abs in JetConstituentsUtils fixes electron, muon multiplicity.
  • allow for N=2 candidates leading to N = 2 (exclusive) jets

Validated against winter2023 at ~1M jets/flavour: tagger ROCs and input features, including the now-fixed dz in Delphes TrackCovariance computation.

Comment thread examples/FCCee/weaver/plot_rocs.py Outdated
plt.rcParams["font.family"] = "STIXGeneral"
plt.rcParams["axes.labelweight"] = "bold"
## LaTeX rendering (needs latex on PATH, e.g. the LCG texlive)
plt.rc("text", usetex=True)

@kjvbrt kjvbrt Jul 21, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

usetex=True shells out to LaTeX for every string; if latex isn't on PATH (not guaranteed across stack releases/CI), it hard-fails with a cryptic matplotlib error. I would suggest an upfront check with a clear message:

import shutil, sys
if not shutil.which("latex"):
    sys.exit("ERROR: latex not found on PATH (needed for usetex rendering, e.g. via LCG texlive)")

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made it conditional: it now uses latex only if shutil.which("latex") finds it, else falls back to default styling with a note (no crash).

@kjvbrt

kjvbrt commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Hi @selvaggi, otherwise it looks ok to me :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants