Instruct: Identify the main and secondary category of Arxiv papers based on the titles and abstracts
Query: A Generic Surface Sampler for Monte Carlo Simulations   We present an implementation of 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.

21
The categories of this paper are: adap-org
36
The categories of this paper are: cmp-lg
35
The categories of this paper are: mtrl-th
37
The categories of this paper are: supr-con
6
The categories of this paper are: astro-ph
32
The categories of this paper are: atom-ph
13
The categories of this paper are: quant-ph
16
The categories of this paper are: stat
29
The categories of this paper are: funct-an
0
The categories of this paper are: hep-ph
17
The categories of this paper are: q-fin
3
The categories of this paper are: physics
22
The categories of this paper are: chao-dyn
7
The categories of this paper are: hep-th
20
The categories of this paper are: acc-phys
4
The categories of this paper are: cond-mat