-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvscanner.mac
More file actions
41 lines (33 loc) · 1.2 KB
/
vscanner.mac
File metadata and controls
41 lines (33 loc) · 1.2 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
# use QGSP_BERT just to have something - this one loads fast.
/g4simple/setReferencePhysList QGSP_BERT
/g4simple/setDetectorGDML gscanner.gdml false
/run/initialize
# Use RayTracerX
/vis/open RayTracerX
# Use HepRep
#/vis/open HepRepFile
# Camera setting
/vis/viewer/set/style surface
/vis/viewer/set/upVector 0 0 1
/vis/viewer/set/viewpointThetaPhi 90 -90
#/vis/viewer/set/viewpointThetaPhi 0 0
#/vis/viewer/set/viewpointThetaPhi 180 0
/vis/viewer/set/background white 0.
#/vis/viewer/set/lightsThetaPhi 30 30
/vis/viewer/set/lightsVector 0 0 1
/vis/viewer/zoom 40
/vis/viewer/pan 0 0.02
/vis/geometry/set/colour vacuum_volume -1 0 0 0 0.01
/vis/geometry/set/colour PPC_Germanium_Detector -0.2 0.4 0.4 0.4 1
/vis/geometry/set/colour Au_Foil -1 0.5 1 0.5 1
/vis/geometry/set/colour Zn_Foil -1 0.5 1 0.5 1
/vis/geometry/set/colour Nb_Foil -1 0.5 1 0.5 1
/vis/geometry/set/colour Ag_Foil -1 0.5 1 0.5 1
/vis/geometry/set/colour Nd_Foil -1 0.5 1 0.5 1
/vis/geometry/set/colour PP_Piece -0.2 0.4 0.4 0.4 1
/vis/geometry/set/colour Tungsten_Piece -0.2 0.4 0.4 0.4 1
/vis/geometry/set/colour Titanium_Backing -1 0.5 1 0.5 1
/vis/geometry/set/colour Copper_Top -1 0.5 1 0.5 1
# Camera setting
/vis/drawVolume
/vis/viewer/flush