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))
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