summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2021-05-09add chroma server scriptAndy Mastbaum
chroma-server starts a ZeroMQ socket server which listens for Photons objects, propagates them in the given Detector, and returns the final Photons. Usage: $ chroma-server DETECTOR [--address ADDRESS] DETECTOR is a detector string, e.g. @chroma_sno.sno or sno ADDRESS is a ZeroMQ socket address, default tcp://*:5024
2021-05-09Fix imports for chroma-camStan Seibert
2021-05-09BVH optimization to sort child nodes by area. Only has a small effect.Stan Seibert
2021-05-09New BVH algorithm: Recursive GridStan Seibert
This is an adaptation of the original Chroma BVH construction algorithm. The generation stage is very slow, but can be fixed.
2021-05-09Redo node format to include number of children, rather than just leaf bit.Stan Seibert
2021-05-09Add a chroma-bvh hist function that displays a ROOT histogram of theStan Seibert
areas of the BVH nodes in a particular layer of the tree.
2021-05-09Use fixed point BVH surface area instead of world coordinates for ↵Stan Seibert
consistency everywhere.
2021-05-09If the node_swap optimization is run with a minus sign after the layer ↵Stan Seibert
number, it will be done to that layer, and all layers above it.
2021-05-09Add more BVH manipulation commands:Stan Seibert
* chroma-bvh create [name] [degree] - Creates a new BVH with the specified branching degree. * chroma-bvh node_swap [name] [layer] - Optimizes a BVH layer with a "greedy, short-sighted" algorithm that swaps around nodes to minimize the surface area of the immediate parent layer. Rebuilds the tree above the modified layer when finished. Also modified the chroma-bvh stat command to print the sum of the logarithms of the areas of each layer. It seems to be a rough predictor of the simulation speed of the BVH.
2021-05-09Add list, copy, and remove commands to chroma-bvhStan Seibert
2021-05-09chroma-bvh: command to manipulate BVH trees in cache. Just a stat ↵Stan Seibert
subcommand for now.
2021-05-09Super simple geometry cache management tool: chroma-geoStan Seibert
2021-05-09Add another loader function that is useful for chroma-cam.Stan Seibert
Note that rendering is still broken by the new BVH format.
2021-05-09Implement new loader function that turns a string into a Geometry,Stan Seibert
searching through files, named geometries in the cache, and geometry creation functions. The loader function also is responsible for fetching or creating a BVH to go with the geometry. This commit also removes some code that has been replaced by the new system. Other bits will come back in future commits.
2021-05-09Print events/second statistic in chroma-simStan Seibert
2021-05-09Import ROOT module from its true location and add missing import of ↵Stan Seibert
enable_debug_on_crash
2021-05-09Temporarily include the current directory in the module path when loading ↵Stan Seibert
detector geometries.
2021-05-09Use constant particle gun in chroma-sim so it can generate pi0 events.Stan Seibert
2011-10-07Make main into a function so we can profile itStan 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-10-03Call ROOT.SetBatch() in chroma-sim to avoid unnecessary X11 traffic.Stan Seibert
Speeds up loading when you are using SSH forwarding over a slow link.
2011-09-30chroma-sim --rootlogon will create a .rootlogon.C file in your current ↵Stan Seibert
directory so you can read Chroma ROOT files.
2011-09-29Command line options to start the Python debugger on crash.Stan Seibert
Not entirely effective for chroma-cam, since this does not catch exceptions thrown in child processes.
2011-09-26Fix indentation in chroma-sim and allow detector name to have multiple dots.Stan Seibert
2011-09-20Change module import method to allow loading a detector from multi-level ↵Stan Seibert
module name, like chroma.detectors.cad_sno.
2011-09-16File reorganization to move toward standard python package layoutStan Seibert