summaryrefslogtreecommitdiff
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-10Fix misuse of Material.set(), so now wavelengths and values of materialStan Seibert
properties are not transposed.
2011-08-10Using gzip compression level 1, the BVH at 10 bit is 7x smaller. AddsStan Seibert
10 seconds to cache load time if the BVH file is in the memory cache, otherwise this is faster if the BVH file must be read fresh from disk.
2011-08-10Rename chroma.io to chroma.fileio to avoid collision with Python package ↵Stan Seibert
named io
2011-08-10merge headsAnthony LaTorre
2011-08-10add the ability to cache a geometry along with its bounding volume ↵Anthony LaTorre
hierarchy. cached files are stored in $HOME/.chroma. fixed the timeit() decorator so that the decorated function is still able to pass back a return value.
2011-08-09Automatically detect kernprof and profile main() in sim.py. Also ↵Stan Seibert
synchronize CUDA calls.
2011-08-09The --use-fast-math gives the simulation another 25% speed boost.Stan Seibert
2011-08-09Autodetect presence of Space Navigator rather than require an option.Stan Seibert
2011-08-09Raise exception if unable to spnav_x11_open()Stan Seibert
2011-08-09Bug fix that caused sim.py to only record hits on the first 3 PMTsStan Seibert
2011-08-09fix variable name in GPU.color_solids()Anthony LaTorre
2011-08-09merge headsAnthony LaTorre
2011-08-09switch to indexing child nodes by start and stop indices instead of start ↵Anthony LaTorre
and length; this reduces a bit of arithmetic when traversing the bounding volume hierarchy and makes the code in Geometry.build() more concise. add an untested cuda kernel to interleave the bits in three uint64 arrays.
2011-08-09Put number of detected photons into charge value for channel.Stan 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-09Update camera to use SpaceNav over X11 protocol. Now events pass through ↵Stan Seibert
pygame loop.
2011-08-09Update spnav ctypes wrapper to support X11-based communication.Stan Seibert
2011-08-08propagate() takes an array of photon offsets and a range ofStan Seibert
offsets to load. Now events with more photons than RNG states can be propagated through multiple kernel calls. Also lays the groundwork for consolidating photons between steps to reduce the amount of propagation work required.
2011-08-08Record generated particle information in data structureStan Seibert
2011-08-08merge headsAnthony LaTorre
2011-08-08speedup Geometry.build()Anthony LaTorre
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-08merge headsAnthony LaTorre
2011-08-08add a simple event viewer. view events by running ./camera.py ↵Anthony LaTorre
<detector_name> -i <name_of_io_file>.
2011-08-08Ignore root files and .lprof files produces by kernprof.Stan Seibert
2011-08-08Bug fixes when retrieving and rerunning photon lists through propagate.Stan Seibert
2011-08-05Cut off the index of refraction for water below 260 nm, which can'tStan Seibert
be observed anyway. Speed increase of 20% in full size LBNE.
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-05merge headsAnthony LaTorre
2011-08-05update bounding box construction for nodes to determine each bound in a ↵Anthony LaTorre
single call by calling np.min() and np.max() along an axis
2011-08-05Fix typo in setting direction of particle from sim.py command line.Stan Seibert
2011-08-05Remove the unused load() function from Geometry class.Stan Seibert
2011-08-05Tony discovered that Inf is not a good value for a scattering length. :)Stan Seibert
2011-08-05merge with tonyStan Seibert
2011-08-05Warn user if for some reason the default BVH quantization is used becauseStan Seibert
they didn't build the geometry before loading it on the GPU.
2011-08-05--spnav option to camera.py enables camera control with aStan Seibert
locally-attached Space Navigator 3D mouse. Assumes you have the open source spacenavd and libspnav installed. (Both included in Ubuntu now.)
2011-08-05merge headsAnthony LaTorre
2011-08-05speedup bounding volume construction of leaf nodes by taking the min and max ↵Anthony LaTorre
of ungrouped instead of grouped vertices from a mesh
2011-08-05add a pi0 decay generatorAnthony LaTorre
2011-08-04ctypes module for using libspnav from pythonStan 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.
2011-08-04A rootlogon.C file to load the Event dictionary when running rootStan Seibert
inside the Chroma directory. Put this in your home directory or other work directory to access Chroma ROOT files.
2011-08-04Import the fill_event() method from ROOT into the root.py namespace.Stan Seibert
2011-08-04Use the clear() method on Event to reset for filling.Stan Seibert