00001
00002
00003 __all__ = [ "run" ]
00004
00005 def configure(argv=[]):
00006
00007
00008 from optparse import OptionParser
00009 parser = OptionParser()
00010
00011 parser.add_option("-o","--output",action="store", type="string",
00012 default = "pending.root",help="Root tree file name")
00013 (opts,args) = parser.parse_args(args=argv)
00014
00015
00016 from Gaudi.Configuration import ApplicationMgr
00017 theApp = ApplicationMgr()
00018
00019
00020 from RollingGain.RollingGainConf import RollingGain
00021 MyAlg=RollingGain()
00022 theApp.TopAlg.append(MyAlg)
00023 MyAlg.FitPeriod = 60*60
00024 MyAlg.Fix = 1
00025
00026
00027
00028
00029
00030 return