Abstract

We present a Monte Carlo algorithm that generates points randomly and uniformly on a set of arbitrary surfaces. The algorithm is completely general and only requires the geometry modeling software to provide the intersection points of an arbitrary line with the surface being sampled. We demonstrate the algorithm using the Geant4 Monte Carlo simulation toolkit. The efficiency of the sampling algorithm is discussed, along with various options in the implementation and example applications.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call