-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvis.mac
More file actions
45 lines (34 loc) · 1.27 KB
/
Copy pathvis.mac
File metadata and controls
45 lines (34 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# vis.mac
/control/verbose 2
/run/verbose 2
/tracking/verbose 1
# Initialize the run, so geometry is built
/run/initialize
# Open an OpenGL visualization window (600x600 pixels)
# Syntax: /vis/open <driver> [windowSize] [windowPosition]
/vis/open OGL 600x600-0+0
# Optional visualization style: "surface" draws solid objects
/vis/viewer/set/style surface
# Increase the smoothness of circles & arcs
#/vis/viewer/setLineSegmentsPerCircle 50
# Draw the detector geometry
/vis/drawVolume
# Display a 1-meter axes at the origin
#/vis/scene/addAxes 0 0 0 1 m
# Set background color (here: light grayish)
# Values range from 0 (dark) to 1 (bright)
/vis/viewer/setBackground 0.9 0.9 0.9
/vis/modeling/trajectories/create/drawByParticleID
/vis/modeling/trajectories/drawByParticleID-0/default/setDrawStepPts true
/vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2
/vis/filtering/trajectories/particleFilter-0/add gamma
#/vis/filtering/trajectories/particleFilter-0/invert true
#here I am trying to bias the time frame for Bi-207
/grdm/decayBias on
/grdm/nucleusLimits 207 207 83 83
/grdm/setRadioactiveDecayVerbose 2
# If you want to run some events automatically:
/vis/scene/endOfEventAction refresh
/vis/scene/endOfEventAction accumulate
/vis/scene/add/trajectories
/run/beamOn 20000