diff options
| author | Stan Seibert <stan@mtrr.org> | 2011-08-08 15:29:57 -0400 |
|---|---|---|
| committer | Stan Seibert <stan@mtrr.org> | 2011-08-08 15:29:57 -0400 |
| commit | 09e042b8888342ed8fc7a8c5b05ea1caa47a3842 (patch) | |
| tree | f7c0ef12958030dfc64b7855727ac2534a0256b9 /io/root.py | |
| parent | 945179f7c1e763412b4d2d5a32f191c94342da6f (diff) | |
| download | chroma-09e042b8888342ed8fc7a8c5b05ea1caa47a3842.tar.gz chroma-09e042b8888342ed8fc7a8c5b05ea1caa47a3842.tar.bz2 chroma-09e042b8888342ed8fc7a8c5b05ea1caa47a3842.zip | |
Modify data structure to hold photon start and stop vertices separately.
Add --save-photon-start and --save-photon-stop options to sim.py to
save these vertices. Otherwise, only hit information is recorded.
Diffstat (limited to 'io/root.py')
| -rw-r--r-- | io/root.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -5,7 +5,8 @@ ROOT.gROOT.ProcessLine('.L '+os.path.join(os.path.dirname(__file__), 'root.C+g') from ROOT import Event -fill_event = ROOT.fill_event +fill_photons = ROOT.fill_photons +fill_hits = ROOT.fill_hits def make_tree(name, desc=''): '''Create a ROOT tree for holding event information. |
