Skip to content

Add RICH example with aerogel and C4F10 radiators - #8

Merged
peremato merged 3 commits into
mainfrom
rich-example
Oct 30, 2026
Merged

peremato merged 3 commits into
mainfrom
rich-example

Conversation

@peremato

Copy link
Copy Markdown
Member

Adds advanced/RICH, a Ring Imaging Cherenkov detector with two radiators, similar to the RICH1 detector of LHCb in its Technical Design Report (schematic included in the example).

Detector

  • 5 cm silica aerogel tile (n = 1.03) with Rayleigh scattering, with a hole for a beryllium beam pipe
  • about 85 cm of C₄F₁₀ gas with a wavelength-dependent refractive index (Sellmeier formula)
  • two spherical mirrors (R = 2 m, 90% reflectivity), cut from a spherical shell with G4IntersectionSolid. Their centres of curvature are displaced to y = ±75 cm so the rings are focused onto two photodetector planes outside the acceptance.
  • photodetectors with a bialkali-like quantum efficiency (peak 25%)

What the example does

  • shoots π⁺, K⁺ and protons from the origin (1–80 GeV/c, 50–250 mrad)
  • records the detected photons in the stepping action, applying the quantum efficiency
  • reconstructs the Cherenkov angle of each photon: it finds the reflection point on the mirror (bisection in the plane of the emission point, hit and centre of curvature) and corrects aerogel photons for the refraction at the exit of the tile
  • plots an event display, the rings on the photodetectors, θc against momentum with the expected π/K/p curves, the single photon resolution, and the reconstructed mass of each track

Results (1000 events)

  • about 21 detected photons per track from the aerogel and 27 from the gas
  • single photon resolution: about 2 mrad (gas) and 1 mrad (aerogel, which has a constant index here, so no chromatic dispersion)
  • clear π/K/p separation in both radiators

Files

  • RICH.lit (source of truth), with RICH.jl and RICH.ipynb generated from it
  • RICHDetector.jl, README.md, Schematic-RICH-detector.png
  • test/runtests.jl: runs the example (about 35 s)

🤖 Generated with Claude Code

peremato and others added 3 commits October 30, 2026 17:14
New advanced example of a Ring Imaging Cherenkov detector, similar to
LHCb RICH1 in its TDR: an aerogel tile and C4F10 gas, two tilted
spherical mirrors focusing the rings onto photodetector planes outside
the acceptance. It reconstructs the Cherenkov angle of each detected
photon and shows pi/K/p separation. The example is added to the tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@peremato
peremato merged commit d418cf1 into main Oct 30, 2026
2 checks passed
@peremato
peremato deleted the rich-example branch October 30, 2026 16:54
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.

1 participant