67 lines
3.7 KiB
Plaintext
67 lines
3.7 KiB
Plaintext
#######################################################################
|
|
# MACRO FILE NAME: exN03Tree0.mac #
|
|
# #
|
|
# AUTHOR(S): Satoshi Tanaka #
|
|
# #
|
|
# DATE: #
|
|
# June 20, 2001 #
|
|
# #
|
|
# CONTENTS: A macro to demonstrate ASCII DTREE #
|
|
# #
|
|
# USAGE: #
|
|
# % $G4BINDIR/exampleN03 #
|
|
# Idle> /control/execute visTutor/exN03Tree0.mac #
|
|
# #
|
|
# REQUIRED PLATFORMS & SOFTWARES: Unix / Windows #
|
|
# #
|
|
# ENVIRONMENTAL VARIABLES (C-MACROS) FOR INSTALLATION: #
|
|
# #
|
|
# % setenv G4VIS_BUILD_ASCIITREE_DRIVER 1 #
|
|
# #
|
|
# ENVIRONMENTAL VARIABLES (C-MACROS) FOR COMPILATION: #
|
|
# (See geant4/source/visualization/README for details.) #
|
|
# #
|
|
# % setenv G4VIS_USE_ASCIITREE 1 #
|
|
# #
|
|
# VERBOSE LEVEL: #
|
|
# #
|
|
# < 10: - does not print daughters of repeated logical volumes. #
|
|
# - does not repeat replicas. #
|
|
# >= 10: prints all physical volumes. #
|
|
# For level of detail add: #
|
|
# >= 0: prints physical volume name. #
|
|
# >= 1: prints logical volume name. #
|
|
# >= 2: prints solid name and type. #
|
|
# #
|
|
# ADDITIONAL NOTES: #
|
|
# * The geometry tree is displayed in the stdout. #
|
|
# #
|
|
# * The compound command #
|
|
# "/vis/drawTree [<physical-volume-name>] [<system>]" #
|
|
# is equivalent to the following set of commands: #
|
|
# /vis/open system #
|
|
# /vis/drawVolume PV-name #
|
|
# #
|
|
# The PV-name "world" is always means the world volume, #
|
|
# whatever its real name, e.g., "World" in example N03, is. #
|
|
# #
|
|
#######################################################################
|
|
|
|
# Draw the whole geometry tree
|
|
/vis/drawTree
|
|
|
|
# Draw a part of tree
|
|
/vis/drawTree Gap
|
|
|
|
# Change the level to display details
|
|
/vis/ASCIITree/verbose 1
|
|
/vis/drawTree
|
|
|
|
# Change the level to display details
|
|
/vis/ASCIITree/verbose 2
|
|
/vis/drawTree
|
|
|
|
# Change the level to display details
|
|
/vis/ASCIITree/verbose 10
|
|
/vis/drawTree
|