[562] | 1 | ####################################################################### |
---|
| 2 | # MACRO FILE NAME: exN03Tree0.mac # |
---|
| 3 | # # |
---|
| 4 | # AUTHOR(S): Satoshi Tanaka # |
---|
| 5 | # # |
---|
| 6 | # DATE: # |
---|
| 7 | # Sept 08-09, 2001 (at Hebden Bridge, UK) # |
---|
| 8 | # June 20, 2001 # |
---|
| 9 | # # |
---|
| 10 | # CONTENTS: A macro to demonstrate ASCII DTREE # |
---|
| 11 | # # |
---|
| 12 | # USAGE: # |
---|
| 13 | # % $G4BINDIR/exampleN03 # |
---|
| 14 | # Idle> /control/execute visTutor/exN03Tree0.mac # |
---|
| 15 | # # |
---|
| 16 | # REQUIRED PLATFORMS & SOFTWARES: Unix / Windows # |
---|
| 17 | # # |
---|
| 18 | # ENVIRONMENTAL VARIABLES (C-MACROS) FOR INSTALLATION: # |
---|
| 19 | # # |
---|
| 20 | # * Unnecessary # |
---|
| 21 | # # |
---|
| 22 | # ENVIRONMENTAL VARIABLES (C-MACROS) FOR COMPILATION: # |
---|
| 23 | # (See geant4/source/visualization/README for details.) # |
---|
| 24 | # # |
---|
| 25 | # * Unnecessary # |
---|
| 26 | # # |
---|
| 27 | # VERBOSE LEVEL: # |
---|
| 28 | # # |
---|
| 29 | # < 10: - does not print daughters of repeated logical volumes. # |
---|
| 30 | # - does not repeat replicas. # |
---|
| 31 | # >= 10: prints all physical volumes. # |
---|
| 32 | # For level of detail add: # |
---|
| 33 | # >= 0: prints physical volume name. # |
---|
| 34 | # >= 1: prints logical volume name. # |
---|
| 35 | # >= 2: prints solid name and type. # |
---|
| 36 | # # |
---|
| 37 | # ADDITIONAL NOTES: # |
---|
| 38 | # * The geometry tree is displayed in the stdout. # |
---|
| 39 | # * The compound command to visualize geometry tree: # |
---|
| 40 | # /vis/drawTree [<physical-volume-name>] [<system>] # |
---|
| 41 | ####################################################################### |
---|
| 42 | |
---|
| 43 | # Draw the whole geometry tree |
---|
| 44 | /vis/drawTree |
---|
| 45 | |
---|
| 46 | # Draw a part of tree |
---|
| 47 | /vis/drawTree Gap |
---|
| 48 | |
---|
| 49 | # Change the level to display details |
---|
| 50 | /vis/ASCIITree/verbose 1 |
---|
| 51 | /vis/drawTree |
---|
| 52 | |
---|
| 53 | # Change the level to display details |
---|
| 54 | /vis/ASCIITree/verbose 2 |
---|
| 55 | /vis/drawTree |
---|
| 56 | |
---|
| 57 | # Change the level to display details |
---|
| 58 | /vis/ASCIITree/verbose 10 |
---|
| 59 | /vis/drawTree |
---|