7 from AthenaCommon.Logging
import logging
8 log = logging.getLogger(
"CTPMCSimulationCfg")
10 acc.addEventAlgo(CompFactory.LVL1CTP.CTPSimulation(
"CTPSimulation",
11 DoL1Topo = flags.Trigger.L1.doTopo,
12 DoL1TopoLegacy =
False,
14 DoL1CaloLegacy = flags.Trigger.enableL1CaloLegacy,
21 gFexMETJwoJInput =
"",
22 eFexClusterInput =
"",
24 TopoInput =
"L1TopoToCTPLocation",
25 LegacyTopoInput =
"L1TopoLegacyToCTPLocation",
26 DoZDC = flags.Trigger.doZDC,
27 DoTRT = flags.Trigger.doTRT,
28 ForceBunchGroupPattern =
False if flags.Beam.Type
is BeamType.Cosmics
else True
30 log.info(
"Not all part of CTP simulation are enabled yet")
31 if flags.Trigger.enableL1CaloLegacy:
32 roib = CompFactory.ROIB.RoIBuilder(
"RoIBuilder",
33 DoCalo = flags.Trigger.enableL1CaloLegacy,
35 acc.addEventAlgo(roib)