109 lines
3.1 KiB
Plaintext
109 lines
3.1 KiB
Plaintext
/control/verbose 1
|
|
/control/saveHistory
|
|
/event/verbose 0
|
|
/run/verbose 2
|
|
/vis/open OGL 600x600-0+0
|
|
/vis/viewer/set/autoRefresh false
|
|
/vis/verbose errors
|
|
|
|
|
|
/vis/drawVolume
|
|
/vis/scene/add/trajectories smooth
|
|
/tracking/storeTrajectory 2
|
|
|
|
|
|
# To get nice view
|
|
# Make the "World" box invisible
|
|
|
|
/vis/geometry/set/visibility World 0 false
|
|
/vis/geometry/set/visibility Detector 0 true
|
|
/vis/geometry/set/visibility EpoxyBox 0 false
|
|
/vis/geometry/set/visibility AbsBox 0 false
|
|
/vis/geometry/set/visibility EpoxyStrip 0 true
|
|
/vis/geometry/set/visibility Pixel 0 true
|
|
/vis/geometry/set/visibility Trigger 0 false
|
|
/vis/geometry/set/colour all 0 0 0 0
|
|
|
|
/vis/geometry/set/colour Cladding2Section 1 0. 0.5 0.5
|
|
/vis/geometry/set/colour Cladding1Section 0 0.5 0.5 0.5
|
|
/vis/geometry/set/colour CoreSection 0 0.5 0.0 0.5
|
|
/vis/geometry/set/colour Pixel 0 0.0 0.5 0.0 1.0
|
|
/vis/geometry/set/colour EpoxyStrip 0 .90 .90 1.0 .3
|
|
/vis/geometry/set/colour EpoxyBox 0 0.9 0.9 0.9 1.
|
|
#/vis/geometry/set/colour EpoxyBoxsub 0 0.25 0.25 0.25 0.25
|
|
/vis/geometry/set/colour Detector 0 0.0 0.1 0.1 .0
|
|
|
|
# Specify view angle:
|
|
/vis/viewer/set/viewpointVector -1 0 0
|
|
/vis/viewer/set/lightsVector -1 0 0
|
|
|
|
# Specify style (surface, wireframe, auxiliary edges,...)
|
|
#/vis/viewer/set/style wireframe
|
|
#/vis/viewer/set/auxiliaryEdge true
|
|
/vis/viewer/set/style surface
|
|
#edge is slow
|
|
/vis/viewer/set/lineSegmentsPerCircle 100
|
|
#/vis/viewer/set/edge false
|
|
#/vis/viewer/set/hiddenMarker true
|
|
/vis/viewer/set/targetPoint 0.0 0.0 .250 m
|
|
#/vis/viewer/set/targetPoint 0.0 0.0 .0 m
|
|
|
|
#slight angle view from mirror end
|
|
#/vis/viewer/set/viewpointThetaPhi 120 50
|
|
#/vis/viewer/set/viewpointThetaPhi 180 90
|
|
/vis/viewer/set/viewpointThetaPhi 10 -20
|
|
|
|
/vis/viewer/zoomTo 10
|
|
/vis/viewer/set/background white
|
|
|
|
|
|
/vis/scene/notifyHandlers
|
|
/vis/modeling/trajectories/create/drawByCharge
|
|
|
|
/vis/modeling/trajectories/create/drawByCharge
|
|
/vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true
|
|
/vis/scene/notifyHandlers scene-0
|
|
/vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2
|
|
/vis/scene/notifyHandlers scene-0
|
|
/vis/modeling/trajectories/drawByCharge-0/set 1 blue
|
|
/vis/modeling/trajectories/drawByCharge-0/set -1 red
|
|
#/vis/modeling/trajectories/drawByCharge-0/set 0 cyan
|
|
|
|
#/vis/modeling/trajectories/drawByCharge-0/verbose true
|
|
/vis/scene/notifyHandlers scene-0
|
|
|
|
# List available models
|
|
/vis/modeling/trajectories/list
|
|
# select drawByCharge-0 to be current
|
|
/vis/modeling/trajectories/select drawByCharge-0
|
|
/vis/scene/endOfEventAction accumulate
|
|
|
|
|
|
/vis/viewer/set/autoRefresh true
|
|
/vis/viewer/refresh
|
|
/vis/verbose warnings
|
|
|
|
|
|
/gps/particle mu-
|
|
/gps/ene/mono 4 GeV
|
|
/gps/pos/type Plane
|
|
/gps/pos/shape Square
|
|
/gps/pos/halfx 5 mm
|
|
/gps/pos/halfy 5 mm
|
|
/gps/pos/halfz 5 mm
|
|
/gps/pos/rot2 0 0 1 # sets the x-y plane of source in the global x-z plane.
|
|
/gps/pos/centre 0. 5.0 5. mm
|
|
/gps/ang/type iso
|
|
/gps/ang/mintheta 0.0 deg
|
|
/gps/ang/maxtheta 1.0 deg
|
|
/gps/ang/minphi 0.0 deg
|
|
/gps/ang/maxphi 0.1 deg
|
|
#/run/beamOn 1
|
|
|
|
|
|
# For file-based drivers, use this to create an empty detector view:
|
|
#/vis/viewer/flush
|
|
#/vis/ogl/set/printSize 1200 600
|
|
#/vis/ogl/set/printFilename barrel
|
|
#/vis/ogl/set/printMode pixmap
|
|
#/vis/ogl/printEPS |