Warning, /eic-opticks/examples/async_gpu_std/run.mac is written in an unsupported language. File is not indexed.
0001 # run.mac — Geant4 macro for the async_gpu_std example.
0002 #
0003 # setStackPhotons false on both Cerenkov and Scintillation tells G4 not to
0004 # track the optical photons itself — they only flow through Opticks (which
0005 # is the entire point of this example). Without this, G4 propagates each
0006 # optical photon on the CPU and per-event time is two orders of magnitude
0007 # higher.
0008 #
0009 # beamOn 100 produces ~24 M optical photons through the apex geometry,
0010 # enough work to make GPU vs CPU timing measurable.
0011
0012 /run/verbose 1
0013 /run/initialize
0014 /process/optical/scintillation/setStackPhotons false
0015 /process/optical/cerenkov/setStackPhotons false
0016 /run/beamOn 100