Magnetic Spectrometer

Track curvature, sagitta and momentum resolution.

Switch to 2D

Presets

Playback

Beam

Momentum, particle type and charge.

Magnet and detectors

Field strength, hit precision and how fast tracks are collected.

Camera

Quality

Layers

Model checks

The science

Bending in a magnetic field

A particle of charge z e and momentum p in a uniform field B perpendicular to its velocity moves on a circle of radius r = p / (z e B), or in practical units r [m] = p [GeV/c] / (0.2998 z B [T]). The page integrates d theta / ds = qB/p with a Runge-Kutta scheme as an independent check of that formula.

Measuring the sagitta

Three detector planes at the entrance, the middle and the exit of the magnet record the transverse position of the track. The sagitta s = (y_0 + y_2)/2 - y_1 equals L^2 / (8 r) for a shallow arc; the page uses the exact circle and inverts it numerically, so p = 0.2998 B r is recovered without small-angle approximations.

Resolution

Each hit has a Gaussian error sigma, so the sagitta has error sigma_s = sigma sqrt(3/2) and the fractional momentum error is sigma_p / p = sigma_s / (|d ln s / d ln r| s), growing linearly with momentum and falling as 1 / (B L^2). The histogram shows the measured distribution against that prediction; at very large noise the distribution is skewed because p depends on 1/s.

Particle identification

Momentum alone does not say what the particle is. Over a flight path of 3 m the time of flight is L / (beta c) with beta = p / sqrt(p^2 + m^2); the difference between a proton and a pion is hundreds of picoseconds at 1 GeV/c and falls as 1 / p^2.

Simplifications

The field is perfectly uniform and sharp-edged, there is no multiple scattering or energy loss, hits are independent Gaussians, and the sideways scale of the 3D tracks can be exaggerated (the factor is printed on the screen) because real deflections are only millimetres to centimetres.

What to try
  1. Start with the default muon and read the sagitta: a few centimetres from a 2 GeV/c track in 1 T.
  2. Choose the stiff-track preset: the sagitta shrinks to millimetres and the measured resolution worsens in proportion to p.
  3. Switch to the weak field with fine detectors and compare the predicted and measured sigma(p)/p.
  4. Change the charge sign: the track bends the other way but the measured momentum is unchanged.
  5. Look at the time-of-flight graph: proton and pion are well separated at low momentum and merge at 5 GeV/c.
Loading Blender model...
Sagitta against momentum
Momentum resolution against momentum
Distribution of measured momentum error
Time-of-flight difference against momentum
Made with 🟠 Blender · Three.js