summaryrefslogtreecommitdiff
path: root/bin/chroma-sim
diff options
context:
space:
mode:
Diffstat (limited to 'bin/chroma-sim')
-rwxr-xr-xbin/chroma-sim4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/chroma-sim b/bin/chroma-sim
index 0d737c4..7f309de 100755
--- a/bin/chroma-sim
+++ b/bin/chroma-sim
@@ -16,6 +16,10 @@ if __name__ == '__main__':
from chroma.rootimport import ROOT
ROOT.gROOT.SetBatch()
+ from chroma.log import logger, logging
+ logger.setLevel(logging.INFO)
+
+
parser = optparse.OptionParser('%prog <detector>')
parser.add_option('-o', dest='output_filename',
help='output filename', default='out.root')