00001
00002
00003 __all__ = ['Configure','TrigSimConf']
00004
00005 class Configure:
00006 '''
00007 Create default configuration for TrigSim. Configuration only adds the
00008 TrigSim algorithm, TsTriggerAlg.
00009
00010 Changes to algorithm and tool properties from their defaults can be
00011 made in individual job option scripts by accessing them via TrigSimConf.
00012 '''
00013
00014 def __init__(self,use_sim_subseq=False):
00015 '''
00016 Configure TrigSim.
00017
00018 Default tool is TsMultTriggerTool.
00019 '''
00020 if not use_sim_subseq:
00021 from Gaudi.Configuration import ApplicationMgr
00022 app = ApplicationMgr()
00023 app.TopAlg.append("TsTriggerAlg")
00024 pass
00025
00026 return
00027
00028