ATLAS Offline Software
BSReadConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 
3 
4 from AthenaConfiguration.ComponentFactory import CompFactory
5 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
6 
7 
8 #
9 # Configure BS unpacking for event dumping.
10 #
11 def BSReadCfg (flags):
12 
13  acc = ComponentAccumulator()
14 
15  from ByteStreamCnvSvc.ByteStreamConfig import ByteStreamReadCfg
16  acc.merge (ByteStreamReadCfg (flags))
17 
18 
19 
20 
21  from PixelRawDataByteStreamCnv.PixelRawDataByteStreamCnvConfig import \
22  PixelRawDataProviderAlgCfg
23  acc.merge (PixelRawDataProviderAlgCfg(flags))
24 
25  from SCT_RawDataByteStreamCnv.SCT_RawDataByteStreamCnvConfig import \
26  SCTRawDataProviderCfg
27  acc.merge(SCTRawDataProviderCfg(flags))
28 
29  from TRT_RawDataByteStreamCnv.TRT_RawDataByteStreamCnvConfig import \
30  TRTRawDataProviderCfg
31  acc.merge(TRTRawDataProviderCfg(flags))
32 
33 
34 
35 
36  from LArByteStream.LArRawDataReadingConfig import LArRawDataReadingCfg
37  acc.merge (LArRawDataReadingCfg (flags))
38 
39  from TileByteStream.TileByteStreamConfig import \
40  TileDigitsContByteStreamToolCfg, TileMuRcvContByteStreamToolCfg, \
41  TileRawChannelContByteStreamToolCfg, TileL2ContByteStreamToolCfg
42  acc.merge (TileDigitsContByteStreamToolCfg (flags)[0])
43  acc.merge (TileMuRcvContByteStreamToolCfg (flags)[0])
44  acc.merge (TileRawChannelContByteStreamToolCfg (flags)[0])
45  acc.merge (TileL2ContByteStreamToolCfg (flags)[0])
46 
47  acc.merge (ByteStreamReadCfg (flags,
48  type_names=['TileDigitsContainer/TileDigitsCnt',
49  'TileDigitsContainer/MuRcvDigitsCnt',
50  'TileRawChannelContainer/TileRawChannelCnt',
51  'TileL2Container/TileL2Cnt',
52  'TileBeamElemContainer/TileBeamElemCnt',
53  ],
54  ))
55 
56 
57 
58 
59  from MuonConfig.MuonBytestreamDecodeConfig import MuonByteStreamDecodersCfg
60  acc.merge (MuonByteStreamDecodersCfg (flags))
61 
62 
63 
64 
65  from BCM_RawDataByteStreamCnv.BCM_RawDataByteStreamCnvConfig import \
66  BCM_RawDataProviderAlgCfg
67  acc.merge(BCM_RawDataProviderAlgCfg(flags))
68 
69  acc.addEventAlgo(CompFactory.ZdcByteStreamLucrodData())
70 
71  from ForwardRec.LucidRecConfig import LucidRecCfg
72  acc.merge (LucidRecCfg (flags))
73 
74  acc.addEventAlgo (CompFactory.AFP_RawDataProvider ())
75  acc.addEventAlgo (CompFactory.ALFA_RawDataProvider ())
76 
77 
78 
79 
80  from TriggerJobOpts.TriggerRecoConfig import TriggerRecoCfgData
81  acc.merge (TriggerRecoCfgData (flags))
82 
83 
84  return acc
python.TRT_RawDataByteStreamCnvConfig.TRTRawDataProviderCfg
def TRTRawDataProviderCfg(flags, name="TRTRawDataProvider", **kwargs)
Definition: TRT_RawDataByteStreamCnvConfig.py:39
python.SCT_RawDataByteStreamCnvConfig.SCTRawDataProviderCfg
def SCTRawDataProviderCfg(flags, prefix="InDet", suffix="", **kwargs)
Definition: SCT_RawDataByteStreamCnvConfig.py:30
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
PixelRawDataByteStreamCnvConfig.PixelRawDataProviderAlgCfg
def PixelRawDataProviderAlgCfg(flags, **kwargs)
Definition: PixelRawDataByteStreamCnvConfig.py:17
BCM_RawDataByteStreamCnvConfig.BCM_RawDataProviderAlgCfg
def BCM_RawDataProviderAlgCfg(flags)
Definition: BCM_RawDataByteStreamCnvConfig.py:7
python.BSReadConfig.BSReadCfg
def BSReadCfg(flags)
Definition: BSReadConfig.py:11