ATLAS Offline Software
Loading...
Searching...
No Matches
TrigT1TRTConfig Namespace Reference

Functions

 L1TRTSimCfg (flags, name="TrigT1TRT")

Function Documentation

◆ L1TRTSimCfg()

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

Definition at line 7 of file TrigT1TRTConfig.py.

7def L1TRTSimCfg(flags, name="TrigT1TRT"):
8 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
9 acc = 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