The example shows how to create a primary event including several vertices and several primary particles per vertex
It is a simple box which represents an 'infinite' homogeneous medium.
PhysicsList.cc defines only geantino and transportation process.
vertex A and particle 1 : a geantino uniformly randomized on a cylinder surface. vertex B and particles 2 and 3 : symetric to vertex A.
Visualization Manager is set in the main(). Initialisation of the drawing is done via the commands /vis/.. in the macro vis.mac. This macro is automatically read from the main in case of interactive running mode.
% userPrimaryGenerator run1.mac
% userPrimaryGenerator .... Idle> ---> type your commands. For instance: Idle> /run/beamOn 1 .... Idle> exit