summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2011-08-04Implement propagate and daq functions in gpu module.Stan Seibert
2011-08-04Don't draw a random time delta in the daq kernel unless it is necessary.Stan Seibert
2011-08-04Add method to detectors module to locate a detector build functionStan Seibert
using the same string decorators as in camera and view.
2011-08-03Merge TonyStan Seibert
2011-08-03ROOT data structure for holding particle, photon, and hit information.Stan Seibert
2011-08-03Ignore shared library files produced by ROOT and Boost::Python.Stan Seibert
2011-08-03merge headsAnthony LaTorre
2011-08-03add a GPU class to handle both the gpu context and module; since the ↵Anthony LaTorre
geometry requires global device pointers, there should be a one to one correspondence between modules and contexts. the current plan is to perform all gpu operations within this class. also add a simple color map to display hit pmt charge and timing information.
2011-08-03GEANT4-based photon vertex generator.Stan Seibert
Propagates a particle through a huge volume of some material and harvest the photon vertices that are created for propagation with Chroma. Relies on a patched version of g4py, plus a local boost.python module that is built at import time if needed. (Does not detect changes to rebuild, however.) Chroma materials can now have a density set, as well as an elemental composition (by weight) that is used by this generator.
2011-08-03Merge with TonyStan Seibert
2011-07-30reduce number of lookup calls.Anthony LaTorre
2011-07-30you can rotate just the camera by holding the control key and take movies by ↵Anthony LaTorre
pressing the m key.
2011-07-30when throwing photons from the light source out onto the scene, photons are ↵Anthony LaTorre
now thrown randomly across each triangle instead of only at the center of each triangle. all of the rendering kernels have been rewritten so that they operate additively; for example, you may now throw photons from the light source onto the scene, render from the camera to the scene, then throw more photons and render again.
2011-07-29Add SNO acrylic and LAB+PPO scintillator to detector model.Stan Seibert
2011-07-28Alternate "real_sno" detector configuration using the CAD model of theStan Seibert
acrylic vessel. There are serious issues with this model which probably make it unsuitable for photon propagation at the moment. (Example: Why do you need to traverse 8 surfaces to cross the acrylic vessel? There should only be 4.)
2011-07-28Oops, forgot to include the reduced 8" PMT profile.Stan Seibert
2011-07-28Increase alpha depth for complex models. Remove intermediate roundingStan Seibert
to integers in alpha blending until the last step.
2011-07-28Support for reading bz2 compressed STL files.Stan Seibert
2011-07-27Merge changesStan Seibert