A detector is a layered instrument for reading invisible traffic. Something happens at the centre — a decay, a cosmic stray, a collision — and each shell is built to notice a different kind of leftover.
Fine sensors closest to the beam reconstruct curved paths. Charge and momentum are inferred from how sharply a track bends in the magnetic field.
Electrons and photons dump their energy in a dense, bright layer. The size of that shower is a measure of energy.
Protons, neutrons and other composites made of quarks travel farther before they stop. This thicker shell catches them.
A strong field bends charged particles. Higher momentum means a gentler curve; opposite charges curve opposite ways.
Muons slip through metres of material. The outer chambers exist because almost nothing else arrives there still intact.