Import Geant4 10.5.0 source tree
This commit is contained in:
@@ -1,31 +1,6 @@
|
||||
# Macro file for the initialization phase of field01
|
||||
# Macro file for the visualization setting in the initialization phase
|
||||
# of the field01 example.
|
||||
#
|
||||
# It creates the default geometry (simple absorber cylinder )
|
||||
#
|
||||
/tracking/verbose 1
|
||||
/run/verbose 1
|
||||
#
|
||||
/field/setStepperType 4
|
||||
#
|
||||
/field/setMinStep 0.1 mm
|
||||
#
|
||||
/field/setFieldZ 1.0 kG
|
||||
#
|
||||
/field/update
|
||||
#
|
||||
/run/initialize
|
||||
#
|
||||
# /run/particle/dumpCutValues
|
||||
#
|
||||
/gun/particle e-
|
||||
#
|
||||
# /gun/particle proton
|
||||
# /gun/particle chargedgeantino
|
||||
#
|
||||
#
|
||||
/gun/energy 5.0 MeV
|
||||
/tracking/verbose 1
|
||||
|
||||
# Use this open statement to create an OpenGL view:
|
||||
/vis/open OGL 600x600-0+0
|
||||
#
|
||||
@@ -49,12 +24,6 @@
|
||||
# Draw geometry:
|
||||
/vis/drawVolume
|
||||
#
|
||||
# Specify view angle:
|
||||
/vis/viewer/set/viewpointThetaPhi 40. 10.
|
||||
#
|
||||
# Specify zoom value:
|
||||
#/vis/viewer/zoom 2.
|
||||
#
|
||||
# Specify style (surface or wireframe):
|
||||
#/vis/viewer/set/style wireframe
|
||||
#
|
||||
@@ -72,6 +41,9 @@
|
||||
# Draw hits at end of event:
|
||||
#/vis/scene/add/hits
|
||||
#
|
||||
# Draw magnetic field
|
||||
#/vis/scene/add/magneticField 2
|
||||
#
|
||||
# To draw only gammas:
|
||||
#/vis/filtering/trajectories/create/particleFilter
|
||||
#/vis/filtering/trajectories/particleFilter-0/add gamma
|
||||
@@ -86,7 +58,25 @@
|
||||
#/vis/modeling/trajectories/drawByParticleID-0/set e- blue
|
||||
#
|
||||
# To superimpose all of the events from a given run:
|
||||
#/vis/scene/endOfEventAction accumulate
|
||||
/vis/scene/endOfEventAction accumulate
|
||||
#
|
||||
# field01 specific setting
|
||||
#
|
||||
# To get nice view
|
||||
#/vis/geometry/set/visibility World 0 false
|
||||
/vis/geometry/set/colour World 0 1 1 1 .3 # gray
|
||||
/vis/geometry/set/colour Absorber 0 0 0 1 .1 # blue
|
||||
/vis/viewer/set/style surface
|
||||
/vis/viewer/set/hiddenMarker true
|
||||
#
|
||||
# Specify view angle:
|
||||
/vis/viewer/set/viewpointThetaPhi 40. 10.
|
||||
#
|
||||
# Specify zoom value:
|
||||
#/vis/viewer/zoom 2.
|
||||
#
|
||||
# Draw magnetic field
|
||||
#/vis/scene/add/magneticField 1
|
||||
#
|
||||
# Re-establish auto refreshing and verbosity:
|
||||
/vis/viewer/set/autoRefresh true
|
||||
|
||||
Reference in New Issue
Block a user