magnetic spectrometer
Throw a ball sideways and gravity bends its path into an arc; throw it faster and the arc is gentler. A magnetic spectrometer uses the same logic on charged particles, but with magnetism instead of gravity. A magnetic field pushes a moving charged particle sideways, bending its path into a curve, and the faster (more precisely, the higher in momentum) the particle, the gentler that curve. So if you can measure how sharply a particle's track is bent, you can work backward to its momentum.
Concretely, a tracking detector sits inside a strong, known magnetic field. As a charged particle flies through, the field forces its path into a circular arc; a low-momentum particle whips into a tight curl, while a high-momentum one barely deviates. By recording several points along the track and fitting the radius of the arc, software computes the momentum directly — a larger radius means more momentum. The direction of the bending also reveals the sign of the particle's electric charge: a positive and a negative particle of the same momentum curve in opposite directions. This is why detectors are wrapped in huge magnets; the magnetic field is what makes momentum measurable from geometry alone.
Momentum measurement is one of the central jobs of any collider detector, and it underpins reconstructing a particle's energy-momentum and, with it, the invariant mass of whatever produced it. The CMS detector is even named for its magnet — Compact Muon Solenoid — because its powerful solenoid coil is so central to the design. An honest limit worth knowing: because the curvature of a very fast track is so slight, the relative momentum error grows with momentum. At the highest energies, a track is almost straight, so magnetic momentum measurement becomes hard — exactly where a calorimeter's energy measurement, which improves with energy, takes over.
Inside CMS, a 3.8-tesla magnetic field bends every charged track. A muon's track that barely curves is high-momentum; one that curls tightly is low-momentum; and whether it curls left or right tells you instantly whether it is positively or negatively charged.
Sharper bend, lower momentum; the bend's direction gives the charge.
Because a very fast track barely curves, magnetic momentum measurement gets less precise at high energy — the reverse of a calorimeter, whose energy measurement gets more precise.