From 85f9f1d23f74ed9679d879c32f7e3c72c7e7ce8f Mon Sep 17 00:00:00 2001 From: Stan Seibert Date: Tue, 16 Aug 2011 17:10:58 -0400 Subject: Refactor sim.py into a reusable Simulation class that is called by the 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. --- event.py | 1 + 1 file changed, 1 insertion(+) (limited to 'event.py') diff --git a/event.py b/event.py index bf7c007..5b93f17 100644 --- a/event.py +++ b/event.py @@ -46,6 +46,7 @@ class Event(object): self.gen_total_energy = gen_total_energy self.subtracks = [] + self.nphoton = 0 self.photon_start = None self.photon_stop = None self.channels = None -- cgit