ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1TRT
python
TrigT1TRTConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2025 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
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
TrigT1TRTConfig.L1TRTSimCfg
L1TRTSimCfg(flags, name="TrigT1TRT")
Definition
TrigT1TRTConfig.py:7
Generated on
for ATLAS Offline Software by
1.17.0