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

Last change on this file since 1279 was 807, checked in by garnier, 16 years ago

update

File size: 2.0 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.1                             *
9*  This UI-command base scoring is still in alpha release and  *
10* functionality offered is preliminary. We do not guarantee    *
11* the correctness of the code. Also, we may change any of the  *
12* commands / methods in the near future release.               *
13****************************************************************
14
151. Introduction
16
17 This example demonstrates how to use UI-command base scoring.
18It create parallel world(s) for defining scoring mesh(es).
19
20 Since this UI-command base scoring is preliminary, this
21functionality is not provided by default. To get it included,
22the pointer to G4ScoringManager must be accessed. The access
23to the static method G4ScoringManager::GetScoringManager()
24activate this functionality.
25
261.1 Geometry and primary particle
27
28 It has just one water box in the world volume filled by air.
29No detector in the mass geometry. Particle gun shoots a gamma
30into the water box.
31
321.2 Physics
33
34 The physics list is mostly identical to exampleN03. It does not
35have hadronics.
36
372. Macro files
38
39 "run1.mac" through "run3.mac" macro files should be used
40independently. Each macro file create its own scoring parallel
41world(s). "vis.mac" and "drawSlics.mac" are used internally.
42Each macro should work for both interactively and batch, but
43interactive mode is advised for better visualization.
44
453. RE03UserScoreWriter
46
47 G4ScoringManager has a default score writer which dumps every
48entry of one quantity of a mesh for all quantities of the mesh
49one by one in CSV format. To alternate the file format the user
50can implement his/her own score writer deriving from G4VUserScoreWriter
51base class and set it to G4ScoringManager. To demonstrate this,
52RE03UserScoreWriter is included in this example. To use this
53alternative writer, un-comment its instantiation in RE03.cc.
54
55
56
57
58
59
60
Note: See TracBrowser for help on using the repository browser.