Import Geant4 9.5.0 source tree
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
|
||||
# e+ 300MeV
|
||||
/gun/particle e+
|
||||
/gun/energy 300 MeV
|
||||
/run/beamOn 1
|
||||
#
|
||||
# list the existing physics processes
|
||||
/process/list
|
||||
#
|
||||
# switch off MultipleScattering
|
||||
/process/inactivate msc
|
||||
/run/beamOn 1
|
||||
#
|
||||
# switch on MultipleScattering
|
||||
/process/activate msc
|
||||
#
|
||||
# change detector parameter
|
||||
/gun/particle gamma
|
||||
/gun/energy 500 MeV
|
||||
/run/beamOn 1
|
||||
@@ -0,0 +1,45 @@
|
||||
#
|
||||
# This file permits to customize, with commands,
|
||||
# the menu bar of the G4UIXm, G4UIQt, G4UIWin32 sessions.
|
||||
# It has no effect with G4UIterminal.
|
||||
#
|
||||
# File :
|
||||
/gui/addMenu g4file G4File
|
||||
/gui/addButton g4file Continue continue
|
||||
/gui/addButton g4file Exit "exit"
|
||||
#
|
||||
# Run menu :
|
||||
/gui/addMenu run Run
|
||||
/gui/addButton run "beamOn 1" "/run/beamOn 1"
|
||||
/gui/addButton run run1 "/control/execute run1.mac"
|
||||
/gui/addButton run run2 "/control/execute run2.mac"
|
||||
#
|
||||
# Gun menu :
|
||||
/gui/addMenu gun Gun
|
||||
/gui/addButton gun "50 MeV" "/gun/energy 50 MeV"
|
||||
/gui/addButton gun "1 GeV" "/gun/energy 1 GeV"
|
||||
/gui/addButton gun "10 GeV" "/gun/energy 10 GeV"
|
||||
/gui/addButton gun "e-" "/gun/particle e-"
|
||||
/gui/addButton gun "pi0" "/gun/particle pi0"
|
||||
/gui/addButton gun "pi+" "/gun/particle pi+"
|
||||
/gui/addButton gun "neutron" "/gun/particle neutron"
|
||||
/gui/addButton gun "proton" "/gun/particle proton"
|
||||
#
|
||||
# Vis menu :
|
||||
/gui/addMenu vis Vis
|
||||
/gui/addButton vis DAWNFILE "/control/execute visTutor/exN03Vis0.mac"
|
||||
/gui/addButton vis OpenInventor "/control/execute visTutor/exN03Vis5.mac"
|
||||
/gui/addButton vis TimeSlicing "/control/execute visTutor/exN03Vis12.mac"
|
||||
/gui/addButton vis EmShower "/control/execute visTutor/exN03Vis13.mac"
|
||||
#
|
||||
# Viewer menu :
|
||||
/gui/addMenu viewer Viewer
|
||||
/gui/addButton viewer "Set style surface" "/vis/viewer/set/style surface"
|
||||
/gui/addButton viewer "Set style wireframe" "/vis/viewer/set/style wire"
|
||||
/gui/addButton viewer "Refresh viewer" "/vis/viewer/refresh"
|
||||
/gui/addButton viewer "Update viewer (interaction or end-of-file)" "/vis/viewer/update"
|
||||
/gui/addButton viewer "Flush viewer (= refresh + update)" "/vis/viewer/flush"
|
||||
/gui/addButton viewer "Update scene" "/vis/scene/notifyHandlers"
|
||||
#
|
||||
# To limit the output flow in the "dump" widget :
|
||||
/B4/event/setPrintModulo 100
|
||||
@@ -0,0 +1,8 @@
|
||||
# Macro file for the initialization phase of example B4
|
||||
# when running in interactive mode without visualization
|
||||
#
|
||||
# Set some default verbose
|
||||
#
|
||||
/control/verbose 2
|
||||
/control/saveHistory
|
||||
/run/verbose 2
|
||||
@@ -0,0 +1,11 @@
|
||||
# Macro file for the initialization phase of example B4
|
||||
# when running in interactive mode with visualization
|
||||
#
|
||||
# Sets some default verbose
|
||||
#
|
||||
/control/verbose 2
|
||||
/control/saveHistory
|
||||
/run/verbose 2
|
||||
#
|
||||
# Visualization setting
|
||||
/control/execute vis.mac
|
||||
@@ -0,0 +1,38 @@
|
||||
# Macro file for example B4
|
||||
#
|
||||
# Can be run in batch, without graphic
|
||||
# or interactively: Idle> /control/execute run1.mac
|
||||
#
|
||||
# Default kinematics:
|
||||
# electron 50 MeV in direction (0.,0.,1.)
|
||||
# 1 event with tracking/verbose
|
||||
#
|
||||
/tracking/verbose 1
|
||||
/run/beamOn 1
|
||||
#
|
||||
#
|
||||
# muon 300 MeV in direction (0.,0.,1.)
|
||||
# 3 events
|
||||
#
|
||||
/gun/particle mu+
|
||||
/gun/energy 3 MeV
|
||||
/run/beamOn 3
|
||||
#
|
||||
# 20 events
|
||||
#
|
||||
/tracking/verbose 0
|
||||
/B4/event/setPrintModulo 5
|
||||
/run/beamOn 20
|
||||
#
|
||||
# Magnetic field
|
||||
#
|
||||
/B4/det/setMagField 0.2 tesla
|
||||
/run/beamOn 3
|
||||
#
|
||||
# Activate/inactivate physics processes
|
||||
#
|
||||
/process/list
|
||||
/process/inactivate eBrem
|
||||
#
|
||||
/run/beamOn 20
|
||||
#
|
||||
@@ -0,0 +1,12 @@
|
||||
# Macro file for example B4
|
||||
#
|
||||
# To be run preferably in batch, without graphics:
|
||||
# % exampleB4[a,b,c,d] run2.mac
|
||||
#
|
||||
# Default kinemtics:
|
||||
# electron 50 MeV in direction (0.,0.,1.)
|
||||
# 1000 events
|
||||
#
|
||||
/B4/event/setPrintModulo 100
|
||||
/run/beamOn 1000
|
||||
|
||||
@@ -0,0 +1,82 @@
|
||||
# Macro file for the visualization setting for the initialization phase
|
||||
# of the B4 example when running in interactive mode
|
||||
#
|
||||
|
||||
# Use these open statements to open selected visualization
|
||||
#
|
||||
# Use this open statement to create an OpenGL view:
|
||||
/vis/open OGL 600x600-0+0
|
||||
#
|
||||
# Use this open statement to create an OpenInventor view:
|
||||
#/vis/open OIX
|
||||
#
|
||||
# Use this open statement to create a .prim file suitable for
|
||||
# viewing in DAWN:
|
||||
#/vis/open DAWNFILE
|
||||
#
|
||||
# Use this open statement to create a .heprep file suitable for
|
||||
# viewing in HepRApp:
|
||||
#/vis/open HepRepFile
|
||||
#
|
||||
# Use this open statement to create a .wrl file suitable for
|
||||
# viewing in a VRML viewer:
|
||||
#/vis/open VRML2FILE
|
||||
#
|
||||
# Disable auto refresh and quieten vis messages whilst scene and
|
||||
# trajectories are established:
|
||||
/vis/viewer/set/autoRefresh false
|
||||
/vis/verbose errors
|
||||
#
|
||||
# Draw geometry:
|
||||
/vis/drawVolume
|
||||
#
|
||||
# Specify view angle:
|
||||
/vis/viewer/set/viewpointThetaPhi 90. 180.
|
||||
#
|
||||
# Specify zoom value:
|
||||
#/vis/viewer/zoom 2.
|
||||
#
|
||||
# Specify style (surface, wireframe, auxiliary edges,...)
|
||||
#/vis/viewer/set/style wireframe
|
||||
#/vis/viewer/set/auxiliaryEdge true
|
||||
#/vis/viewer/set/lineSegmentsPerCircle 100
|
||||
#
|
||||
# Draw coordinate axes:
|
||||
#/vis/scene/add/axes 0 0 0 1 m
|
||||
#
|
||||
# Draw smooth trajectories at end of event, showing trajectory points
|
||||
# as markers 2 pixels wide:
|
||||
/vis/scene/add/trajectories smooth
|
||||
/vis/modeling/trajectories/create/drawByCharge
|
||||
/vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true
|
||||
/vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 1
|
||||
# (if too many tracks cause core dump => /tracking/storeTrajectory 0)
|
||||
#
|
||||
# Draw hits at end of event:
|
||||
#/vis/scene/add/hits
|
||||
#
|
||||
# To draw only gammas:
|
||||
#/vis/filtering/trajectories/create/particleFilter
|
||||
#/vis/filtering/trajectories/particleFilter-0/add gamma
|
||||
#
|
||||
# To invert the above, drawing all particles except gammas,
|
||||
# keep the above two lines but also add:
|
||||
#/vis/filtering/trajectories/particleFilter-0/invert true
|
||||
#
|
||||
# Many other options are available with /vis/modeling and /vis/filtering.
|
||||
# For example, to select colour by particle ID:
|
||||
#/vis/modeling/trajectories/create/drawByParticleID
|
||||
#/vis/modeling/trajectories/drawByParticleID-0/default/setDrawStepPts true
|
||||
# To select or override default colours (note: e+ is blue by default):
|
||||
#/vis/modeling/trajectories/list
|
||||
#/vis/modeling/trajectories/drawByParticleID-0/set e+ yellow
|
||||
#
|
||||
# To superimpose all of the events from a given run:
|
||||
/vis/scene/endOfEventAction accumulate
|
||||
#
|
||||
# Re-establish auto refreshing and verbosity:
|
||||
/vis/viewer/set/autoRefresh true
|
||||
/vis/verbose warnings
|
||||
#
|
||||
# For file-based drivers, use this to create an empty detector view:
|
||||
#/vis/viewer/flush
|
||||
@@ -0,0 +1,39 @@
|
||||
====================================
|
||||
examples/basic/B4/visTutor/History
|
||||
====================================
|
||||
|
||||
24th November 2008 Laurent Garnier
|
||||
- exNo3Vis14.mac,exNo3Vis15.mac : Change OGLSQT by OGLSQt
|
||||
|
||||
3rd May 2005 John Allison (examples-V07-00-03)
|
||||
- Replaced vis manager with G4VisExecutive.
|
||||
|
||||
10-12-04 Joseph Perl
|
||||
- exNo3Vis5.mac: changed name in comments in header from ...Vis6 to ...Vis5.
|
||||
- exNo3Vis6.mac: changed name in comments in header from ...Vis7 to ...Vis6.
|
||||
- exNo3Vis7.mac: changed name in comments in header from ...Vis8 to ...Vis7.
|
||||
- exNo3Vis8.mac: changed name in comments in header from ...Vis9 to ...Vis8.
|
||||
- exNo3Tree1.mac: changed name in comments in header from ...Tree0 to ...Tree1.
|
||||
|
||||
27-11-03 Gabriele Cosmo
|
||||
- removed script exN03Vis5.mac of OPACS and renamed scripts 6/7/8/9 to
|
||||
5/6/7/8 respectively. Added scripts to gui.mac.
|
||||
|
||||
14-11-01 Satoshi Tanaka (exN03VisTutor-V03-02-02)
|
||||
- exN03Vis8.mac : Batch visualization with the DAWNFILE driver
|
||||
- exN03Vis9.mac : Multi-page PostScript file generation (old exN03Vis8.mac)
|
||||
|
||||
08-11-01 Satoshi Tanaka (exN03VisTutor-V03-02-01a)
|
||||
- /vis/viewer/viewpointThetaPhi ==> /vis/viewer/set/viewpointThetaPhi
|
||||
|
||||
07-11-01 Satoshi Tanaka (exN03VisTutor-V03-02-01)
|
||||
- Macros are rewritten with /vis/viewer/flush
|
||||
- Comments are updated.
|
||||
|
||||
18-09-01 Satoshi Tanaka (exN03VisTutor-V03-02-00)
|
||||
- Updation for automatic visualization at Hebden Bridge mini-workshop.
|
||||
- /vis/viewer/flush and /vis/flushAll are not included yet.
|
||||
(To be included in the next tag.)
|
||||
- /vis/drawTree may still require /vis/scene/notifyHandlers.
|
||||
(John Allison will revise the /vis/drawTree command soon.)
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
#######################################################################
|
||||
# MACRO FILE NAME: exN03Tree0.mac #
|
||||
# #
|
||||
# AUTHOR(S): Satoshi Tanaka #
|
||||
# #
|
||||
# DATE: #
|
||||
# Sept 08-09, 2001 (at Hebden Bridge, UK) #
|
||||
# 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: #
|
||||
# #
|
||||
# * Unnecessary #
|
||||
# #
|
||||
# ENVIRONMENTAL VARIABLES (C-MACROS) FOR COMPILATION: #
|
||||
# (See geant4/source/visualization/README for details.) #
|
||||
# #
|
||||
# * Unnecessary #
|
||||
# #
|
||||
# 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 to visualize geometry tree: #
|
||||
# /vis/drawTree [<physical-volume-name>] [<system>] #
|
||||
#######################################################################
|
||||
|
||||
# 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
|
||||
@@ -0,0 +1,108 @@
|
||||
#######################################################################
|
||||
# MACRO FILE NAME: exN03Vis0.mac #
|
||||
# #
|
||||
# AUTHOR(S): Satoshi Tanaka, John Allison #
|
||||
# #
|
||||
# DATE: #
|
||||
# Nov 11, 2010 Updated (JA) #
|
||||
# Nov 07, 2001 #
|
||||
# Sept 08-09, 2001 (at Hebden Bridge, UK) #
|
||||
# June 20, 2001 #
|
||||
# November 26, 2000 #
|
||||
# October 17, 2000 #
|
||||
# June 06, 2000 #
|
||||
# May 20, 2000 #
|
||||
# November 10, 1999 #
|
||||
# #
|
||||
# CONTENTS: A simplest macro to demonstrate visualization of #
|
||||
# detector geometry and events #
|
||||
# #
|
||||
# USAGE with terminal session: #
|
||||
# Idle> /control/execute visTutor/exN03Vis0.mac #
|
||||
# USAGE with GUI session: #
|
||||
# /control/execute visTutor/exN03Vis0.mac #
|
||||
# or pull-down "Vis" menu and click on "Vis0" #
|
||||
# #
|
||||
# REQUIRED PLATFORMS & SOFTWARES: #
|
||||
# See geant4.cern.ch and Installation Guide. #
|
||||
# We recommend standard installation. #
|
||||
# #
|
||||
# ADDITIONAL NOTES: #
|
||||
# The compound command "/vis/open <vis-driver-name>" #
|
||||
# is equivalent to the following set of commands: #
|
||||
# #
|
||||
# /vis/sceneHandler/create $1 #
|
||||
# /vis/viewer/create #
|
||||
# #
|
||||
# The compound command "/vis/drawVolume <physical-volume-name>" #
|
||||
# is equivalent to the following set of commands: #
|
||||
# #
|
||||
# /vis/scene/create #
|
||||
# /vis/scene/add/volume $1 #
|
||||
# /vis/sceneHandler/attach #
|
||||
# #
|
||||
#######################################################################
|
||||
|
||||
##############################################
|
||||
# Visualization of detector geometry
|
||||
# with the OGL (OpenGL) driver
|
||||
##############################################
|
||||
|
||||
# Invoke the OGL driver
|
||||
/vis/open OGL
|
||||
|
||||
# Set camera
|
||||
/vis/viewer/reset
|
||||
#/vis/viewer/set/viewpointThetaPhi 70 20
|
||||
/vis/viewer/set/viewpointThetaPhi 160. 200.
|
||||
|
||||
# Create an empty scene and add the detector geometry to it
|
||||
/vis/drawVolume
|
||||
|
||||
# Draw an event
|
||||
/run/beamOn
|
||||
|
||||
# The following command "flush"
|
||||
# the action of the current viewer.
|
||||
# They are required for the post-processing drivers
|
||||
# such as DAWNFILE, VRMLFILE, HepRep drivers, etc.
|
||||
# For OpenGL drivers, these commands are not required
|
||||
# but harmless even if they are described.
|
||||
/vis/viewer/flush
|
||||
|
||||
#########################################################
|
||||
# Visualization of events with the DAWNFILE driver
|
||||
#
|
||||
# * Each visualized view is saved to a file "g4_XX.eps"
|
||||
# with the "vectorized" PostScript format.
|
||||
#
|
||||
# * Set an environmental variable if you wish to
|
||||
# skip DAWN GUI:
|
||||
# % setenv G4DAWNFILE_VIEWER "dawn -d"
|
||||
##########################################################
|
||||
|
||||
# Invoke the DAWNFILE driver
|
||||
/vis/open DAWNFILE
|
||||
|
||||
# Add the world volume to the current scene
|
||||
/vis/viewer/set/viewpointThetaPhi 90. 180.
|
||||
/vis/drawVolume
|
||||
|
||||
# Add trajectories to the current scene
|
||||
/vis/scene/add/trajectories
|
||||
|
||||
# Draw an event
|
||||
/run/beamOn
|
||||
|
||||
# Set camera
|
||||
/vis/viewer/reset
|
||||
/vis/viewer/zoom 1.5
|
||||
/vis/viewer/set/viewpointThetaPhi 160. 200.
|
||||
/vis/viewer/set/projection perspective 30 deg
|
||||
/run/beamOn
|
||||
|
||||
# Add more stuff to the current scene
|
||||
/vis/scene/add/axes 0 0 0 10 cm
|
||||
/vis/scene/add/text 0 0 0 mm 50 -100 -240 B4
|
||||
/vis/scene/add/scale 10 cm z 1 0 0 manual -2.5 -13 0 cm
|
||||
/run/beamOn
|
||||
@@ -0,0 +1,4 @@
|
||||
# exN03Vis12.loop
|
||||
/vis/ogl/set/startTime {startTime} ns {timeRange} ns
|
||||
# Print eps file
|
||||
#/vis/ogl/printEPS
|
||||
@@ -0,0 +1,149 @@
|
||||
#######################################################################
|
||||
# MACRO FILE NAME: exN03Vis12.mac #
|
||||
# #
|
||||
# AUTHOR(S): John Allison #
|
||||
# #
|
||||
# DATE: 16th August 2006 #
|
||||
# #
|
||||
# CONTENTS: A basic macro for demonstrating time slicing #
|
||||
# #
|
||||
# USAGE: #
|
||||
# exampleN03 visTutor/exN03Vis12.mac #
|
||||
# or Idle> /control/execute visTutor/exN03Vis12.mac #
|
||||
# or pull down "Vis" menu and click on "TimeSlicing" #
|
||||
# #
|
||||
# REQUIRED PLATFORMS & SOFTWARES: Mac/Unix with X-Windows, OpenGL #
|
||||
# #
|
||||
#######################################################################
|
||||
|
||||
/control/verbose 2
|
||||
/vis/verbose confirmations
|
||||
|
||||
/vis/open OGL 600x600-0+0
|
||||
|
||||
# Disable auto refresh and quieten vis messages whilst scene and
|
||||
# trajectories are established:
|
||||
/vis/viewer/set/autoRefresh false
|
||||
/vis/verbose errors
|
||||
|
||||
/vis/viewer/set/viewpointThetaPhi 90. 180.
|
||||
/vis/drawVolume
|
||||
/vis/scene/add/eventID
|
||||
/vis/scene/add/trajectories rich
|
||||
|
||||
# Set up drawByCharge with time slicing
|
||||
/vis/modeling/trajectories/create/drawByCharge TimeSliceByCharge
|
||||
/vis/modeling/trajectories/TimeSliceByCharge/default/setDrawStepPts true
|
||||
/vis/modeling/trajectories/TimeSliceByCharge/default/setStepPtsSize 5
|
||||
/vis/modeling/trajectories/TimeSliceByCharge/default/setDrawAuxPts true
|
||||
/vis/modeling/trajectories/TimeSliceByCharge/default/setAuxPtsSize 5
|
||||
/vis/modeling/trajectories/TimeSliceByCharge/default/setTimeSliceInterval 0.001 ns
|
||||
/vis/modeling/trajectories/list
|
||||
#/B4/det/setMagField 5 T
|
||||
#/vis/scene/add/trajectories rich smooth
|
||||
|
||||
# Re-establish auto refreshing and verbosity:
|
||||
/vis/viewer/set/autoRefresh true
|
||||
/vis/verbose warnings
|
||||
|
||||
# Draw event
|
||||
/gun/particle e-
|
||||
/gun/energy 50 MeV
|
||||
/run/beamOn
|
||||
|
||||
# Configure OpenGL for display-by-time
|
||||
/vis/ogl/set/fade 1
|
||||
/vis/ogl/set/displayHeadTime true
|
||||
/control/alias timeRange 0.1
|
||||
|
||||
# Display time slices
|
||||
/vis/verbose warnings
|
||||
/control/verbose 0
|
||||
/control/loop visTutor/exN03Vis12.loop startTime -{timeRange} 0.7 0.001
|
||||
/control/shell sleep 5
|
||||
/control/verbose 2
|
||||
/vis/verbose confirmations
|
||||
|
||||
# Another event
|
||||
/run/beamOn
|
||||
|
||||
# Display time slices
|
||||
/vis/verbose warnings
|
||||
/control/verbose 0
|
||||
/control/loop visTutor/exN03Vis12.loop startTime -{timeRange} 0.7 0.001
|
||||
/control/shell sleep 5
|
||||
/control/verbose 2
|
||||
/vis/verbose confirmations
|
||||
|
||||
# Disable auto refresh and quieten vis messages whilst scene and
|
||||
# trajectories are established:
|
||||
/vis/viewer/set/autoRefresh false
|
||||
/vis/verbose errors
|
||||
|
||||
# Set up drawByParticleID with time slicing
|
||||
/vis/modeling/trajectories/create/drawByParticleID TimeSliceByParticleID
|
||||
/vis/modeling/trajectories/TimeSliceByParticleID/set e- red
|
||||
/vis/modeling/trajectories/TimeSliceByParticleID/set e+ blue
|
||||
/vis/modeling/trajectories/TimeSliceByParticleID/set pi- cyan
|
||||
/vis/modeling/trajectories/TimeSliceByParticleID/set pi+ magenta
|
||||
#/vis/modeling/trajectories/TimeSliceByParticleID/default/setDrawStepPts true
|
||||
/vis/modeling/trajectories/TimeSliceByParticleID/default/setStepPtsSize 5
|
||||
#/vis/modeling/trajectories/TimeSliceByParticleID/default/setDrawAuxPts true
|
||||
/vis/modeling/trajectories/TimeSliceByParticleID/default/setAuxPtsSize 5
|
||||
/vis/modeling/trajectories/TimeSliceByParticleID/default/setTimeSliceInterval 0.001 ns
|
||||
/vis/modeling/trajectories/list
|
||||
|
||||
# Remove gammas
|
||||
/vis/filtering/trajectories/create/particleFilter TimeSliceFilter
|
||||
/vis/filtering/trajectories/TimeSliceFilter/add gamma
|
||||
/vis/filtering/trajectories/TimeSliceFilter/invert true
|
||||
|
||||
# Re-establish auto refreshing and verbosity:
|
||||
/vis/viewer/set/autoRefresh true
|
||||
/vis/verbose warnings
|
||||
|
||||
/gun/energy 1 GeV
|
||||
/run/beamOn
|
||||
|
||||
/control/alias timeRange 0.1
|
||||
/vis/ogl/set/displayHeadTime true
|
||||
/vis/ogl/set/displayLightFront true 0 0 -90 mm
|
||||
/vis/verbose warnings
|
||||
/control/verbose 0
|
||||
/control/loop visTutor/exN03Vis12.loop startTime -{timeRange} 0.7 0.001
|
||||
/control/shell sleep 5
|
||||
/control/verbose 2
|
||||
/vis/verbose confirmations
|
||||
/vis/ogl/set/displayLightFront false
|
||||
/vis/ogl/set/displayHeadTime false
|
||||
|
||||
# Disable auto refresh and quieten vis messages whilst scene and
|
||||
# trajectories are established:
|
||||
/vis/viewer/set/autoRefresh false
|
||||
/vis/verbose errors
|
||||
|
||||
# To see pi -> mu -> e decay.
|
||||
/gun/particle pi+
|
||||
/vis/filtering/trajectories/TimeSliceFilter/add anti_nu_mu
|
||||
/vis/filtering/trajectories/TimeSliceFilter/add nu_mu
|
||||
/vis/filtering/trajectories/TimeSliceFilter/add anti_nu_e
|
||||
/vis/filtering/trajectories/TimeSliceFilter/add nu_e
|
||||
# Accumulate several events for effect
|
||||
# /vis/scene/endOfEventAction accumulate
|
||||
/gun/energy 100 MeV
|
||||
#/vis/viewer/set/globalLineWidthScale 2
|
||||
|
||||
# Re-establish auto refreshing and verbosity:
|
||||
/vis/viewer/set/autoRefresh true
|
||||
/vis/verbose warnings
|
||||
|
||||
/run/beamOn
|
||||
|
||||
/control/alias timeRange 1000
|
||||
/vis/ogl/set/displayHeadTime true
|
||||
/vis/verbose warnings
|
||||
/control/verbose 0
|
||||
/control/loop visTutor/exN03Vis12.loop startTime -{timeRange} 3000 5
|
||||
/control/shell sleep 5
|
||||
/control/verbose 2
|
||||
/vis/verbose confirmations
|
||||
@@ -0,0 +1,7 @@
|
||||
# exN03Vis13.loop
|
||||
/vis/viewer/pan {dz} 0 mm
|
||||
/vis/ogl/set/endTime {endTime} ns {timeRange} ns
|
||||
# Force refresh here (since auto-refresh switched off in main mac).
|
||||
/vis/viewer/refresh
|
||||
# Print eps file
|
||||
#/vis/ogl/printEPS
|
||||
@@ -0,0 +1,83 @@
|
||||
#######################################################################
|
||||
# MACRO FILE NAME: exN03Vis13.mac #
|
||||
# #
|
||||
# AUTHOR(S): John Allison #
|
||||
# #
|
||||
# DATE: 18th August 2006 #
|
||||
# #
|
||||
# CONTENTS: Time development of an electrmagnetic shower. #
|
||||
# #
|
||||
# USAGE: #
|
||||
# exampleN03 visTutor/exN03Vis12.mac #
|
||||
# or Idle> /control/execute visTutor/exN03Vis12.mac #
|
||||
# or pull down "Vis" menu and click on "EmShower" #
|
||||
# #
|
||||
# REQUIRED PLATFORMS & SOFTWARES: Mac/Unix with X-Windows, OpenGL #
|
||||
# #
|
||||
#######################################################################
|
||||
|
||||
/control/verbose 2
|
||||
/vis/verbose confirmations
|
||||
|
||||
/vis/open OGL 600x600-0+0
|
||||
/vis/ogl/set/displayListLimit 100000
|
||||
|
||||
# Disable auto refresh and quieten vis messages whilst scene and
|
||||
# trajectories are established:
|
||||
/vis/viewer/set/autoRefresh false
|
||||
/vis/verbose errors
|
||||
|
||||
/vis/viewer/set/viewpointThetaPhi 90. 180.
|
||||
/vis/drawVolume
|
||||
/vis/scene/add/eventID
|
||||
/vis/scene/add/trajectories rich
|
||||
|
||||
# Set up drawByParticleID with time slicing
|
||||
/vis/modeling/trajectories/create/drawByParticleID EmShowerByParticleID
|
||||
/vis/modeling/trajectories/EmShowerByParticleID/set e- red
|
||||
/vis/modeling/trajectories/EmShowerByParticleID/set e+ blue
|
||||
/vis/modeling/trajectories/EmShowerByParticleID/set pi- cyan
|
||||
/vis/modeling/trajectories/EmShowerByParticleID/set pi+ magenta
|
||||
#/vis/modeling/trajectories/EmShowerByParticleID/default/setDrawStepPts true
|
||||
/vis/modeling/trajectories/EmShowerByParticleID/default/setStepPtsSize 5
|
||||
#/vis/modeling/trajectories/EmShowerByParticleID/default/setDrawAuxPts true
|
||||
/vis/modeling/trajectories/EmShowerByParticleID/default/setAuxPtsSize 5
|
||||
/control/alias interval 0.01
|
||||
/control/alias halfInterval 0.005
|
||||
/vis/modeling/trajectories/EmShowerByParticleID/default/setTimeSliceInterval {interval} ns
|
||||
/vis/modeling/trajectories/list
|
||||
|
||||
# Remove gammas
|
||||
/vis/filtering/trajectories/create/particleFilter EmShowerFilter
|
||||
/vis/filtering/trajectories/EmShowerFilter/add gamma
|
||||
/vis/filtering/trajectories/EmShowerFilter/invert true
|
||||
|
||||
# Re-establish auto refreshing and verbosity:
|
||||
/vis/viewer/set/autoRefresh true
|
||||
/vis/verbose warnings
|
||||
|
||||
# Create trajectories
|
||||
/gun/energy 10 GeV
|
||||
/vis/viewer/set/globalLineWidthScale 2
|
||||
/run/beamOn
|
||||
|
||||
# Run time sequence
|
||||
/vis/ogl/set/fade 1
|
||||
/vis/ogl/set/displayHeadTime true
|
||||
# The trajectories can appear of jump ahead of the light front because
|
||||
# their time range overlaps the viewer's time range. To mitigate this
|
||||
# effect of discrete time intervals, advance the light front by half the
|
||||
# trajectories interval...
|
||||
/vis/ogl/set/displayLightFront true 0 0 -90 mm -{halfInterval} ns
|
||||
/vis/viewer/panTo -9 0 cm
|
||||
/vis/viewer/zoomTo 2
|
||||
/control/alias timeRange 0.1
|
||||
/control/alias dz 0.3
|
||||
# Switch off auto-refresh to avoid refresh on /vis/viewer/pan in loop.
|
||||
# (Then force refresh in loop.)
|
||||
/vis/viewer/set/autoRefresh 0
|
||||
/vis/verbose warnings
|
||||
/control/verbose 0
|
||||
/control/loop visTutor/exN03Vis13.loop endTime 0 0.7 0.001
|
||||
/control/verbose 2
|
||||
/vis/verbose confirmations
|
||||
@@ -0,0 +1,70 @@
|
||||
#######################################################################
|
||||
# MACRO FILE NAME: exN03Vis5.mac #
|
||||
# #
|
||||
# AUTHOR(S): Guy Barrand #
|
||||
# #
|
||||
# DATE: June 09, 2000 #
|
||||
# #
|
||||
# CONTENTS: A basic macro for demonstrating Inventor driver #
|
||||
# #
|
||||
# USAGE: % $G4BINDIR/exampleN03 visTutor/exN03Vis5.mac #
|
||||
# #
|
||||
# REQUIRED PLATFORMS & SOFTWARES: Unix, Motif, X-window, OpenGL, #
|
||||
# HEPVis #
|
||||
# Inventor (TGS or SoFree) #
|
||||
# #
|
||||
# ENVIRONMENTAL VARIABLES (C-MACROS) FOR INSTALLATION: #
|
||||
# (See geant4/source/visualization/README for details.) #
|
||||
# #
|
||||
# % setenv G4VIS_BUILD_OIX_DRIVER 1 #
|
||||
# #
|
||||
# ENVIRONMENTAL VARIABLES (C-MACROS) FOR COMPILATION: #
|
||||
# (See geant4/source/visualization/README for details.) #
|
||||
# #
|
||||
# % setenv G4VIS_USE_OIX 1 #
|
||||
# #
|
||||
# ADDITIONAL NOTES: #
|
||||
# #
|
||||
#######################################################################
|
||||
|
||||
# Create "scene-0"
|
||||
/vis/scene/create
|
||||
|
||||
# Invoke the OpenInventor driver
|
||||
/vis/sceneHandler/create OIX
|
||||
/vis/viewer/create
|
||||
|
||||
# Add the world volume to the current scene
|
||||
/vis/scene/add/volume
|
||||
#/vis/scene/add/volume Layer
|
||||
# Name of the absorbers = name of their material (Lead) !
|
||||
#/vis/scene/add/volume Lead
|
||||
# Name of the gaps = name of their material (liquidArgon) !
|
||||
#/vis/scene/add/volume liquidArgon
|
||||
#/vis/scene/add/trajectories
|
||||
/tracking/storeTrajectory 1
|
||||
|
||||
# Bird-eye view of events
|
||||
/vis/viewer/reset
|
||||
/vis/viewer/set/viewpointThetaPhi 135 225
|
||||
|
||||
/vis/scene/notifyHandlers
|
||||
|
||||
/control/verbose 2
|
||||
#######################################################################
|
||||
# Controls on an Inventor examiner viewer are : #
|
||||
# - in picking mode (cursor is the upper left arrow) #
|
||||
# Ctrl + pick a volume : see daughters. #
|
||||
# Shift + pick a volume : see mother. #
|
||||
# - in viewing mode (cursor is the hand) #
|
||||
# Left-button + pointer move : rotate. #
|
||||
# Ctrl+Left-button + pointer move : pane. #
|
||||
# Ctrl+Shift+Left-button + pointer move : scale. #
|
||||
# Middle-button + pointer move : pane. #
|
||||
# #
|
||||
#######################################################################
|
||||
|
||||
/vis/viewer/update
|
||||
|
||||
/run/beamOn 1
|
||||
|
||||
@@ -0,0 +1,359 @@
|
||||
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!!!!
|
||||
!!!! A X11 resource file to customize G4UI sessions and
|
||||
!!!! visualization viewers based over Xt. You use it by
|
||||
!!!! setting the XENVIRONMENT environment variable to point
|
||||
!!!! to this file, for example :
|
||||
!!!! csh> setenv XENVIRONMENT g4Xt.xrm
|
||||
!!!! sh> XENVIRONMENT=g4Xt.xrm;export XENVIRONMENT
|
||||
!!!!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
*topShadowColor :white
|
||||
*bottomShadowColor :black
|
||||
*foreground :black
|
||||
*background :lightgrey
|
||||
*borderColor :lightgrey
|
||||
*fontList :-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-1
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!!!! G4UIXm
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
*text.background :white
|
||||
*text.fontList :*courier*-r-*--14-*
|
||||
*text.maxLength :8000
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
! OpenInventor resources, copied from file :
|
||||
! OpenInventor2.4.1/app-defaults/Inventor
|
||||
!
|
||||
!#################################################
|
||||
! RESSOURCE FILE FOR OPEN INVENTOR !
|
||||
!#################################################
|
||||
!
|
||||
! You must put this file in
|
||||
! /usr/lib/X11/app-defaults
|
||||
! or set up XAPPLRESDIR (see X window documentation)
|
||||
!
|
||||
!#################################################
|
||||
!!################################################
|
||||
!! POPUP MENU
|
||||
!!------------------------------------------------
|
||||
!! FUNCTIONS MENU
|
||||
!!------------------------------------------------
|
||||
*IvMenu.IvFunctions1.labelString: Functions
|
||||
*IvFunctions2.IvHelp.labelString: Help
|
||||
*IvFunctions2.IvHome.labelString: Home
|
||||
*IvFunctions2.IvSetHome.labelString: Set Home
|
||||
*IvFunctions2.IvViewAll.labelString: View All
|
||||
*IvFunctions2.IvSeek.labelString: Seek
|
||||
*IvFunctions2.IvCopyView.labelString: Copy View
|
||||
*IvFunctions2.IvPasteView.labelString: Paste View
|
||||
!!------------------------------------------------
|
||||
!! DRAW STYLE MENU
|
||||
!!------------------------------------------------
|
||||
*IvMenu.IvDrawStyle1.labelString: Draw Style
|
||||
*IvDrawStyle2.IvAsIs.labelString: as is
|
||||
*IvDrawStyle2.IvHiddenLine.labelString: hidden line
|
||||
*IvDrawStyle2.IvNoTexture.labelString: no texture
|
||||
*IvDrawStyle2.IvLowResolution.labelString: low resolution
|
||||
*IvDrawStyle2.IvWireFrame.labelString: wireframe
|
||||
*IvDrawStyle2.IvPoints.labelString: points
|
||||
*IvDrawStyle2.IvBoundingBoxNoDepth.labelString: bounding box ( no depth )
|
||||
*IvDrawStyle2.IvMoveSameAsStill.labelString: move same as still
|
||||
*IvDrawStyle2.IvMoveNoTexture.labelString: move no texture.
|
||||
*IvDrawStyle2.IvMoveLowRes.labelString: move low res
|
||||
*IvDrawStyle2.IvMoveWireFrame.labelString: move wireframe
|
||||
*IvDrawStyle2.IvMoveLowResWireFrameNoDepth.labelString: move low res wire frame ( no depth )
|
||||
*IvDrawStyle2.IvMovePoints.labelString: move points
|
||||
*IvDrawStyle2.IvMoveLowResPointsNoDepth.labelString: move low res points ( no depth )
|
||||
*IvDrawStyle2.IvMoveBoundingBoxNoDepth.labelString: move bounding box ( no depth )
|
||||
*IvDrawStyle2.IvSingleBuffer.labelString: single buffer
|
||||
*IvDrawStyle2.IvDoubleBuffer.labelString: Double buffer
|
||||
*IvDrawStyle2.IvInteractiveBuffer.labelString: interactive buffer
|
||||
!!------------------------------------------------
|
||||
*IvMenu.IvViewing.labelString: Viewing
|
||||
!!------------------------------------------------
|
||||
*IvMenu.IvDecoration.labelString: Decoration
|
||||
!!------------------------------------------------
|
||||
*IvMenu.IvHeadlight.labelString: Headlight
|
||||
!!------------------------------------------------
|
||||
*IvMenu.IvPreferences.labelString: Preferences ...
|
||||
|
||||
!!------------------------------------------------
|
||||
!! PREFERENCES
|
||||
!!------------------------------------------------
|
||||
*IvFormPreference1.IvSeekAnimationTime.labelString: Seek animation time
|
||||
*IvFormPreference1.IvSeconds.labelString: seconds
|
||||
*IvFormPreference1.IvSeekTo.labelString: Seek to:
|
||||
*IvFormPreference1.IvPoint.labelString: point
|
||||
*IvFormPreference1.IvObject.labelString: object
|
||||
*IvFormPreference2.IvSeekDistance.labelString: Seek distance:
|
||||
*IvFormPreference2.IvPercentage.labelString: percentage
|
||||
*IvFormPreference2.IvAbsolute.labelString: absolute
|
||||
*IvZoomForm.IvCameraZoom.labelString: Camera zoom
|
||||
*IvZoomForm.IvZoomSliderRangesFrom.labelString: Zoom slider ranges from:
|
||||
*IvZoomForm.IvTo.labelString: to:
|
||||
*IvZoomForm.IvZoomSlider.labelString: Zoom slider
|
||||
*IvZoomForm.IvZoomField.labelString: Zoom field
|
||||
*IvZoomForm.IvZoomFrom.labelString: Zoom from
|
||||
*IvZoomForm.IvZoomTo.labelString: Zoom to
|
||||
*IvFormPreference3.IvAutoClippingPlanes.labelString: Auto clipping planes
|
||||
*IvFormPreference4.IvStereoViewing.labelString: Stereo Viewing
|
||||
*IvFormPreference6.IvNearPlane.labelString: near plane
|
||||
*IvFormPreference6.IvFarPlane.labelString: far plane
|
||||
*IvStereoThumbForm.IvCameraRotation.labelString: Camera rotation
|
||||
|
||||
!!------------------------------------------------
|
||||
!! Preferences for Examiner Viewer
|
||||
!!------------------------------------------------
|
||||
*IvFormExaminer1.IvEnableSpinAnimation.labelString: Enable spin animation
|
||||
*IvFormExaminer1.IvShowPointOfRotationAxes.labelString: Show point of rotation axes
|
||||
*IvFormExaminer1.IvAxesSize.labelString: axes size
|
||||
*IvFormExaminer1.IvPixels.labelString: pixels
|
||||
!!------------------------------------------------
|
||||
!! Decorations for Examiner Viewer !!
|
||||
!!------------------------------------------------
|
||||
*IvExamTitle.labelString: Examiner Viewer
|
||||
*IvExamPrefTitle.labelString: Examiner Viewer Preference Sheet
|
||||
*IvExamPopupTitle.labelString: Examiner Viewer
|
||||
*IvExamIconTitle.labelString: Examiner Viewer
|
||||
*IvExamRotx.labelString: Rotx
|
||||
*IvExamRoty.labelString: Roty
|
||||
*IvExamZoom.labelString: Zoom
|
||||
*IvExamDolly.labelString: Dolly
|
||||
!!------------------------------------------------
|
||||
!! Decorations for Plane Viewer !!
|
||||
!!------------------------------------------------
|
||||
*IvPlaneTitle.labelString: Plane Viewer
|
||||
*IvPlanePrefTitle.labelString: Plane Viewer Preference Sheet
|
||||
*IvPlanePopupTitle.labelString: Plane Viewer
|
||||
*IvPlaneIconTitle.labelString: Plane Viewer
|
||||
*IvPlaneTransx.labelString: transX
|
||||
*IvPlaneTransy.labelString: transY
|
||||
*IvPlaneZoom.labelString: Zoom
|
||||
*IvPlaneDolly.labelString: Dolly
|
||||
!!------------------------------------------------
|
||||
!! Decorations for Fly Viewer !!
|
||||
!!------------------------------------------------
|
||||
*IvFlyTitle.labelString: Fly Viewer
|
||||
*IvFlyPrefTitle.labelString: Fly Viewer Preference Sheet
|
||||
*IvFlyPopupTitle.labelString: Fly Viewer
|
||||
*IvFlyIconTitle.labelString: Fly Viewer
|
||||
!! Same for Walk Viewer !!
|
||||
*IvFlyWalkRotate.labelString: Rotate
|
||||
!! Same for Walk Viewer !!
|
||||
*IvFlyWalkTilt.labelString: Tilt
|
||||
!! Same for Walk Viewer !!
|
||||
*IvFlyWalkDolly.labelString: Dolly
|
||||
!!------------------------------------------------
|
||||
!! Preferences for Fly Viewer !!
|
||||
!!------------------------------------------------
|
||||
*FlyPreference.FlyingSpeed.labelString: Flying speed:
|
||||
*FlyPreference.Increase.labelString: increase
|
||||
*FlyPreference.Decrease.labelString: decrease
|
||||
!!------------------------------------------------
|
||||
!! Decorations for Walk Viewer !!
|
||||
!!------------------------------------------------
|
||||
*IvWalkTitle.labelString: Walk Viewer
|
||||
*IvWalkPrefTitle.labelString: Walk Viewer Preference Sheet
|
||||
*IvWalkPopupTitle.labelString: Walk Viewer
|
||||
*IvWalkIconTitle.labelString: Walk Viewer
|
||||
*IvLeftTrimForm.IvH.labelString: H
|
||||
!!------------------------------------------------
|
||||
!! Preferences for Walk Viewer !!
|
||||
!!------------------------------------------------
|
||||
*IvFormPreference5.IvViewerSpeed.labelString: Viewer speed
|
||||
*IvFormPreference5.IvIncrease.labelString: increase
|
||||
*IvFormPreference5.IvDecrease.labelString: decrease
|
||||
!!------------------------------------------------
|
||||
!! EDITORS
|
||||
!!------------------------------------------------
|
||||
!! Drectional Light Editor !!
|
||||
!!------------------------------------------------
|
||||
*IvDirectLightTitle.labelString: Dir Light Editor
|
||||
*IvDirectLightIconTitle.labelString: Dir Light Ed
|
||||
*IvDirectLightInten.labelString: Inten
|
||||
*IvDirectLightColorEditor.labelString: Directional Light Color
|
||||
*IvDLMenuBar.IvEdit.labelString: Edit
|
||||
*IvDLMenuBar*IvControlPullDown*IvColorEditor.labelString: Color Editor
|
||||
*IvDLMenuBar*IvControlPullDown*IvCopy.labelString: Copy
|
||||
*IvDLMenuBar*IvControlPullDown*IvPaste.labelString: Paste
|
||||
*IvDLMenuBar*IvControlPullDown*IvHelp.labelString: Help
|
||||
!!------------------------------------------------
|
||||
!! Color Editor !!
|
||||
!!------------------------------------------------
|
||||
*IvColorEditorTitle.labelString: Color Editor
|
||||
*IvColorEditorIconTitle.labelString: Color Editor
|
||||
*IvColorEditorR.labelString: R
|
||||
*IvColorEditorG.labelString: G
|
||||
*IvColorEditorB.labelString: B
|
||||
*IvColorEditorH.labelString: H
|
||||
*IvColorEditorS.labelString: S
|
||||
*IvColorEditorV.labelString: V
|
||||
*IvColorEditorRight.labelString: Right
|
||||
*IvColorEditorSwitch.labelString: Switch
|
||||
*IvColorEditorCont.labelString: Continuous
|
||||
*IvColorEditorManu.labelString: Manual
|
||||
*IvColorEditorWysi.labelString: WYSIWYG
|
||||
*IvColorEditorCopy.labelString: Copy
|
||||
*IvColorEditorPaste.labelString: Paste
|
||||
*IvColorEditorHelp.labelString: Help
|
||||
*IvColorEditorNone.labelString: None
|
||||
*IvColorEditorValue.labelString: Value
|
||||
*IvColorEditorRGB.labelString: RGB
|
||||
*IvColorEditorHSV.labelString: HSV
|
||||
*IvColorEditorRGBV.labelString: RGB V
|
||||
*IvColorEditorRGBHSV.labelString: RGB HSV
|
||||
|
||||
*IvCEMenuBar.IvEdit.labelString: Edit
|
||||
*IvCEMenuBar.IvSliders.labelString: Sliders
|
||||
*IvButtonsForm.IvAccept.labelString: Accept
|
||||
!!------------------------------------------------
|
||||
!! Material Editor !!
|
||||
!!------------------------------------------------
|
||||
*IvMaterialEditorTitle.labelString: Material Editor
|
||||
*IvMaterialEditorIconTitle.labelString: Mat Editor
|
||||
*IvMaterialAmbientTitle.labelString: Material Ambient Color
|
||||
*IvMaterialDiffuseTitle.labelString: Material Diffuse Color
|
||||
*IvMaterialSpecularTitle.labelString: Material Specular Color
|
||||
*IvMaterialEmissiveTitle.labelString: -Material Emissive Color
|
||||
*IvMaterialEditorMaterial.labelString: Material /
|
||||
*IvMaterialEditorAmb.labelString: Amb /
|
||||
*IvMaterialEditorDiff.labelString: Diff /
|
||||
*IvMaterialEditorSpec.labelString: Spec /
|
||||
*IvMaterialEditorEmis.labelString: Emis /
|
||||
*IvMaterialEditorColor.labelString: Color
|
||||
*IvMEMenuBar.IvEdit.labelString: Edit
|
||||
*IvMEMenuBar*IvEditPullDown.IvMaterialList.labelString: Material List
|
||||
*IvMEMenuBar*IvEditPullDown.IvContinuous.labelString: Continuous
|
||||
*IvMEMenuBar*IvEditPullDown.IvManual.labelString: Manual
|
||||
*IvMEMenuBar*IvEditPullDown.IvCopy.labelString: Copy
|
||||
*IvMEMenuBar*IvEditPullDown.IvPaste.labelString: Paste
|
||||
*IvMEMenuBar*IvEditPullDown.IvHelp.labelString: Help
|
||||
*IvControls.IvEditColor.labelString: Edit Color
|
||||
*IvsliderForm.IvtextForm.IvAmb.labelString: Amb:
|
||||
*IvsliderForm.IvtextForm.IvDiff.labelString: Diff
|
||||
*IvsliderForm.IvtextForm.IvSpec.labelString: Spec
|
||||
*IvsliderForm.IvtextForm.IvEmis.labelString: Emis
|
||||
*IvsliderForm.IvtextForm.IvShininess.labelString: Shininess
|
||||
*IvsliderForm.IvtextForm.IvTransp.labelString: Transp:
|
||||
*IvMETop.IvAccept.labelString: Accept
|
||||
!!------------------------------------------------
|
||||
!! Material List !!
|
||||
!!------------------------------------------------
|
||||
*IvMaterialListTitle.labelString: Material List
|
||||
*IvMaterialListeIconTitle.labelString: Mat List
|
||||
*IvMLMenuBar*IvPalettes.labelString: Palettes
|
||||
!!------------------------------------------------
|
||||
!! Print Dialog
|
||||
!!------------------------------------------------
|
||||
*IvPrintDialTitle.labelString: Print Dialog
|
||||
*IvPrintDialIconTitle.labelString: -rint Dialog
|
||||
*IvPrintDialPrinter.labelString: Printer:
|
||||
*IvPrintDialPageOut.labelString: Page Output:
|
||||
*IvPrintDialToPrinter.labelString: To Printer
|
||||
*IvPrintDialToFile.labelString: To File
|
||||
*IvPrintDialQuit.labelString: Quit
|
||||
*IvPrintDialPrint.labelString: Print
|
||||
*IvPrintDialMessage.labelString: Message:
|
||||
*IvPrintDialFileFormat.labelString: File Format:
|
||||
*IvPrintDialPostScript.labelString: PostScript
|
||||
*IvPrintDialRGB.labelString: RGB
|
||||
*IvPrintDialPrintQuality.labelString: Print Quality:
|
||||
*IvPrintDialHigh.labelString: High
|
||||
*IvPrintDialDraft.labelString: Draft
|
||||
*IvPrintDialPageFormat.labelString: Page Format
|
||||
*IvPrintDialPortrait.labelString: Portrait
|
||||
*IvPrintDialLandscape.labelString: Landscape
|
||||
*IvPrintDialPrintSize.labelString: Print Size (inches):
|
||||
*IvPrintDialFileName.labelString: File Name:
|
||||
*IvPrintDialResolution.labelString: Resolution
|
||||
*IvPrintDialBy.labelString: by
|
||||
*IvPrintDialDpi.labelString: DPI:
|
||||
*IvPrintDialMess1.labelString: Printing in progress...
|
||||
*IvPrintDialMess2.labelString: ERROR: Empty database.
|
||||
*IvPrintDialMess3.labelString: ERROR: Exceeds
|
||||
*IvPrintDialMess4.labelString: ERROR: Could not execute print.
|
||||
*IvPrintDialMess5.labelString: ERROR: Could not execute print.
|
||||
*IvPrintDialMess6.labelString: ERROR: No printer.
|
||||
*IvPrintDialMess7.labelString: ERROR: Couldn't open
|
||||
*IvPrintDialMess8.labelString: ERROR: No file name.
|
||||
*IvPrintDialMess9.labelString: ERROR: Could not open file.
|
||||
*IvPrintDialMess10.labelString: ERROR: Could not get data.
|
||||
*IvPrintDialMess11.labelString: ERROR: Could not get data.
|
||||
*IvPrintDialMess12.labelString: Printing completed.
|
||||
|
||||
!!------------------------------------------------
|
||||
!! Xt Component ( For Light and Material Sliders Set )
|
||||
!!------------------------------------------------
|
||||
*IvXtComponentTitle.labelString: Xt Component
|
||||
*IvTGSXtComponentTitle.labelString: TGS: Xt Component
|
||||
!!------------------------------------------------
|
||||
!! For All Sliders
|
||||
!!------------------------------------------------
|
||||
*IvSlidersMin.labelString: min
|
||||
*IvSlidersMax.labelString: max
|
||||
*IvSlidersStyle.labelString: style
|
||||
!!------------------------------------------------
|
||||
!! Light Slider Set
|
||||
!!------------------------------------------------
|
||||
*IvLightSliderColor.labelString: COLOR
|
||||
*IvLightSliderRed.labelString: Red
|
||||
*IvLightSliderGreen.labelString: Green
|
||||
*IvLightSliderBlue.labelString: Blue
|
||||
*IvLightSliderIntensity1.labelString: INTENSITY
|
||||
*IvLightSliderIntensity2.labelString: Intensity
|
||||
!!------------------------------------------------
|
||||
!! Material Slider Set
|
||||
!!------------------------------------------------
|
||||
*IvMaterialSliderAmbient.labelString: AMBIENT
|
||||
*IvMaterialSliderAmbientRed.labelString: Ambient Red
|
||||
*IvMaterialSliderAmbientGreen.labelString: Ambient Green
|
||||
*IvMaterialSliderAmbientBleu.labelString: Ambient Blue
|
||||
*IvMaterialSliderDiffuse.labelString: DIFFUSE
|
||||
*IvMaterialSliderDiffuseRed.labelString: Diffuse Red
|
||||
*IvMaterialSliderDiffuseGreen.labelString: Diffuse Green
|
||||
*IvMaterialSliderDiffuseBleu.labelString: Diffuse Blue
|
||||
*IvMaterialSliderSpecular.labelString: SPECULAR
|
||||
*IvMaterialSliderSpecularRed.labelString: Specular Red
|
||||
*IvMaterialSliderSpecularGreen.labelString: Specular Green
|
||||
*IvMaterialSliderSpecularBleu.labelString: Specular Blue
|
||||
*IvMaterialSliderEmissive.labelString: EMISSIVE
|
||||
*IvMaterialSliderEmissiveRed.labelString: Emissive Red
|
||||
*IvMaterialSliderEmissiveGreen.labelString: Emissive Green
|
||||
*IvMaterialSliderEmissiveBlue.labelString: Emissive Blue
|
||||
*IvMaterialSliderShininess.labelString: SHININESS
|
||||
*IvMaterialSliderShininessShininess.labelString: shininess
|
||||
*IvMaterialSliderTransparency.labelString: TRANSPARENCY
|
||||
*IvMaterialSliderTransparencyTransparency.labelString: transparency
|
||||
!!------------------------------------------------
|
||||
!! Transform Slider Set
|
||||
!!------------------------------------------------
|
||||
*IvTransformSliderTrans.labelString: TRANSLATIONS
|
||||
*IvTransformSliderTransX.labelString: X Translation
|
||||
*IvTransformSliderTransY.labelString: Y Translation
|
||||
*IvTransformSliderTransZ.labelString: Z Translation
|
||||
*IvTransformSliderScale.labelString: SCALES
|
||||
*IvTransformSliderScaleX.labelString: X Scale
|
||||
*IvTransformSliderScaleY.labelString: Y Scale
|
||||
*IvTransformSliderScaleZ.labelString: Z Scale
|
||||
*IvTransformSliderRotate.labelString: ROTATIONS
|
||||
*IvTransformSliderRotateX.labelString: X Rotate
|
||||
*IvTransformSliderRotateY.labelString: Y Rotate
|
||||
*IvTransformSliderRotateZ.labelString: Z Rotate
|
||||
*IvTransformSliderScaleOrient.labelString: SCALE ORIENTATION
|
||||
*IvTransformSliderScaleOrientX.labelString: X Rotate
|
||||
*IvTransformSliderScaleOrientY.labelString: Y Rotate
|
||||
*IvTransformSliderScaleOrientZ.labelString: Z Rotate
|
||||
*IvTransformSliderCenter.labelString: CENTER
|
||||
*IvTransformSliderCenterX.labelString: X Center
|
||||
*IvTransformSliderCenterY.labelString: Y Center
|
||||
*IvTransformSliderCenterZ.labelString: Z Center
|
||||
*IvTransformSliderTitle.labelString: Transform Editor
|
||||
*IvTransformSliderIconTitle.labelString: Xf Editor
|
||||
|
||||
|
||||
!!------------------- THE END --------------------
|
||||
@@ -0,0 +1,43 @@
|
||||
# $Id: heprep.mac,v 1.2 2003-12-01 21:09:28 perl Exp $
|
||||
#
|
||||
# Macro file for "exampleN03.cc"
|
||||
#
|
||||
# can be run in batch, without graphic
|
||||
# or interactively: Idle> /control/execute heprep.mac
|
||||
#
|
||||
# Produces heprep2 file(s)
|
||||
#
|
||||
/control/verbose 0
|
||||
/control/saveHistory
|
||||
#
|
||||
/run/verbose 0
|
||||
/event/verbose 0
|
||||
/tracking/verbose 0
|
||||
#
|
||||
# muon 300 MeV to the direction (1.,0.,0.)
|
||||
# 3 events
|
||||
#
|
||||
# Create a scene containing the detector.
|
||||
/vis/scene/create
|
||||
/vis/scene/add/volume world
|
||||
#
|
||||
# Open a HepRep version 2 file suitable for viewing in WIRED.
|
||||
/vis/open HepRepXML
|
||||
#
|
||||
# Output an empty detector
|
||||
/vis/viewer/flush
|
||||
#
|
||||
# Include trajectories in the image.
|
||||
/tracking/storeTrajectory 1
|
||||
/vis/scene/add/trajectories
|
||||
#
|
||||
# If multiple events in one run, accumulate all events into a single
|
||||
# graphical image. If this line is commented out, each event will instead
|
||||
# appear in a separate image.
|
||||
/vis/scene/endOfEventAction accumulate
|
||||
#
|
||||
# At end of each run, an automatic flush causes graphical output.
|
||||
# This run will make an image with one event.
|
||||
/run/beamOn 1
|
||||
# This run will make an image with ten events.
|
||||
/run/beamOn 10
|
||||
Reference in New Issue
Block a user