DimuonScope: A Zero-Dependency SVG Instrument for Real-Time Kinematic Topology Detection in CMS Open Data

Zenodo

4 min read Original article ↗

Published November 5, 2026 | Version v7

Description

Cerngaw.svg

Abstract

DimuonScope is a self-contained scientific detection instrument built entirely in native XML/SVG and vanilla JavaScript. Designed for zero-installation accessibility, the entire data parser, statistical fitter, 3D spatial rendering engine, and UI fit within a single .svg file (under 100KB). It requires no external libraries, no WebGL, and no build steps, allowing it to run instantly on any modern browser, including locked-down educational hardware.

The instrument loads real CMS Run2010B dimuon data (7 TeV collisions) and provides an interactive 3D event display with a dynamic invariant mass histogram. Beyond standard visualization, DimuonScope embeds a hand-written Jacobi eigensolver for real-time Principal Component Analysis (PCA) and a Neyman-weighted Levenberg-Marquardt resonance fitter.

pT

pT

≈0.06

≈0.76

Using this instrument, I observed a novel structural phenomenon in the 2010 dataset: a kinematic topological phase transition as a function of transverse momentum (pT) threshold selection. By interactively increasing the pT cut, the momentum-space covariance matrix undergoes a dramatic principal-axis reorientation. The sample transitions from a beam-collimated state (Sphericity ≈0.06, PC1 aligned with the Z-axis) to a sparse, isotropic state (Sphericity ≈0.76, PC1 reoriented). This tool demonstrates that complex multivariate analysis and exploratory discovery can be executed with extreme code minimalism, turning a single vector document into a powerful, portable scientific instrument.

1. The Dataset and Collider Specifications

The data analyzed is the CMS Run2010B dimuon subset from the CERN Open Data Portal (Record 700).

  • Collision Energy: 7 TeV (3.5 TeV per beam).

  • ≈99.999999%

    Particle Speed: ≈99.999999% of the speed of light.
  • Beam Structure: Proton bunches spaced 50-150 nanoseconds apart.

  • Data Scale: 100,000 dimuon events selected for educational and exploratory analysis.

2. Engineering Highlights (The World-First Single-File Stack)

Traditional HEP analysis stacks require C++ compilers (ROOT), Python environments (NumPy), or heavy WebGL frameworks. DimuonScope compresses the entire stack into one file:

  • Zero-Dependency Architecture: Native DOM manipulation replaces heavy frameworks.

  • 3D Spatial Engine: Renders perspective-projected 3D momentum vectors and 3D convex hulls using raw trigonometry.

  • ψ

    Υ

    Embedded Mathematics: Includes a from-scratch Jacobi eigensolver for PCA and a Levenberg-Marquardt fitter for resonance peaks (J/ψ, Υ, Z).
  • Data Guard: Automatically validates charge columns to prevent analysis of corrupted datasets.

3. Observation: The Kinematic Topological Phase Transition

pT

The primary scientific observation is the real-time visualization of sample covariance instability. As the user adjusts the pT threshold slider, the PCA engine recalculates the eigenvectors of the momentum vectors.

  • pT

    ≈0.06

    At low pT: The sample is dominated by soft, beam-collimated events. PC1 heavily aligns with the Z-axis, and Sphericity is low (≈0.06).
  • pT

    >18

    ≈0.76

    At high pT (>18 GeV): The cut isolates sparse, hard-scattering events. The covariance matrix flattens, PC1 swings violently away from the Z-axis, and Sphericity jumps to ≈0.76.

This "violent swing" is the mathematical fingerprint of a topological phase transition in the dataset, exposing a structural behavior that is invisible in traditional 1D histograms.

4. Visual Evidence

(Include your screenshots of the PCA arrows swinging and the Sphericity values here, labeled as "Figure 1: The violent swing sequence")

5. Conclusion

DimuonScope proves that high-performance vector graphics and complex multivariate analysis can be achieved without the bloat of modern web frameworks. It serves as a portable educational tool, a rapid QA diagnostic for open data, and a novel exploratory instrument for detecting kinematic topological transitions.

https://opendata.cern.ch/record/700

by

aston walker +

theo

https://opendata.cern.ch/record/700

https://opendata.cern.ch/record/700

https://svgfpsaiagents.github.io/svgfpsgameAI/cerngaw.svg

The 2010 CERN data you are using (MuRun2010B) comes from proton-proton collisions at a center-of-mass energy of 7 TeV (3.5 TeV per beam) .

Here are the specific specs for that collider run:

  • Collision Energy: 7 TeV (Tera-electron Volts). This was the record-breaking energy for the LHC's first physics run in 2010, with each proton beam accelerated to 3.5 TeV before colliding .

  • Particle Speed: The protons were accelerated to 99.9999991% of the speed of light . At this speed, they complete over 11,000 laps of the 27-kilometer LHC ring every second.

  • Beam Structure: The beams were not continuous; they were made of "bunches" containing roughly 100 billion protons each, spaced 50 nanoseconds apart during this early run .

  • Data Scale: The specific file you are working with (MuRun2010B) is an educational subset containing 100,000 dimuon collision events, filtered specifically to show the decay of particles into two muons 

Files

cerngaw.pdf

Files (1.5 MB)