ATLAS Offline Software
Functions
TrigT1TRTConfig Namespace Reference

Functions

def L1TRTSimCfg (flags, name="TrigT1TRT")
 

Function Documentation

◆ L1TRTSimCfg()

def TrigT1TRTConfig.L1TRTSimCfg (   flags,
  name = "TrigT1TRT" 
)

Definition at line 7 of file TrigT1TRTConfig.py.

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 TRT_ConditionsServices.TRT_ConditionsServicesConfig import TRT_StrawStatusSummaryToolCfg,TRT_StrawNeighbourSvcCfg
13  trtStrawStatusSummaryTool = acc.popToolsAndMerge(TRT_StrawStatusSummaryToolCfg(flags))
14  trtStrawNeighbourSvc = acc.getPrimaryAndMerge(TRT_StrawNeighbourSvcCfg(flags))
15  from AthenaConfiguration.ComponentFactory import CompFactory
16  if flags.Input.Format is Format.BS:
17  from TRT_RawDataByteStreamCnv.TRT_RawDataByteStreamCnvConfig import TRTRawDataProviderCfg
18  acc.merge(TRTRawDataProviderCfg(flags))
19  else:
20  from TrigConfigSvc.TrigConfigSvcCfg import L1ConfigSvcCfg
21  acc.merge(L1ConfigSvcCfg(flags))
22  acc.addEventAlgo(CompFactory.LVL1.TrigT1TRT(name,
23  TTCMultiplicity = flags.Trigger.TRT.TTCMultiplicity,
24  maskedChipsFile = flags.Trigger.TRT.maskedChipsFile,
25  ConditionsSummaryTool = trtStrawStatusSummaryTool,
26  StrawNeighbourSvc = trtStrawNeighbourSvc
27  ))
28  return acc
python.TRT_RawDataByteStreamCnvConfig.TRTRawDataProviderCfg
def TRTRawDataProviderCfg(flags, name="TRTRawDataProvider", **kwargs)
Definition: TRT_RawDataByteStreamCnvConfig.py:39
python.TRT_ConditionsServicesConfig.TRT_StrawStatusSummaryToolCfg
def TRT_StrawStatusSummaryToolCfg(flags, name="TRT_StrawStatusSummaryTool", **kwargs)
Definition: TRT_ConditionsServicesConfig.py:23
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:203
python.TRT_ConditionsServicesConfig.TRT_StrawNeighbourSvcCfg
def TRT_StrawNeighbourSvcCfg(flags, name="TRT_StrawNeighbourSvc", **kwargs)
Definition: TRT_ConditionsServicesConfig.py:43