[1350] | 1 | $Id: README,v 1.2 2004/05/13 14:57:15 gcosmo Exp $ |
---|
| 2 | ------------------------------------------------------------------- |
---|
| 3 | |
---|
| 4 | ========================================================= |
---|
| 5 | Geant4 - an Object-Oriented Toolkit for Simulation in HEP |
---|
| 6 | ========================================================= |
---|
| 7 | |
---|
| 8 | Test framework for divisions |
---|
| 9 | ---------------------------- |
---|
| 10 | |
---|
| 11 | |
---|
| 12 | This example defines a framework for testing divisions of volumes. |
---|
| 13 | It runs in graphical mode and generates log-files for 'steps' and 'points' |
---|
| 14 | generated at intersections. |
---|
| 15 | |
---|
| 16 | - compile and link to generate an executable: |
---|
| 17 | % gmake |
---|
| 18 | |
---|
| 19 | - execute in 'interactive mode' with visualization. |
---|
| 20 | --> exampleDiv [mode] [[placement] [[shape] [[option1] [option2] ...]]] |
---|
| 21 | For example: |
---|
| 22 | % exampleDiv division reflected box {or cons, tubs, para, trd, pcone, phedra} |
---|
| 23 | % exampleDiv replica normal box {or cons, tubs, para, trd, pcone, phedra} |
---|
| 24 | .... |
---|
| 25 | Idle> type your commands. For instance: |
---|
| 26 | Idle> /run/beamOn 10 |
---|
| 27 | .... |
---|
| 28 | Idle> exit |
---|
| 29 | |
---|
| 30 | - mode: replica, division |
---|
| 31 | - placement: normal, reflected |
---|
| 32 | - options can be specified, for example: |
---|
| 33 | % exampleDiv division tubs offset=1. divtype=0 width=0.1 startphi=90. deltaphi=360 |
---|
| 34 | |
---|