7 from AthenaCommon.Logging
import logging
8 log = logging.getLogger(
"CTPMCSimulationCfg")
9 acc = ComponentAccumulator()
10 inputlocations = dict(
16 gFexMETJwoJInput =
"",
17 eFexClusterInput =
"",
19 TopoInput =
"L1TopoToCTPLocation",
20 LegacyTopoInput =
"L1TopoLegacyToCTPLocation",
22 if not flags.Trigger.enableL1MuonPhase1:
23 inputlocations[
"MuctpiInput"] =
""
24 acc.addEventAlgo(CompFactory.LVL1CTP.CTPSimulation(
"CTPSimulation",
25 UseEDMxAOD = flags.Trigger.CTP.UseEDMxAOD,
26 DoL1Topo = flags.Trigger.L1.doTopo,
27 DoL1TopoLegacy =
False,
29 DoL1CaloLegacy = flags.Trigger.enableL1CaloLegacy,
31 DoZDC = flags.Trigger.doZDC,
32 DoTRT = flags.Trigger.doTRT,
33 ForceBunchGroupPattern =
False if flags.Beam.Type
is BeamType.Cosmics
else True,
36 log.info(
"Not all part of CTP simulation are enabled yet")
38 roib = CompFactory.ROIB.RoIBuilder(
"RoIBuilder",
39 DoCalo = flags.Trigger.enableL1CaloLegacy,
41 acc.addEventAlgo(roib)