ATLAS Offline Software
Functions
python.CTPSimulationConfig Namespace Reference

Functions

def CTPSimulationCfg (flags)
 

Function Documentation

◆ CTPSimulationCfg()

def python.CTPSimulationConfig.CTPSimulationCfg (   flags)

Definition at line 6 of file CTPSimulationConfig.py.

6 def CTPSimulationCfg(flags):
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,
13  #Using same as Phase1L1Topo for now, but it should be changed in the future
14  DoL1CaloLegacy = flags.Trigger.enableL1CaloLegacy,
15  #TODO enable when input are also simulatedDetectors (and remove message)
16  jFexJetInput = "",
17  jFexLJetInput = "",
18  gFexJetInput = "",
19  gFexMETNCInput = "",
20  gFexMETRhoInput = "",
21  gFexMETJwoJInput = "",
22  eFexClusterInput = "",
23  eFexTauInput = "",
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 #to allow simulation of cosmics triggers in MC
29  ))
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,
34  DoMuon = False) # not needed for L1MuonPhase1
35  acc.addEventAlgo(roib)
36  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.CTPSimulationConfig.CTPSimulationCfg
def CTPSimulationCfg(flags)
Definition: CTPSimulationConfig.py:6