job = AlgSequence() # Add the required algorithms to the sequence from TrigT1CaloSim.TrigT1CaloSimConfig import TriggerTowerMaker_TTL1 triggerTowerMaker = TriggerTowerMaker_TTL1('TriggerTowerMaker') job += [triggerTowerMaker] job += LVL1__CPMTowerMaker('CPMTowerMaker') job += LVL1__JetElementMaker('JetElementMaker') job += LVL1__EmTauTrigger('EmTauTrigger') job += LVL1__JetTrigger('JetTrigger') job += LVL1__EnergyTrigger('EnergyTrigger') job += LVL1__ROD('ROD') job += LVL1__CPCMMMaker('CPCMMMaker') job += LVL1__JEPCMMMaker('JEPCMMMaker') from AthenaCommon.AppMgr import ToolSvc from TrigT1CaloTools.TrigT1CaloToolsConf import LVL1__L1TriggerTowerTool ToolSvc += LVL1__L1TriggerTowerTool('L1TriggerTowerTool') ToolSvc.L1TriggerTowerTool.BaselineCorrection = False # Dynamic Pedestal Correction job.TriggerTowerMaker.BaselineCorrection = False if job.TriggerTowerMaker.BaselineCorrection: ToolSvc.L1TriggerTowerTool.BaselineCorrection = True # obtain dynamic pedestals either from ROOT-File (only <mu>=60) or from Text-File useRootFile = True
from TrigT1CaloSim.TrigT1CaloSimConf import LVL1__Tester from TrigT1CaloSim.TrigT1CaloSimConf import LVL1__DumpTriggerObjects job += LVL1__CPMTowerMaker('newCPMTowerMaker') job.newCPMTowerMaker.EventStore = "BkgEvent_0_SG" job += LVL1__JetElementMaker('newJetElementMaker') job.newJetElementMaker.EventStore = "BkgEvent_0_SG" job += LVL1__EmTauTrigger('newEmTauTrigger') job.newEmTauTrigger.EventStore = "BkgEvent_0_SG" job += LVL1__JetTrigger('newJetTrigger') job.newJetTrigger.EventStore = "BkgEvent_0_SG" job += LVL1__EnergyTrigger('newEnergyTrigger') job.newEnergyTrigger.EventStore = "BkgEvent_0_SG" job += LVL1__ROD('newROD') job.newROD.EventStore = "BkgEvent_0_SG" job += LVL1__CPCMMMaker('newCPCMMMaker') job.newCPCMMMaker.EventStore = "BkgEvent_0_SG" job += LVL1__JEPCMMMaker('newJEPCMMMaker') job.newJEPCMMMaker.EventStore = "BkgEvent_0_SG" #------------------------------------------------------- # TrigT1MBTS Alg #------------------------------------------------------- if DetFlags.simulateLVL1.Calo_on(): from TrigT1MBTS.TrigT1MBTSConf import LVL1__TrigT1MBTS job += LVL1__TrigT1MBTS("newTrigT1MBTS") job.newTrigT1MBTS.EvtStore = "BkgEvent_0_SG" #------------------------------------------------------- # TrigT1BCM Alg #-------------------------------------------------------