diff options
author | Stan Seibert <stan@mtrr.org> | 2011-10-03 08:57:28 -0400 |
---|---|---|
committer | Stan Seibert <stan@mtrr.org> | 2011-10-03 08:57:28 -0400 |
commit | f546e2ee29db8c62112e9370c9a51947e6f87da1 (patch) | |
tree | 152ac2350c02622a7c2e65d80bb389b48663dd23 /bin/chroma-sim | |
parent | bbad0212924f725085c63d4a9133a9d73110f11a (diff) | |
download | chroma-f546e2ee29db8c62112e9370c9a51947e6f87da1.tar.gz chroma-f546e2ee29db8c62112e9370c9a51947e6f87da1.tar.bz2 chroma-f546e2ee29db8c62112e9370c9a51947e6f87da1.zip |
Call ROOT.SetBatch() in chroma-sim to avoid unnecessary X11 traffic.
Speeds up loading when you are using SSH forwarding over a slow link.
Diffstat (limited to 'bin/chroma-sim')
-rwxr-xr-x | bin/chroma-sim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/chroma-sim b/bin/chroma-sim index b6587f9..0d737c4 100755 --- a/bin/chroma-sim +++ b/bin/chroma-sim @@ -13,6 +13,8 @@ if __name__ == '__main__': from chroma import itertoolset from chroma import Simulation from chroma import root + from chroma.rootimport import ROOT + ROOT.gROOT.SetBatch() parser = optparse.OptionParser('%prog <detector>') parser.add_option('-o', dest='output_filename', |