00001
00002 '''
00003 A job module to test the incidents emitted from RootIO
00004
00005 Example:
00006
00007 nuwa.py -n -1 -m 'DybIO.DaqRootWriter' -m 'DybIO.TestRoller 10E' -o sim_10E_%04d.root simiotest.root
00008
00009 '''
00010
00011 def configure(argv = None):
00012 '''
00013 Configure the DaqRootWriter module.
00014 '''
00015
00016 from Gaudi.Configuration import ApplicationMgr
00017 theApp = ApplicationMgr()
00018
00019 from DybIO.DybIOConf import DaqRootWriter
00020 alg = DaqRootWriter()
00021 theApp.TopAlg.append(alg)
00022 return
00023
00024
00025
00026