2010 NOvember 26  Geant4.9.4 update

H. Yoshida    Geant4 Associates International Ltd. yoshidah@g4ai.org

A) How to use MOMO.

1) cd here where src/ and include/ are located
2) "java -version" and check that your java virtual machine is version 1.6
3) "java -jar ../MOMO.jar" and MOMO starts
4) All files generated by MOMO are stored in the current directory where you started MOMO.

B) How to use the example of a flattening filter

1) relevant files of this example are

    ./Demonstration_of_Geometry_Editor.cc    :the main program
    ./GNUmakefile
    ./Demonstration_of_Geometry_Editor.g4dt    : persistent GGE file saving the example gepmetry
    ./src/Various_Solids_Copied.cc
    ./include/Various_Solids_Copied.hh

 All these files are generated automatically by MOMO. 

2) fill the tables from the persistent files

 a) GGE -> load file -> Demonstration_of_Geometry_Editor.g4dt
    GGE    -> make C++ file -> save in src/
    GGE    -> make header file -> savle in include/
    GGE  => save geometry
 b) type in the name of the main program in the top field of MOMO panel

3) Project menus

 a) make main program -> save here
 b) make Makefile -> save here
 c) compile
     If some errors are found, correct them
4) run
 GAG -> Geant4 -> Start -> file chooser which points to G4WORKDIR
 mouse click /control/execute -> file chooser -> any macro files -> OK
 and you will have OpenGL event display:


Enjoy!




