Import Geant4 11.0.0 source tree
This commit is contained in:
committed by
Ben Morgan
parent
6399a014b6
commit
80e2389dd8
@@ -0,0 +1,16 @@
|
||||
# Macro file for initialization
|
||||
# in interactive session
|
||||
#
|
||||
# Set some default verbose
|
||||
/control/verbose 2
|
||||
/control/saveHistory
|
||||
/run/verbose 2
|
||||
#
|
||||
# Change the default number of threads (in multi-threaded mode)
|
||||
#/run/numberOfThreads 4
|
||||
#
|
||||
# Initialize kernel
|
||||
/run/initialize
|
||||
#
|
||||
# Visualization setting
|
||||
/control/execute vis.mac
|
||||
@@ -0,0 +1,12 @@
|
||||
/CaTS/verbose false
|
||||
/CaTS/dumpgdml true
|
||||
/CaTS/writeHits true
|
||||
/CaTS/fname Msc
|
||||
/CaTS/enable_opticks false
|
||||
/run/initialize
|
||||
/CaTS/doAnalysis false
|
||||
/gun/particle proton
|
||||
/gun/energy 0.8 GeV
|
||||
/gun/position 0. 0. -1. cm
|
||||
/gun/direction 0. 0. 1.
|
||||
/run/beamOn 100000
|
||||
@@ -0,0 +1,16 @@
|
||||
/CaTS/verbose false
|
||||
/process/had/verbose 0
|
||||
/run/initialize
|
||||
#
|
||||
/run/physicsModified
|
||||
#
|
||||
/run/initialize
|
||||
/random/setSeeds 7 38
|
||||
/CaTS/fname CaloHits
|
||||
/CaTS/writeHits true
|
||||
/CaTS/enable_opticks false
|
||||
/gun/particle pi+
|
||||
/gun/energy 10. GeV
|
||||
/gun/position 0. 0. -200. mm
|
||||
/gun/direction 0. 0. 1.
|
||||
/run/beamOn 1000
|
||||
@@ -0,0 +1,23 @@
|
||||
/CaTS/verbose false
|
||||
/process/had/verbose 0
|
||||
/run/initialize
|
||||
#
|
||||
#
|
||||
#/process/optical/scintillation/setStackPhotons false
|
||||
#/process/optical/scintillation/verbose 0
|
||||
#
|
||||
# the Cerenkov process is needed even when we run on GPU (to get the number of photons to be produced) but we don't put optical photons on the stack
|
||||
#
|
||||
#
|
||||
/run/physicsModified
|
||||
#
|
||||
/run/initialize
|
||||
/random/setSeeds 7 38
|
||||
/CaTS/fname DRCaloHits
|
||||
/CaTS/writeHits true
|
||||
/CaTS/enable_opticks false
|
||||
/gun/particle pi+
|
||||
/gun/energy 10. GeV
|
||||
/gun/position 0. 0. -200. mm
|
||||
/gun/direction 0. 0. 1.
|
||||
/run/beamOn 1000
|
||||
@@ -0,0 +1,18 @@
|
||||
/CaTS/verbose false
|
||||
/CaTS/dumpgdml false
|
||||
/CaTS/writeHits true
|
||||
/CaTS/fname Hits_G4_point
|
||||
/process/optical/scintillation/setStackPhotons true
|
||||
/process/optical/cerenkov/setStackPhotons true
|
||||
/process/optical/rayleigh/verbose 0
|
||||
/process/optical/absorption/verbose 0
|
||||
/process/optical/boundary/verbose 0
|
||||
/run/initialize
|
||||
/random/setSeeds 7 38
|
||||
/CaTS/enable_opticks false
|
||||
/CaTS/doAnalysis false
|
||||
/gun/particle e-
|
||||
/gun/energy 2 MeV
|
||||
/gun/position 0. 0. 0. cm
|
||||
/gun/direction 0. 0. 1.
|
||||
/run/beamOn 100
|
||||
@@ -0,0 +1,25 @@
|
||||
/CaTS/verbose false
|
||||
/CaTS/dumpgdml true
|
||||
/CaTS/writeHits true
|
||||
/CaTS/fname NewHits_point
|
||||
/run/initialize
|
||||
#
|
||||
# the scintillation process is needed even when we run on GPU but we don't put optical photons on the stack
|
||||
#
|
||||
/process/optical/scintillation/setStackPhotons false
|
||||
#
|
||||
# the Cerenkov process is needed even when we run on GPU but we don't put optical photons on the stack
|
||||
#
|
||||
#/process/activate Cerenkov
|
||||
/process/optical/cerenkov/setStackPhotons false
|
||||
/process/optical/rayleigh/verbose 0
|
||||
/process/optical/absorption/verbose 0
|
||||
/process/optical/boundary/verbose 0
|
||||
/random/setSeeds 7 38
|
||||
/CaTS/enable_opticks true
|
||||
/CaTS/doAnalysis false
|
||||
/gun/particle e-
|
||||
/gun/energy 2 GeV
|
||||
/gun/position 0. 0. -105. cm
|
||||
/gun/direction 0. 0. 1.
|
||||
/run/beamOn 100
|
||||
@@ -0,0 +1,19 @@
|
||||
/CaTS/verbose false
|
||||
/CaTS/dumpgdml true
|
||||
/CaTS/GDMLFileName dump.gdml
|
||||
/CaTS/writeHits true
|
||||
/CaTS/fname NewHits_G4_point
|
||||
/process/optical/scintillation/setStackPhotons true
|
||||
/process/optical/cerenkov/setStackPhotons true
|
||||
/process/optical/rayleigh/verbose 0
|
||||
/process/optical/absorption/verbose 0
|
||||
/process/optical/boundary/verbose 0
|
||||
/run/initialize
|
||||
/random/setSeeds 7 38
|
||||
/CaTS/enable_opticks false
|
||||
/CaTS/doAnalysis false
|
||||
/gun/particle e-
|
||||
/gun/energy 2 GeV
|
||||
/gun/position 0. 0. -105. cm
|
||||
/gun/direction 0. 0. 1.
|
||||
/run/beamOn 10
|
||||
@@ -0,0 +1,82 @@
|
||||
# Macro file for the visualization setting in the initialization phase
|
||||
# of the B1 example when running in interactive mode
|
||||
#
|
||||
|
||||
# Use these open statements to open selected visualization
|
||||
#
|
||||
# Use this open statement to create an OpenGL view:
|
||||
/vis/open OGL 600x600-0+0
|
||||
#
|
||||
# Use this open statement to create an OpenInventor view:
|
||||
#/vis/open OIX
|
||||
#
|
||||
# Use this open statement to create a .prim file suitable for
|
||||
# viewing in DAWN:
|
||||
#/vis/open DAWNFILE
|
||||
#
|
||||
# Use this open statement to create a .heprep file suitable for
|
||||
# viewing in HepRApp:
|
||||
#/vis/open HepRepFile
|
||||
#
|
||||
# Use this open statement to create a .wrl file suitable for
|
||||
# viewing in a VRML viewer:
|
||||
#/vis/open VRML2FILE
|
||||
#
|
||||
# Disable auto refresh and quieten vis messages whilst scene and
|
||||
# trajectories are established:
|
||||
/vis/viewer/set/autoRefresh false
|
||||
/vis/verbose errors
|
||||
#
|
||||
# Draw geometry:
|
||||
/vis/drawVolume
|
||||
#
|
||||
# Specify view angle:
|
||||
/vis/viewer/set/viewpointThetaPhi 90. 180.
|
||||
#
|
||||
# Specify zoom value:
|
||||
#/vis/viewer/zoom 2.
|
||||
#
|
||||
# Specify style (surface, wireframe, auxiliary edges,...)
|
||||
#/vis/viewer/set/style wireframe
|
||||
/vis/viewer/set/auxiliaryEdge true
|
||||
#/vis/viewer/set/lineSegmentsPerCircle 100
|
||||
#
|
||||
# Draw coordinate axes:
|
||||
#/vis/scene/add/axes 0 0 0 1 m
|
||||
#
|
||||
# Draw smooth trajectories at end of event, showing trajectory points
|
||||
# as markers 2 pixels wide:
|
||||
/vis/scene/add/trajectories smooth
|
||||
/vis/modeling/trajectories/create/drawByCharge
|
||||
/vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true
|
||||
/vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 1
|
||||
# (if too many tracks cause core dump => /tracking/storeTrajectory 0)
|
||||
#
|
||||
# Draw hits at end of event:
|
||||
#/vis/scene/add/hits
|
||||
#
|
||||
# To draw only gammas:
|
||||
#/vis/filtering/trajectories/create/particleFilter
|
||||
#/vis/filtering/trajectories/particleFilter-0/add gamma
|
||||
#
|
||||
# To invert the above, drawing all particles except gammas,
|
||||
# keep the above two lines but also add:
|
||||
#/vis/filtering/trajectories/particleFilter-0/invert true
|
||||
#
|
||||
# Many other options are available with /vis/modeling and /vis/filtering.
|
||||
# For example, to select colour by particle ID:
|
||||
#/vis/modeling/trajectories/create/drawByParticleID
|
||||
#/vis/modeling/trajectories/drawByParticleID-0/default/setDrawStepPts true
|
||||
# To select or override default colours (note: e+ is blue by default):
|
||||
#/vis/modeling/trajectories/list
|
||||
#/vis/modeling/trajectories/drawByParticleID-0/set e+ yellow
|
||||
#
|
||||
# To superimpose all of the events from a given run:
|
||||
#/vis/scene/endOfEventAction accumulate
|
||||
#
|
||||
# Re-establish auto refreshing and verbosity:
|
||||
/vis/viewer/set/autoRefresh true
|
||||
/vis/verbose warnings
|
||||
#
|
||||
# For file-based drivers, use this to create an empty detector view:
|
||||
#/vis/viewer/flush
|
||||
Reference in New Issue
Block a user