summaryrefslogtreecommitdiff
path: root/fileio
AgeCommit message (Collapse)Author
2011-08-23Add a RootReader class that also functions as an iterator, also createStan Seibert
a simple unit test for event reading and writing. There were several minor I/O bugs that are now fixed! Always test your code, kids!
2011-08-20Missing import from fileio.rootStan Seibert
2011-08-17import chroma modules from subpackages with import chroma.module_nameAnthony LaTorre
2011-08-16Refactor sim.py into a reusable Simulation class that is called by theStan Seibert
main function(). Also cleanup more event data structure names and add an nphoton value that is preserved even if you prune off all the actual photon vertices.
2011-08-16Epic restructuring of code to switch to a generator-based style ofStan Seibert
event creation. Now we have vertex generators (that produce initial particles), photon generators (that create photons to propagate), and a standard data structure using Python class containers and numpy arrays to hand around the code. Also cleaned up some naming of things before they become conventions.
2011-08-14Add a helper function to the ROOT Channel class that will populate 3Stan Seibert
arrays with hit information: hit or not, time and charge. Handy for fetching all the hits in an event into numpy arrays.
2011-08-12G4Generator and sim.py can now generate boosted pi0 decays.Stan Seibert
The ROOT data structure has been extended to allow storage of the individual gamma rays as subtracks.
2011-08-12Refactor ROOT file writing into fileio.root.RootWriter classStan Seibert
2011-08-12Storage for subtracks in ROOT data structure.Stan Seibert
2011-08-10Rename chroma.io to chroma.fileio to avoid collision with Python package ↵Stan Seibert
named io