00001
00002 '''
00003 usage example:
00004
00005 nuwa.py -n -1 -m Sim15.ana fifteen.root > log&
00006
00007 Remember set the top stage to be the same as the sample
00008
00009 '''
00010 def configure():
00011
00012 from Gaudi.Configuration import ApplicationMgr
00013 theApp = ApplicationMgr()
00014
00015
00016
00017
00018
00019
00020 from Sim15.Sim15Conf import Ana15
00021 ana15=Ana15()
00022 ana15.TopStage='Kinematic'
00023
00024
00025
00026
00027 ana15.OutputLevel=2
00028 theApp.TopAlg.append(ana15)
00029
00030 return
00031
00032 def run(app):
00033 pass
00034
00035
00036 if __name__ == "__main__":
00037 configure()
00038 pass