From f546e2ee29db8c62112e9370c9a51947e6f87da1 Mon Sep 17 00:00:00 2001 From: Stan Seibert Date: Mon, 3 Oct 2011 08:57:28 -0400 Subject: Call ROOT.SetBatch() in chroma-sim to avoid unnecessary X11 traffic. Speeds up loading when you are using SSH forwarding over a slow link. --- bin/chroma-sim | 2 ++ 1 file changed, 2 insertions(+) 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 ') parser.add_option('-o', dest='output_filename', -- cgit