Import Geant4 11.0.0.beta source tree
This commit is contained in:
@@ -23,13 +23,6 @@
|
||||
/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"
|
||||
|
||||
@@ -1,43 +1,43 @@
|
||||
// ROOT macro file for plotting example B4 histograms
|
||||
//
|
||||
// ROOT macro file for plotting example B4 histograms
|
||||
//
|
||||
// Can be run from ROOT session:
|
||||
// root[0] .x plotHisto.C
|
||||
|
||||
{
|
||||
gROOT->Reset();
|
||||
gROOT->SetStyle("Plain");
|
||||
|
||||
// Draw histos filled by Geant4 simulation
|
||||
//
|
||||
|
||||
// Open file filled by Geant4 simulation
|
||||
// Draw histos filled by Geant4 simulation
|
||||
//
|
||||
|
||||
// Open file filled by Geant4 simulation
|
||||
TFile f("B4.root");
|
||||
|
||||
// Create a canvas and divide it into 2x2 pads
|
||||
TCanvas* c1 = new TCanvas("c1", "", 20, 20, 1000, 1000);
|
||||
c1->Divide(2,2);
|
||||
|
||||
|
||||
// Draw Eabs histogram in the pad 1
|
||||
c1->cd(1);
|
||||
TH1D* hist1 = (TH1D*)f.Get("Eabs");
|
||||
hist1->Draw("HIST");
|
||||
|
||||
|
||||
// Draw Labs histogram in the pad 2
|
||||
c1->cd(2);
|
||||
TH1D* hist2 = (TH1D*)f.Get("Labs");
|
||||
hist2->Draw("HIST");
|
||||
|
||||
|
||||
// Draw Egap histogram in the pad 3
|
||||
// with logaritmic scale for y
|
||||
TH1D* hist3 = (TH1D*)f.Get("Egap");
|
||||
c1->cd(3);
|
||||
gPad->SetLogy(1);
|
||||
hist3->Draw("HIST");
|
||||
|
||||
|
||||
// Draw Lgap histogram in the pad 4
|
||||
// with logaritmic scale for y
|
||||
c1->cd(4);
|
||||
gPad->SetLogy(1);
|
||||
TH1D* hist4 = (TH1D*)f.Get("Lgap");
|
||||
hist4->Draw("HIST");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
// ROOT macro file for plotting example B4 ntuple
|
||||
//
|
||||
//
|
||||
// Can be run from ROOT session:
|
||||
// root[0] .x plotNtuple.C
|
||||
|
||||
{
|
||||
gROOT->Reset();
|
||||
gROOT->SetStyle("Plain");
|
||||
|
||||
// Draw histos filled by Geant4 simulation
|
||||
//
|
||||
|
||||
// Open file filled by Geant4 simulation
|
||||
// Draw histos filled by Geant4 simulation
|
||||
//
|
||||
|
||||
// Open file filled by Geant4 simulation
|
||||
TFile f("B4.root");
|
||||
|
||||
// Create a canvas and divide it into 2x2 pads
|
||||
TCanvas* c1 = new TCanvas("c1", "", 20, 20, 1000, 1000);
|
||||
c1->Divide(2,2);
|
||||
|
||||
|
||||
// Get ntuple
|
||||
TNtuple* ntuple = (TNtuple*)f.Get("B4");
|
||||
|
||||
// Draw Eabs histogram in the pad 1
|
||||
c1->cd(1);
|
||||
ntuple->Draw("Eabs");
|
||||
|
||||
|
||||
// Draw Labs histogram in the pad 2
|
||||
c1->cd(2);
|
||||
ntuple->Draw("Labs");
|
||||
|
||||
|
||||
// Draw Egap histogram in the pad 3
|
||||
// with logaritmic scale for y ?? how to do this?
|
||||
c1->cd(3);
|
||||
gPad->SetLogy(1);
|
||||
ntuple->Draw("Egap");
|
||||
|
||||
|
||||
// Draw Lgap histogram in the pad 4
|
||||
// with logaritmic scale for y ?? how to do this?
|
||||
c1->cd(4);
|
||||
gPad->SetLogy(1);
|
||||
ntuple->Draw("Egap");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
====================================
|
||||
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.)
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
#######################################################################
|
||||
# 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
|
||||
@@ -1,108 +0,0 @@
|
||||
#######################################################################
|
||||
# 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
|
||||
@@ -1,4 +0,0 @@
|
||||
# exN03Vis12.loop
|
||||
/vis/viewer/set/timeWindow/startTime {startTime} ns {timeRange} ns
|
||||
# Print eps file
|
||||
#/vis/ogl/printEPS
|
||||
@@ -1,149 +0,0 @@
|
||||
#######################################################################
|
||||
# MACRO FILE NAME: exN03Vis12.mac #
|
||||
# #
|
||||
# AUTHOR(S): John Allison #
|
||||
# #
|
||||
# DATE: 16th August 2006 #
|
||||
# #
|
||||
# CONTENTS: A basic macro for demonstrating time slicing #
|
||||
# #
|
||||
# USAGE: #
|
||||
# cp -pr <install-dir>/geant4/examples/basic/B4/macros/visTutor . #
|
||||
# <place-of-binary>/exampleB4a -m visTutor/exN03Vis12.mac #
|
||||
# #
|
||||
# REQUIRED PLATFORMS & SOFTWARES: Mac/Unix with X-Windows, OpenGL #
|
||||
# #
|
||||
#######################################################################
|
||||
|
||||
/control/verbose 2
|
||||
/vis/verbose confirmations
|
||||
/run/initialize
|
||||
|
||||
/vis/open OGL 600x600-0+0
|
||||
/vis/drawVolume
|
||||
|
||||
# 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/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
|
||||
#//globalField/setValue 5 0 0 tesla
|
||||
#/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/viewer/set/timeWindow/fadeFactor 1
|
||||
/vis/viewer/set/timeWindow/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/viewer/set/timeWindow/displayHeadTime true
|
||||
/vis/viewer/set/timeWindow/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/viewer/set/timeWindow/displayLightFront false
|
||||
/vis/viewer/set/timeWindow/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 5
|
||||
|
||||
/control/alias timeRange 1000
|
||||
/vis/viewer/set/timeWindow/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
|
||||
@@ -1,7 +0,0 @@
|
||||
# exN03Vis13.loop
|
||||
/vis/viewer/pan {dz} 0 mm
|
||||
/vis/viewer/set/timeWindow/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
|
||||
@@ -1,82 +0,0 @@
|
||||
#######################################################################
|
||||
# MACRO FILE NAME: exN03Vis13.mac #
|
||||
# #
|
||||
# AUTHOR(S): John Allison #
|
||||
# #
|
||||
# DATE: 18th August 2006 #
|
||||
# #
|
||||
# CONTENTS: Time development of an electromagnetic shower. #
|
||||
# #
|
||||
# USAGE: #
|
||||
# cp -pr <install-dir>/geant4/examples/basic/B4/macros/visTutor . #
|
||||
# <place-of-binary>/exampleB4a -m visTutor/exN03Vis13.mac #
|
||||
# #
|
||||
# REQUIRED PLATFORMS & SOFTWARES: Mac/Unix with X-Windows, OpenGL #
|
||||
# #
|
||||
#######################################################################
|
||||
|
||||
/control/verbose 2
|
||||
/vis/verbose confirmations
|
||||
/run/initialize
|
||||
|
||||
/vis/open OGL 600x600-0+0
|
||||
/vis/drawVolume
|
||||
|
||||
# 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/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/viewer/set/timeWindow/fadeFactor 1
|
||||
/vis/viewer/set/timeWindow/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/viewer/set/timeWindow/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 errors
|
||||
/control/verbose 0
|
||||
/control/loop visTutor/exN03Vis13.loop endTime 0 0.7 0.001
|
||||
/control/verbose 2
|
||||
/vis/verbose confirmations
|
||||
@@ -1,70 +0,0 @@
|
||||
#######################################################################
|
||||
# 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
|
||||
|
||||
@@ -1,359 +0,0 @@
|
||||
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!!!!
|
||||
!!!! 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 --------------------
|
||||
@@ -1,42 +0,0 @@
|
||||
#
|
||||
# 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