Warning, /geant4/examples/extended/runAndEvent/RE03/README is written in an unsupported language. File is not indexed.
0001
0002 RE03 - An extended example for run and event
0003 --------------------------------------------
0004
0005 Contact : M.Asai (SLAC), A.Kimura (AIT), T.Aso (TNCMT)
0006
0007 1. Introduction
0008
0009 This example demonstrates how to use UI-command base scoring.
0010 It create parallel world(s) for defining scoring mesh(es).
0011
0012 Due to some performance overhead, this functionality is not
0013 provided by default. To get it included, the pointer to
0014 G4ScoringManager must be accessed. The access to the static
0015 method G4ScoringManager::GetScoringManager() activates this
0016 functionality.
0017
0018 1.1 Geometry and primary particle
0019
0020 It has just one water box in the world volume filled by air.
0021 No detector in the mass geometry. Particle gun shoots a gamma
0022 into the water box.
0023
0024 1.2 Physics
0025
0026 The physics list is taken from referenced physics-list QGS_BIC
0027 in Geant4.
0028
0029 2. Macro files
0030
0031 "run1.mac" through "run4.mac" macro files should be used
0032 independently. Each macro file create its own scoring parallel
0033 world(s). "vis.mac", "drawSlices.mac" and "drawCylinderSlices.mac"
0034 are used internally. Each macro should work for both interactively
0035 and batch, but interactive mode is advised for better visualization.
0036
0037 IMPORTANT: DO NOT use more than one of these macro files in one
0038 execution of this example.
0039
0040 3. RE03UserScoreWriter
0041
0042 G4ScoringManager has a default score writer which dumps every
0043 entry of one quantity of a mesh for all quantities of the mesh
0044 one by one in CSV format. To alternate the file format the user
0045 can implement his/her own score writer deriving from G4VUserScoreWriter
0046 base class and set it to G4ScoringManager. To demonstrate this,
0047 RE03UserScoreWriter is included in this example. To use this
0048 alternative writer, un-comment its instantiation in RE03.cc.
0049
0050
0051
0052
0053
0054
0055