source: trunk/examples/extended/g3tog4/README @ 1344

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

update

File size: 1.1 KB
Line 
1
2                         G3toG4 tool's examples
3                         ----------------------
4
5This directory includes two applications to demonstrate the usage of the
6g3tog4 tool for converting Geant 3.21 simple geometries to Geant4 ones.
7
8The environment variable G4LIB_USE_G3TOG4 should be defined.
9
10clGeometry
11----------
12Contains the code to build a detector geometry using the call list
13mechanism and also provides visualization. The name of the executable is
14clGeometry.
15
16To run the application, one must provide as input argument a call list file
17(few test samples are placed in ../data), generated by the rztog4 application
18which can be built typing "gmake bin" from $G4INSTALL/source/g3tog4.
19
20clGeometry.in is a macro to be executed either interactively or in batch.
21
22For example:
23> cd $G4INSTALL/examples/extended/g3tog4
24> clGeometry data/testmodel.dat clGeometry.in
25
26cltog4
27------
28is a simple example which simply invokes the call list interpreter method
29G4BuildGeom from G3toG4DetectorConstruction class, builds the geometry
30and exits.
31
32As for clGeometry, a call list needs to be fed to cltog4. A macro cltog4.in
33is available to be executed either interactively or in batch.
Note: See TracBrowser for help on using the repository browser.