Public Member Functions | |
def | __init__ |
Create default configuration for ElecSim. Configuration only adds the ElecSim algorithm, EsFrontEndAlg. Changes to algorithm and tool properties from their defaults can be made in individual job option scripts by accessing them via ElecSimConf.
Definition at line 5 of file __init__.py.
def ElecSim::__init__::Configure::__init__ | ( | self, | ||
use_push_algs = True , |
||||
use_sim_subseq = False | ||||
) |
Configure ElecSim. Default tools are: PmtTool - EsPmtEffectPulseTool RpcTool - EsIdealPulseTool FeeTool - EsIdealFeeTool FecTool - EsIdealFecTool
Definition at line 8 of file __init__.py.
00014 : 00015 ''' 00016 Configure ElecSim. 00017 00018 Default tools are: 00019 PmtTool - EsPmtEffectPulseTool 00020 RpcTool - EsIdealPulseTool 00021 FeeTool - EsIdealFeeTool 00022 FecTool - EsIdealFecTool 00023 ''' 00024 00025 import DataSvc 00026 self.dataSvc = DataSvc.Configure() 00027 00028 if use_push_algs: 00029 from ElecSim.ElecSimConf import EsFrontEndAlg 00030 self.frontEndAlg = EsFrontEndAlg() 00031 00032 if not use_sim_subseq: 00033 from Gaudi.Configuration import ApplicationMgr 00034 app = ApplicationMgr() 00035 app.TopAlg.append(self.frontEndAlg) 00036 pass pass