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