summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
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-05Add tlatorre/histogram as a subrepository so that we can use it in the ↵Stan Seibert
Rayleigh scattering unit test
2011-09-29Fix unittest to use new location of vacuum material.Stan Seibert
2011-09-29New demo detector for Chroma that is not dependent on any internal ↵Stan Seibert
experiment information.
2011-09-17Module for fitting and evaluating multi-dimensional parabolasStan Seibert
2011-09-16Rename chroma.fileio to chroma.ioStan Seibert
2011-09-16Rewrite test_sample_cdf to use a unittest.TestCase class so that the GPU ↵Stan Seibert
context can be setup and torn down correctly around the test.
2011-09-16Modify test_ray_intersection to use __file__ to file location of test standardStan 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-16Move CUDA source inside chroma package, rename tests directory to testStan Seibert