summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Seibert <stan@mtrr.org>2012-01-02 12:52:04 -0500
committertlatorre <tlatorre@uchicago.edu>2021-05-09 08:42:38 -0700
commit433f94b262df12a7bf6b49dbac7bbe73db9b8aa6 (patch)
tree7f75015cd6286c26780d9f9a0b4f7e73ba0df8e4
parent3ad588c5e03816adec098507c619948f5719465e (diff)
downloadchroma-433f94b262df12a7bf6b49dbac7bbe73db9b8aa6.tar.gz
chroma-433f94b262df12a7bf6b49dbac7bbe73db9b8aa6.tar.bz2
chroma-433f94b262df12a7bf6b49dbac7bbe73db9b8aa6.zip
Import ROOT module from its true location and add missing import of enable_debug_on_crash
-rwxr-xr-xbin/chroma-sim4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/chroma-sim b/bin/chroma-sim
index 64aa17c..6ab014e 100755
--- a/bin/chroma-sim
+++ b/bin/chroma-sim
@@ -15,8 +15,10 @@ def main():
from chroma import event
from chroma import itertoolset
from chroma import Simulation
- from chroma import root
+ from chroma.io import root
from chroma.rootimport import ROOT
+ from chroma.tools import enable_debug_on_crash
+
ROOT.gROOT.SetBatch()
from chroma.generator.vertex import constant_particle_gun