Warning, /geant4/examples/extended/eventgenerator/userPrimaryGenerator/README is written in an unsupported language. File is not indexed.
0001 -------------------------------------------------------------------
0002
0003 =========================================================
0004 Geant4 - an Object-Oriented Toolkit for Simulation in HEP
0005 =========================================================
0006
0007 userPrimaryGenerator
0008 --------------------
0009
0010 The example shows how to create a primary event including several vertices and
0011 several primary particles per vertex
0012
0013 1- Geometry construction
0014 ---------------------
0015
0016 It is a simple box which represents an 'infinite' homogeneous medium.
0017
0018 2- Physics list
0019 ------------
0020
0021 PhysicsList.cc defines only geantino and transportation process.
0022
0023 3- Primary generator : several vertices and particles per event
0024 ------------------------------------------------------------
0025
0026 vertex A and particle 1 : a geantino uniformly randomized on a cylinder surface.
0027 vertex B and particles 2 and 3 : symetric to vertex A.
0028
0029 4- Visualisation
0030 -------------
0031
0032 Visualization Manager is set in the main().
0033 Initialisation of the drawing is done via the commands
0034 /vis/.. in the macro vis.mac. This macro is automatically read from the main
0035 in case of interactive running mode.
0036
0037 5- How to start ?
0038 --------------
0039
0040 - execute basic in 'batch' mode from macro files
0041 % basic run1.mac
0042
0043 - execute basic in 'interactive mode' with visualization
0044 % basic
0045 ....
0046 Idle> ---> type your commands. For instance:
0047 Idle> /run/beamOn 1
0048 ....
0049 Idle> exit