source: trunk/examples/extended/runAndEvent/RE03/README

Last change on this file was 1337, checked in by garnier, 14 years ago

tag geant4.9.4 beta 1 + modifs locales

File size: 2.8 KB
Line 
1
2 RE03 - An extended example for run and event
3 --------------------------------------------
4
5 Contact : M.Asai (SLAC), A.Kimura (AIT), T.Aso (TNCMT)
6
7****************************************************************
8* IMPORTANT NOTICE for version 9.2                             *
9*                                                              *
10*  This UI-command base scoring is still in beta release and   *
11* functionality offered is preliminary. We do not guarantee    *
12* the correctness of the code. Also, we may change any of the  *
13* commands / methods in the near future release.               *
14*  In particular for the cylindrical scoring mesh, we are      *
15* aware of rather frequent warning messages issued by the      *
16* G4Navigator for the zero-length steps. I believe the results *
17* is correct, but we appreciate the user's patient for this    *
18* messy warning messages. It is identified that if a track     *
19* enters at exactly the center of the top/bottom circlic face  *
20* exactly along the local z-axis of the scoring cylinder, this *
21* warning message is mostlikely issued.                        *
22*                                                              *
23****************************************************************
24
251. Introduction
26
27 This example demonstrates how to use UI-command base scoring.
28It create parallel world(s) for defining scoring mesh(es).
29
30 Since this UI-command base scoring is preliminary, this
31functionality is not provided by default. To get it included,
32the pointer to G4ScoringManager must be accessed. The access
33to the static method G4ScoringManager::GetScoringManager()
34activate this functionality.
35
361.1 Geometry and primary particle
37
38 It has just one water box in the world volume filled by air.
39No detector in the mass geometry. Particle gun shoots a gamma
40into the water box.
41
421.2 Physics
43
44 The physics list is mostly identical to exampleN03. It does not
45have hadronics.
46
472. Macro files
48
49 "run1.mac" through "run4.mac" macro files should be used
50independently. Each macro file create its own scoring parallel
51world(s). "vis.mac", "drawSlices.mac" and "drawCylinderSlices.mac"
52are used internally. Each macro should work for both interactively
53and batch, but interactive mode is advised for better visualization.
54
55 IMPORTANT: DO NOT use more than one of these macro files in one
56execution of this example.
57
583. RE03UserScoreWriter
59
60 G4ScoringManager has a default score writer which dumps every
61entry of one quantity of a mesh for all quantities of the mesh
62one by one in CSV format. To alternate the file format the user
63can implement his/her own score writer deriving from G4VUserScoreWriter
64base class and set it to G4ScoringManager. To demonstrate this,
65RE03UserScoreWriter is included in this example. To use this
66alternative writer, un-comment its instantiation in RE03.cc.
67
68
69
70
71
72
73
Note: See TracBrowser for help on using the repository browser.