ATLAS Offline Software
TrigT1TRTConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 
4 
5 from AthenaConfiguration.Enums import Format
6 
7 def L1TRTSimCfg(flags, name="TrigT1TRT"):
8  from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
10  from TRT_ConditionsAlgs.TRT_ConditionsAlgsConfig import TRTStrawStatusCondAlgCfg
11  acc.merge(TRTStrawStatusCondAlgCfg(flags))
12  from AthenaConfiguration.ComponentFactory import CompFactory
13  if flags.Input.Format is Format.BS:
14  from TRT_RawDataByteStreamCnv.TRT_RawDataByteStreamCnvConfig import TRTRawDataProviderCfg
15  acc.merge(TRTRawDataProviderCfg(flags))
16  else:
17  from TrigConfigSvc.TrigConfigSvcCfg import L1ConfigSvcCfg
18  acc.merge(L1ConfigSvcCfg(flags))
19  acc.addEventAlgo(CompFactory.LVL1.TrigT1TRT(name,
20  TTCMultiplicity = flags.Trigger.TRT.TTCMultiplicity,
21  maskedChipsFile = flags.Trigger.TRT.maskedChipsFile
22  ))
23  return acc
python.TRT_RawDataByteStreamCnvConfig.TRTRawDataProviderCfg
def TRTRawDataProviderCfg(flags, name="TRTRawDataProvider", **kwargs)
Definition: TRT_RawDataByteStreamCnvConfig.py:19
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
TrigT1TRTConfig.L1TRTSimCfg
def L1TRTSimCfg(flags, name="TrigT1TRT")
Definition: TrigT1TRTConfig.py:7
python.TRT_ConditionsAlgsConfig.TRTStrawStatusCondAlgCfg
def TRTStrawStatusCondAlgCfg(flags, name="TRTStrawStatusCondAlg", **kwargs)
Definition: TRT_ConditionsAlgsConfig.py:29
python.TrigConfigSvcCfg.L1ConfigSvcCfg
def L1ConfigSvcCfg(flags)
Definition: TrigConfigSvcCfg.py:198