コード例 #1
0
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
    if useRootFile:
コード例 #2
0
                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
        #-------------------------------------------------------
        if DetFlags.simulateLVL1.BCM_on():
            from TrigT1BCM.TrigT1BCMConf import LVL1__TrigT1BCM