-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvis.mac
47 lines (43 loc) · 1.58 KB
/
vis.mac
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
46
#Uncomment the following line to track the volumes that the beta entered.
#/K37/SteppingControl/SetTrackVolumes true
/control/verbose 0
/control/saveHistory
/run/verbose 0
/vis/open OGL 900x900-0+0
/vis/viewer/set/autoRefresh false
/testem/phys/addPhysics local
/K37/RunControls/setDefaultCut 10 um
/K37/geometry/setMakeHoops true
/K37/geometry/setMakeChamber true
/K37/geometry/setMakeMirrors true
/K37/geometry/setMakeCoil true
/K37/geometry/setMakeSDholders true
/K37/geometry/setElectronMCPradius 20.0 mm
/run/initialize
/vis/drawVolume
#/vis/viewer/set/viewpointThetaPhi 90. 0.
#/vis/viewer/zoom 2.
/vis/viewer/set/style wireframe
#/vis/scene/add/axes 0 0 0 1 m
/vis/viewer/set/viewpointThetaPhi 90. 180.
/vis/viewer/set/viewpointThetaPhi 70. 20.
/vis/viewer/zoom 2.1
#Tell Geant what sort of Tracks to use
/tracking/verbose 0
#/vis/scene/add/trajectories #makes straight tracks
/vis/scene/add/trajectories smooth #makes cureved tracks
#/vis/scene/add/trajectories rich #Keeps additional information
#The next three lines show how to draw by charge. There is a better default
#scheme already defined in the source code.
#/vis/modeling/trajectories/create/drawByCharge
#/vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true
#/vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 1
/vis/scene/endOfEventAction accumulate
/vis/viewer/set/autoRefresh true
/vis/verbose warnings
/vis/viewer/set/background 0.0 0.3 0.3
#These are the picture print settings that
#I have had luck with.
#/vis/ogl/set/printMode pixmap
# /vis/ogl/set/printSize 800 800
#/vis/ogl/printEPS