Skip to content
Snippets Groups Projects

Enable new L1 menu format in L1Topo and CTP simulation (II)

Merged Joerg Stelzer requested to merge stelzer/athena:master-L1TopoCTPSimNewMenu into master
1 file
+ 11
13
Compare changes
  • Side-by-side
  • Inline
@@ -187,22 +187,20 @@ def Lvl1SimulationSequence( flags = None ):
##################################################
l1TopoSim = None
from L1TopoSimulation.L1TopoSimulationConfig import L1TopoSimulation
l1TopoSim = L1TopoSimulation()
l1TopoSim.MuonInputProvider.ROIBResultLocation = "" #disable input from RoIBResult
if flags.Trigger.enableL1Phase1:
log.info("No phase1 configuration for L1Topo simulation is available")
l1TopoSim.MuonInputProvider.MuctpiSimTool = ToolSvc.MUCTPI_AthTool
else:
from L1TopoSimulation.L1TopoSimulationConfig import L1TopoSimulation
l1TopoSim = L1TopoSimulation()
l1TopoSim.MuonInputProvider.ROIBResultLocation = "" #disable input from RoIBResult
l1TopoSim.MuonInputProvider.MuctpiSimTool = ToolSvc.L1MuctpiTool
# enable the reduced (coarse) granularity topo simulation
# currently only for MC
from AthenaCommon.GlobalFlags import globalflags
if globalflags.DataSource()!='data':
l1TopoSim.MuonInputProvider.MuonEncoding = 1
else:
l1TopoSim.MuonInputProvider.MuonEncoding = 0
# enable the reduced (coarse) granularity topo simulation
# currently only for MC
from AthenaCommon.GlobalFlags import globalflags
if globalflags.DataSource()!='data':
l1TopoSim.MuonInputProvider.MuonEncoding = 1
else:
l1TopoSim.MuonInputProvider.MuonEncoding = 0
##################################################
# CTP
Loading