Exemple #1
0
from TrigT1CaloSim.TrigT1CaloSimConf import LVL1__CPCMMMaker
from TrigT1CaloSim.TrigT1CaloSimConf import LVL1__JEPCMMMaker

# Get the algorithm sequence
from AthenaCommon.AlgSequence import AlgSequence
job = AlgSequence()

# Define number of LUT slices and pedestal value required
timeslices = 5
pedestal = 32

# Get default StoreGate keys of the collections which will
# exist in multiple copies
triggerTowers = TriggerTowerMaker_TTL1.getDefaultProperty(
    'TriggerTowerLocation')
cpmTowers = LVL1__CPMTowerMaker.getDefaultProperty('CPMTowerLocation')
jetElements = LVL1__JetElementMaker.getDefaultProperty('JetElementLocation')
cpmHits = LVL1__EmTauTrigger.getDefaultProperty('CPMHitsLocation')
emTauRois = LVL1__EmTauTrigger.getDefaultProperty('EmTauROILocation')
jemHits = LVL1__JetTrigger.getDefaultProperty('JEMHitsLocation')
jetRois = LVL1__JetTrigger.getDefaultProperty('JetROIOutputLocation')
jemEtSums = LVL1__EnergyTrigger.getDefaultProperty('JEMEtSumsLocation')
energyRois = LVL1__EnergyTrigger.getDefaultProperty('EnergyRoILocation')
energyCtps = LVL1__EnergyTrigger.getDefaultProperty('EnergyCTPLocation')
emTauCtps = LVL1__ROD.getDefaultProperty('EmTauCTPLocation')
emTauSlink = LVL1__ROD.getDefaultProperty('EmTauSlinkLocation')
jepSlink = LVL1__ROD.getDefaultProperty('JEPSlinkLocation')
energySlink = LVL1__ROD.getDefaultProperty('EnergySlinkLocation')
jetCtps = LVL1__ROD.getDefaultProperty('JetCTPLocation')
jetEtRois = LVL1__ROD.getDefaultProperty('JetEtRoILocation')
Exemple #2
0
from TrigT1CaloSim.TrigT1CaloSimConf import LVL1__ROD
from TrigT1CaloSim.TrigT1CaloSimConf import LVL1__Tester
from TrigT1CaloSim.TrigT1CaloSimConf import LVL1__DumpTriggerObjects

# Get the algorithm sequence
from AthenaCommon.AlgSequence import AlgSequence

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
Exemple #3
0
                job.newTriggerTowerMaker.TileThresh = job.TriggerTowerMaker.TileThresh
                job.newTriggerTowerMaker.HecThresh = job.TriggerTowerMaker.HecThresh
                job.newTriggerTowerMaker.FcalHThresh = job.TriggerTowerMaker.FcalHThresh

                from TrigT1CaloSim.TrigT1CaloSimConf import LVL1__CPMTowerMaker
                from TrigT1CaloSim.TrigT1CaloSimConf import LVL1__JetElementMaker
                from TrigT1CaloSim.TrigT1CaloSimConf import LVL1__EmTauTrigger
                from TrigT1CaloSim.TrigT1CaloSimConf import LVL1__JetTrigger
                from TrigT1CaloSim.TrigT1CaloSimConf import LVL1__EnergyTrigger
                from TrigT1CaloSim.TrigT1CaloSimConf import LVL1__CPCMMMaker
                from TrigT1CaloSim.TrigT1CaloSimConf import LVL1__JEPCMMMaker
                from TrigT1CaloSim.TrigT1CaloSimConf import LVL1__ROD
                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"