00001
00002
00003 '''
00004 usage example:
00005
00006 nuwa.py -n -1 -m"SmartFilter.Clear" -m"SmartFilter.KeepRecon" -o recon.root all.root
00007
00008 '''
00009
00010 def configure(argv = []):
00011
00012 from SmartFilter.SmartFilterConf import SmartFilterAlg
00013 keepRecon = SmartFilterAlg("keepRecon")
00014 keepRecon.KeepLocation = "/Event/Rec/AdSimple"
00015 keepRecon.KeepAllParents = True
00016 keepRecon.ParentPrescale = 0.01
00017 keepRecon.KeepAllChildren = True
00018
00019 from Gaudi.Configuration import ApplicationMgr
00020 app = ApplicationMgr()
00021 app.TopAlg.append(keepRecon)
00022
00023 def run(app):
00024 pass