summaryrefslogtreecommitdiff
path: root/sim.py
AgeCommit message (Collapse)Author
2011-08-10Set the GEANT4 and CUDA RNG seeds using current time and process ID if not ↵Stan Seibert
set on command line.
2011-08-10Use WCSim properties for water with the lbne detectorStan Seibert
2011-08-10Rename chroma.io to chroma.fileio to avoid collision with Python package ↵Stan Seibert
named io
2011-08-09Automatically detect kernprof and profile main() in sim.py. Also ↵Stan Seibert
synchronize CUDA calls.
2011-08-09Bug fix that caused sim.py to only record hits on the first 3 PMTsStan Seibert
2011-08-09Store a photon history for each hit channel. If multiple photons hit theStan Seibert
same channel, their history bits are OR'ed together.
2011-08-08Record generated particle information in data structureStan Seibert
2011-08-08Oops. The generator is a process, not a thread.Stan Seibert
2011-08-08Merge Tony's changes.Stan Seibert
2011-08-08Modify data structure to hold photon start and stop vertices separately.Stan Seibert
Add --save-photon-start and --save-photon-stop options to sim.py to save these vertices. Otherwise, only hit information is recorded.
2011-08-08toggle fullscreen mode with f11 key. use matplotlib colors maps defined in ↵Anthony LaTorre
matplotlib.cm.
2011-08-08Switch sim.py to spawn a separate process for GEANT4 and start it generatingStan Seibert
photons while the detector geometry is being built.
2011-08-08add a simple event viewer. view events by running ./camera.py ↵Anthony LaTorre
<detector_name> -i <name_of_io_file>.
2011-08-05Run a short dummy GEANT4 event to force it to load the tables beforeStan Seibert
the timer starts on the real events.
2011-08-05Fix typo in setting direction of particle from sim.py command line.Stan Seibert
2011-08-04First attempt at a simulation program using Chroma.Stan Seibert
Loads a geometry specified on the command line, uses GEANT4 to create initial photon vertices, propagates with Chroma, then writes the DAQ-level hit information out to a ROOT file.