source: trunk/environments/MOMO/MomoHome/README @ 1340

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

tag geant4.9.4 beta 1 + modifs locales

File size: 2.0 KB
Line 
12004 NOvember 26
2
3A) How to use MOMO.
4
51) cd here where src/ and include/ are located
62) "java -version" and check that your java virtual machine is version 1.4
7   (1.5 works with some malfuctionning)
83) "java -jar ../MOMO.jar" and MOMO starts
94) check that "set G4WORKDIR" displays this directory. If you change this,
10  you will have faster access to files in that directory.
11
12B) How to use the example of a flattening filter
13
141) relevant files of this example are
15    ./linac.cc
16    ./Momomake.gmk
17    ./flat.his (a macro file)
18    ./src/flatteningFilter.cc
19    ./include/flatteningFilter.hh
20 All these files are generated automatically by MOMO, including the history macro file.
21
222) fill the tables from the persistent files
23 a) GPE -> load file ->  MomoN02PhysicsList.g4ph
24        -> make C++ file -> save in src/
25        -> make header file -> save in include/
26 b) GGE -> load file -> flatteningFilter.g4dt
27        -> make C++ file -> save in src/
28        -> make header file -> savle in include/
29 c) type i the name of the main program in the top field of MOMO panel
30
313) Project menu
32 a) make main program -> save here
33 b) make Makefile -> save here
34 c) compile
35     If some errors are found, correct them
364) run
37 GAG -> Geant4 -> Start -> file chooser
38 mouse click /control/execute -> file chooser -> flat.his -> OK
39 and you will have OpenGL event display:
40    e- 10MeV, entering the flattenig filter (same as the examples/extended/linac),
41    changing the incident angles
42
43Enjoy!
44
45--------------------------------------------------------------------
46
472002 March
48
49 Momo's default home directory in which the default src and include
50directories and the default four classes are placed.
51
52        src/MomoEventAction.cc
53        src/MomoRunAction.cc
54        src/MomoPrimaryGeneratorAction.cc
55        src/MomoVisManager.cc
56
57
58        include/MomoEventAction.hh
59        include/MomoRunAction.hh
60        include/MomoPrimaryGeneratorAction.hh
61        include/MomoVisManager.hh
62
63A macro file is included to visualise events and trajectories
64
65        ./vis.mac
66
67And this file
68
69        ./README
70
71
Note: See TracBrowser for help on using the repository browser.