summaryrefslogtreecommitdiff
path: root/generator/g4gen.py
AgeCommit message (Collapse)Author
2011-09-13mergeStan Seibert
2011-09-12add chroma-sim script. get rid of GPU class; contexts should now be created ↵Anthony LaTorre
with create_cuda_context().
2011-09-11Add t0 parameters to the vertex generators that set the start timeStan Seibert
of the event.
2011-09-02update event structure. break gpu.GPU class into separate smaller ↵Anthony LaTorre
independent classes.
2011-08-20Gar! GEANT4 needs the world volume resized to contain our lone box of material.Stan Seibert
2011-08-17import chroma modules from subpackages with import chroma.module_nameAnthony LaTorre
2011-08-16Preheat GEANT4 process by running a short event at startupStan Seibert
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.