summaryrefslogtreecommitdiff
path: root/chroma
AgeCommit message (Collapse)Author
2011-10-05Missing glass parameter in build_pmt_shell()Stan Seibert
2011-10-05Epic port of Chroma from units of meters/seconds/MeV toStan Seibert
millimeters/nanoseconds/MeV in order to match GEANT4, and also avoid huge discrepancies in magnitude caused by values like 10e-9 sec. Along the way, cleaned up a few things: * Switch the PI and SPEED_OF_LIGHT constants from double to single precision. This avoid some unnecessary double precision calculations in the GPU code. * Fixed a silly problem in the definition of the spherical spiral. Now the demo detector looks totally awesome. Also wrapped it in a black surface. Demo detector now has 10055 PMTs. * Updated the test_ray_intersection data file to reflect the new units. * Fix a missing import in chroma.gpu.tools
2011-10-05Fix floating point exception generated in PyROOT when dealing with no hit ↵Stan Seibert
channels.
2011-10-05The demo/detector.py module is no longer used.Stan Seibert
2011-10-05Default values for required arguments in the make.* functions creates confusion.Stan Seibert
2011-10-05Add tlatorre/histogram as a subrepository so that we can use it in the ↵Stan Seibert
Rayleigh scattering unit test
2011-10-05Kernel estimation implementation for calculating PDFs at each PMT.Stan Seibert
A little rough around the edges, and still needs some development work.
2011-10-05Calling the garbage collector explicitly is very expensive and gets ↵Stan Seibert
progressively slower the longer the program runs. Need to find another way to deal with running out of GPU memory due to reference cycles in PyCUDA.
2011-10-03Split out CUDA PDF functions into separate .cu file.Stan Seibert
2011-10-03Output device usage to logger.Stan Seibert
2011-10-03Create a chroma.log module that provides the default logger object forStan Seibert
the package. Rather than use the logging module directly, we wrap it with this to ensure that logger.basicConfig() is called automatically. All chroma code should use this logger for printing status information so that it can be hidden when chroma is part of a bigger application.
2011-09-30Test if root.C classes have been loaded before loading in root.py. Prevents ↵Stan Seibert
printed warnings when the user already has a .rootlogon.C to load the Chroma ROOT classes.
2011-09-30ROOT sucks and the TApplication object created by PyROOT interpretsStan Seibert
the contents of sys.argv whether you want it to or not. A simple hack is to blank out sys.argv around the point where you import ROOT. As an additional requirement, you have to actually use the ROOT module for something (even just looking up a class) in order for the TApplication to be initialized, so you can't just replace sys.argv with an empty array around the ROOT import. To ensure this is always done correctly, all Chroma modules that need ROOT should obtain it by: from chroma.rootimport import ROOT
2011-09-29Allow loading of bzip2 compressed binary stl files and reduce size of the ↵Stan Seibert
models directory
2011-09-29Removing portal gun models to shrink the packageStan Seibert
2011-09-29Move checkerboard into demo packageStan Seibert
2011-09-29Remove MiniCLEANStan Seibert
2011-09-29Abolish chroma.optics. Material properties are entirely detectorStan Seibert
specific, so now the example materials and surfaces are found in chroma.demo.optics.
2011-09-29Fix imports in __init__.pyStan Seibert
2011-09-29New demo detector for Chroma that is not dependent on any internal ↵Stan Seibert
experiment information.
2011-09-28Remove SNO+ detector. Now in separate repository.Stan Seibert
2011-09-28Remove LBNE detectorStan Seibert
2011-09-20Fix bug printing output movie filenameStan Seibert
2011-09-19Forgot to import chroma.gpu.render in gpu/__init__.pyStan Seibert
2011-09-19Remove unused importsStan Seibert
2011-09-17Split up chroma.gpu into separate modules. chroma.gpu.__init__ imports ↵Stan Seibert
everything from the sub modules, so usage is the same.
2011-09-17Module for fitting and evaluating multi-dimensional parabolasStan Seibert
2011-09-17.chroma directory is now used to build the ROOT shared library describing ↵Stan Seibert
the event data structure. No more writing files to chroma package directory.
2011-09-16Rename chroma.fileio to chroma.ioStan Seibert
2011-09-16Silence annoying GEANT4 warnings and banners during operation.Stan Seibert
2011-09-16Remove executable flag from camera.py and sim.py, which are no longer scripts.Stan Seibert
2011-09-16Add a srcdir attribute to the chroma.cuda module. This consolidates the ↵Stan Seibert
calculation of the path to the CUDA source code in one place.
2011-09-16Fix reference to _g4chroma moduleStan Seibert
2011-09-16Now use setuptools-built Boost::Python GEANT4 moduleStan Seibert
2011-09-16Update functions to look in chroma/cuda directory for CUDA sourceStan Seibert
2011-09-16Move C++ source to src directoryStan Seibert
2011-09-16Move CUDA source inside chroma package, rename tests directory to testStan Seibert
2011-09-16File reorganization to move toward standard python package layoutStan Seibert