OMSim
Geant4 for IceCube optical module studies
Loading...
Searching...
No Matches
OMSimPrimaryGeneratorAction.cc File Reference

Implementation of primary generator action for WavePID. More...

Include dependency graph for wavepid/src/OMSimPrimaryGeneratorAction.cc:

Detailed Description

Calculates muon starting position based on impact parameter to ensure the Cherenkov light cone hits the DOM at the origin.

Geometry:

  • DOM at origin (0, 0, 0)
  • Muon travels in +x direction
  • Muon track at perpendicular distance r (impact parameter) in z
  • Starting x position: -1.7*r (ensures Cherenkov cone reaches DOM)

The factor 1.7 accounts for the Cherenkov angle in ice (~41 deg): tan(41°) ≈ 0.87, so light needs ~1.15*r to reach DOM Using 1.7 provides margin for the full cone to illuminate the DOM.