|
ATLAS Offline Software
|
|
def | MdtRDO_DecoderCfg (flags, name="Muon::MdtRDO_Decoder", **kwargs) |
|
def | MdtRdoToMdtDigitCfg (flags, name="MdtRdoToMdtDigitAlg", **kwargs) |
|
def | RpcRdoToRpcDigitCfg (flags, name="RpcRdoToRpcDigitAlg", **kwargs) |
|
def | TgcRdoToTgcDigitCfg (flags, name="TgcRdoToTgcDigitAlg", **kwargs) |
|
def | STGC_RdoToDigitCfg (flags, name="STGC_RdoToDigitAlg", **kwargs) |
|
def | MM_RdoToDigitCfg (flags, name="MM_RdoToDigitAlg", **kwargs) |
|
def | MdtDigitToMdtRDOCfg (flags, name="MdtDigitToMdtRDO", **kwargs) |
|
def | RpcDigitToRpcRDOCfg (flags, name="RpcDigitToRpcRDO", **kwargs) |
|
def | NrpcDigitToNrpcRDOCfg (flags, name="NrpcDigitToNrpcRDO", **kwargs) |
|
def | TgcDigitToTgcRDOCfg (flags, name="TgcDigitToTgcRDO", **kwargs) |
|
def | CscDigitToCscRDOToolCfg (flags, name="CscDigitToCscRDOTool", **kwargs) |
|
def | CscDigitToCscRDOCfg (flags, name="CscDigitToCscRDO", **kwargs) |
|
def | STGC_DigitToRDOCfg (flags, name="STGC_DigitToRDO", **kwargs) |
|
def | MM_DigitToRDOCfg (flags, name="MM_DigitToRDO", **kwargs) |
|
def | SigMdtDigitToMdtRDOCfg (flags, name="SigMdtDigitToMdtRDO", **kwargs) |
|
def | SigRpcDigitToRpcRDOCfg (flags, name="SigRpcDigitToRpcRDO", **kwargs) |
|
def | SigTgcDigitToTgcRDOCfg (flags, name="SigTgcDigitToTgcRDO", **kwargs) |
|
def | STgcRdoDecoderCfg (flags, name="STGC_RDO_Decoder", **kwargs) |
|
def | MMRdoDecoderCfg (flags, name="MM_RDO_Decoder", **kwargs) |
|
def | MdtRdoDecoderCfg (flags, name="MDT_RDO_Decoder", **kwargs) |
|
Define ComponentAccumulator functions for configuration of muon data conversions
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
◆ CscDigitToCscRDOCfg()
def python.MuonByteStreamCnvTestConfig.CscDigitToCscRDOCfg |
( |
|
flags, |
|
|
|
name = "CscDigitToCscRDO" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with configured CscDigitToCscRDO algorithm
Definition at line 236 of file MuonByteStreamCnvTestConfig.py.
237 """Return ComponentAccumulator with configured CscDigitToCscRDO algorithm"""
242 if flags.Concurrency.NumThreads > 0:
243 kwargs.setdefault(
"Cardinality", flags.Concurrency.NumThreads)
245 acc.addEventAlgo(CompFactory.CscDigitToCscRDO(name, **kwargs))
◆ CscDigitToCscRDOToolCfg()
def python.MuonByteStreamCnvTestConfig.CscDigitToCscRDOToolCfg |
( |
|
flags, |
|
|
|
name = "CscDigitToCscRDOTool" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with configured CscDigitToCscRDOTool
Definition at line 211 of file MuonByteStreamCnvTestConfig.py.
212 """Return ComponentAccumulator with configured CscDigitToCscRDOTool"""
215 kwargs.setdefault(
"MuonIdHelperSvc", acc.getPrimaryAndMerge(
MuonIdHelperSvcCfg(flags)))
216 from MuonConfig.MuonCalibrationConfig
import CscCalibToolCfg
217 kwargs.setdefault(
"cscCalibTool", acc.popToolsAndMerge(
CscCalibToolCfg(flags)))
218 kwargs.setdefault(
"NumSamples", 4)
219 kwargs.setdefault(
"Latency", 0)
220 kwargs.setdefault(
"addNoise",
not flags.Common.isOverlay)
222 if flags.Common.isOverlay:
223 kwargs.setdefault(
"InputObjectName", f
"{flags.Overlay.SigPrefix}CSC_DIGITS")
224 kwargs.setdefault(
"OutputObjectName", f
"{flags.Overlay.SigPrefix}CSCRDO")
225 elif flags.Common.ProductionStep == ProductionStep.PileUpPresampling:
226 kwargs.setdefault(
"OutputObjectName", f
"{flags.Overlay.BkgPrefix}CSCRDO")
228 kwargs.setdefault(
"OutputObjectName",
"CSCRDO")
230 from RngComps.RngCompsConfig
import AthRNGSvcCfg
231 kwargs.setdefault(
"RndmSvc", acc.getPrimaryAndMerge(
AthRNGSvcCfg(flags)).name)
232 acc.setPrivateTools(CompFactory.CscDigitToCscRDOTool(
"CscDigitToCscRDOTool", **kwargs))
◆ MdtDigitToMdtRDOCfg()
def python.MuonByteStreamCnvTestConfig.MdtDigitToMdtRDOCfg |
( |
|
flags, |
|
|
|
name = "MdtDigitToMdtRDO" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with configured MdtDigitToMdtRDO algorithm
Definition at line 143 of file MuonByteStreamCnvTestConfig.py.
144 """Return ComponentAccumulator with configured MdtDigitToMdtRDO algorithm"""
146 kwargs.setdefault(
"MuonIdHelperSvc", acc.getPrimaryAndMerge(
MuonIdHelperSvcCfg(flags)))
147 if flags.Common.ProductionStep == ProductionStep.PileUpPresampling:
148 kwargs.setdefault(
"OutputObjectName", f
"{flags.Overlay.BkgPrefix}MDTCSM")
150 kwargs.setdefault(
"OutputObjectName",
"MDTCSM")
152 acc.addEventAlgo(CompFactory.MdtDigitToMdtRDO(name, **kwargs))
◆ MdtRDO_DecoderCfg()
def python.MuonByteStreamCnvTestConfig.MdtRDO_DecoderCfg |
( |
|
flags, |
|
|
|
name = "Muon::MdtRDO_Decoder" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 12 of file MuonByteStreamCnvTestConfig.py.
14 kwargs.setdefault(
"MuonIdHelperSvc", acc.getService(
"MuonIdHelperSvc"))
15 acc.setPrivateTools(CompFactory.Muon.MdtRDO_Decoder(name, **kwargs))
◆ MdtRdoDecoderCfg()
def python.MuonByteStreamCnvTestConfig.MdtRdoDecoderCfg |
( |
|
flags, |
|
|
|
name = "MDT_RDO_Decoder" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 328 of file MuonByteStreamCnvTestConfig.py.
330 from MuonConfig.MuonCablingConfig
import MDTCablingConfigCfg
332 the_tool = CompFactory.Muon.MdtRDO_Decoder(name, **kwargs)
333 result.setPrivateTools(the_tool)
◆ MdtRdoToMdtDigitCfg()
def python.MuonByteStreamCnvTestConfig.MdtRdoToMdtDigitCfg |
( |
|
flags, |
|
|
|
name = "MdtRdoToMdtDigitAlg" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with configured MdtRdoToMdtDigit algorithm
Definition at line 20 of file MuonByteStreamCnvTestConfig.py.
21 """Return ComponentAccumulator with configured MdtRdoToMdtDigit algorithm"""
23 kwargs.setdefault(
"mdtRdoDecoderTool", acc.popToolsAndMerge(
MdtRDO_DecoderCfg(flags)))
24 if flags.Common.isOverlay:
25 kwargs.setdefault(
"MdtRdoContainer", f
"{flags.Overlay.BkgPrefix}MDTCSM")
26 kwargs.setdefault(
"MdtDigitContainer", f
"{flags.Overlay.BkgPrefix}MDT_DIGITS")
28 kwargs.setdefault(
"MdtRdoContainer",
"MDTCSM")
29 kwargs.setdefault(
"MdtDigitContainer",
"MDT_DIGITS")
31 if flags.Common.isOverlay
and not flags.Overlay.DataOverlay:
32 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
33 acc.merge(
SGInputLoaderCfg(flags, [f
'MdtCsmContainer#{kwargs["MdtRdoContainer"]}']))
35 acc.addEventAlgo(CompFactory.MdtRdoToMdtDigit(name, **kwargs))
◆ MM_DigitToRDOCfg()
def python.MuonByteStreamCnvTestConfig.MM_DigitToRDOCfg |
( |
|
flags, |
|
|
|
name = "MM_DigitToRDO" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with configured MM_DigitToRDO algorithm
Definition at line 266 of file MuonByteStreamCnvTestConfig.py.
267 """Return ComponentAccumulator with configured MM_DigitToRDO algorithm"""
269 kwargs.setdefault(
"MuonIdHelperSvc", acc.getPrimaryAndMerge(
MuonIdHelperSvcCfg(flags)))
271 if flags.Common.ProductionStep == ProductionStep.PileUpPresampling:
272 kwargs.setdefault(
"OutputObjectName", f
"{flags.Overlay.BkgPrefix}MMRDO")
274 kwargs.setdefault(
"OutputObjectName",
"MMRDO")
276 from MuonConfig.MuonCalibrationConfig
import NSWCalibToolCfg
277 kwargs.setdefault(
"CalibrationTool", acc.popToolsAndMerge(
NSWCalibToolCfg(flags)))
278 the_alg = CompFactory.MM_DigitToRDO(name, **kwargs)
279 acc.addEventAlgo(the_alg)
◆ MM_RdoToDigitCfg()
def python.MuonByteStreamCnvTestConfig.MM_RdoToDigitCfg |
( |
|
flags, |
|
|
|
name = "MM_RdoToDigitAlg" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with configured MM_RdoToDigit algorithm
Definition at line 123 of file MuonByteStreamCnvTestConfig.py.
124 """Return ComponentAccumulator with configured MM_RdoToDigit algorithm"""
126 if flags.Common.isOverlay:
127 kwargs.setdefault(
"MmRdoContainer", f
"{flags.Overlay.BkgPrefix}MMRDO")
128 kwargs.setdefault(
"MmDigitContainer", f
"{flags.Overlay.BkgPrefix}MM_DIGITS")
130 kwargs.setdefault(
"MmRdoContainer",
"MMRDO")
131 kwargs.setdefault(
"MmDigitContainer",
"MM_DIGITS")
133 kwargs.setdefault(
"mmRdoDecoderTool", acc.popToolsAndMerge(
MMRdoDecoderCfg(flags)))
135 if flags.Common.isOverlay
and not flags.Overlay.DataOverlay:
136 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
137 acc.merge(
SGInputLoaderCfg(flags, [f
'Muon::MM_RawDataContainer#{kwargs["MmRdoContainer"]}']))
139 acc.addEventAlgo(CompFactory.MM_RdoToDigit(name, **kwargs))
◆ MMRdoDecoderCfg()
def python.MuonByteStreamCnvTestConfig.MMRdoDecoderCfg |
( |
|
flags, |
|
|
|
name = "MM_RDO_Decoder" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 320 of file MuonByteStreamCnvTestConfig.py.
322 from MuonConfig.MuonCalibrationConfig
import NSWCalibToolCfg
323 kwargs.setdefault(
"CalibrationTool", result.popToolsAndMerge(
NSWCalibToolCfg(flags)))
324 the_tool = CompFactory.Muon.MM_RDO_Decoder(name, **kwargs)
325 result.setPrivateTools(the_tool)
◆ NrpcDigitToNrpcRDOCfg()
def python.MuonByteStreamCnvTestConfig.NrpcDigitToNrpcRDOCfg |
( |
|
flags, |
|
|
|
name = "NrpcDigitToNrpcRDO" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with configured NrpcDigitToNrpcRDO algorithm
Definition at line 177 of file MuonByteStreamCnvTestConfig.py.
178 """Return ComponentAccumulator with configured NrpcDigitToNrpcRDO algorithm"""
180 kwargs.setdefault(
"MuonIdHelperSvc", acc.getPrimaryAndMerge(
MuonIdHelperSvcCfg(flags)))
182 from MuonConfig.MuonCablingConfig
import NRPCCablingConfigCfg
185 if flags.Muon.usePhaseIIGeoSetup:
186 kwargs.setdefault(
"ConvertHitsFromStations", [])
188 if flags.Common.ProductionStep == ProductionStep.PileUpPresampling:
189 kwargs.setdefault(
"NrpcRdoKey", flags.Overlay.BkgPrefix +
"NRPCRDO")
191 kwargs.setdefault(
"NrpcRdoKey",
"NRPCRDO")
193 acc.addEventAlgo(CompFactory.NrpcDigitToNrpcRDO(name, **kwargs))
◆ RpcDigitToRpcRDOCfg()
def python.MuonByteStreamCnvTestConfig.RpcDigitToRpcRDOCfg |
( |
|
flags, |
|
|
|
name = "RpcDigitToRpcRDO" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with configured RpcDigitToRpcRDO algorithm
Definition at line 156 of file MuonByteStreamCnvTestConfig.py.
157 """Return ComponentAccumulator with configured RpcDigitToRpcRDO algorithm"""
159 from MuonConfig.MuonCondAlgConfig
import RpcCondDbAlgCfg
161 from MuonConfig.MuonCablingConfig
import RPCCablingConfigCfg
163 kwargs.setdefault(
"MuonIdHelperSvc", acc.getPrimaryAndMerge(
MuonIdHelperSvcCfg(flags)))
165 if flags.Common.ProductionStep == ProductionStep.PileUpPresampling:
166 kwargs.setdefault(
"OutputObjectName", flags.Overlay.BkgPrefix +
"RPCPAD")
168 kwargs.setdefault(
"OutputObjectName",
"RPCPAD")
170 kwargs.setdefault(
"NOBXS", flags.Trigger.L1MuonSim.RPCNBX)
171 kwargs.setdefault(
"BCZERO", flags.Trigger.L1MuonSim.RPCNBCZ)
173 acc.addEventAlgo(CompFactory.RpcDigitToRpcRDO(name, **kwargs))
◆ RpcRdoToRpcDigitCfg()
def python.MuonByteStreamCnvTestConfig.RpcRdoToRpcDigitCfg |
( |
|
flags, |
|
|
|
name = "RpcRdoToRpcDigitAlg" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with configured RpcRdoToRpcDigit algorithm
Definition at line 39 of file MuonByteStreamCnvTestConfig.py.
40 """Return ComponentAccumulator with configured RpcRdoToRpcDigit algorithm"""
43 if flags.Common.isOverlay:
44 kwargs.setdefault(
"RpcRdoContainer", f
"{flags.Overlay.BkgPrefix}RPCPAD")
45 kwargs.setdefault(
"RpcDigitContainer", f
"{flags.Overlay.BkgPrefix}RPC_DIGITS")
46 kwargs.setdefault(
"NRpcRdoContainer", f
"{flags.Overlay.BkgPrefix}NRPCRDO")
48 kwargs.setdefault(
"RpcRdoContainer",
"RPCPAD")
49 kwargs.setdefault(
"RpcDigitContainer",
"RPC_DIGITS")
50 kwargs.setdefault(
"NRpcRdoContainer",
"NRPCRDO")
52 container = [x
for x
in flags.Input.TypedCollections \
53 if x ==
"RpcPadContainer#{cont_name}".
format(cont_name=kwargs[
"RpcRdoContainer"])
or \
54 x ==
"xAOD::NRPCRDOContainer#{cont_name}".
format(cont_name=kwargs[
"NRpcRdoContainer"])
or \
55 x ==
"xAOD::NRPCRDOAuxContainer#{cont_name}Aux.".
format(cont_name=kwargs[
"NRpcRdoContainer"]) ]
60 kwargs.setdefault(
"DecodeNrpcRDO", len(container) > 1 )
62 kwargs.setdefault(
"DecodeLegacyRDO", len(container) % 2
or \
64 if kwargs[
"DecodeNrpcRDO"]:
65 from MuonConfig.MuonCablingConfig
import NRPCCablingConfigCfg
67 if kwargs[
"DecodeLegacyRDO"]:
68 from MuonConfig.MuonCablingConfig
import RPCLegacyCablingConfigCfg
70 if flags.Common.isOverlay
and not flags.Overlay.DataOverlay:
71 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
75 rpcrdo_decode = CompFactory.Muon.RpcRDO_Decoder(
"RpcRDO_Decoder", BCZERO=flags.Trigger.L1MuonSim.RPCNBCZ)
76 kwargs.setdefault(
"rpcRdoDecoderTool", rpcrdo_decode)
78 result.addEventAlgo(CompFactory.RpcRdoToRpcDigit(name, **kwargs))
◆ SigMdtDigitToMdtRDOCfg()
def python.MuonByteStreamCnvTestConfig.SigMdtDigitToMdtRDOCfg |
( |
|
flags, |
|
|
|
name = "SigMdtDigitToMdtRDO" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with configured MdtDigitToMdtRDO algorithm
Definition at line 283 of file MuonByteStreamCnvTestConfig.py.
284 """Return ComponentAccumulator with configured MdtDigitToMdtRDO algorithm"""
286 kwargs.setdefault(
"MuonIdHelperSvc", acc.getPrimaryAndMerge(
MuonIdHelperSvcCfg(flags)))
287 kwargs.setdefault(
"InputObjectName", f
"{flags.Overlay.SigPrefix}MDT_DIGITS")
288 kwargs.setdefault(
"OutputObjectName", f
"{flags.Overlay.SigPrefix}MDTCSM")
289 acc.addEventAlgo(CompFactory.MdtDigitToMdtRDO(name, **kwargs))
◆ SigRpcDigitToRpcRDOCfg()
def python.MuonByteStreamCnvTestConfig.SigRpcDigitToRpcRDOCfg |
( |
|
flags, |
|
|
|
name = "SigRpcDigitToRpcRDO" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with configured RpcDigitToRpcRDO algorithm
Definition at line 293 of file MuonByteStreamCnvTestConfig.py.
294 """Return ComponentAccumulator with configured RpcDigitToRpcRDO algorithm"""
296 kwargs.setdefault(
"MuonIdHelperSvc", acc.getPrimaryAndMerge(
MuonIdHelperSvcCfg(flags)))
297 kwargs.setdefault(
"InputObjectName", f
"{flags.Overlay.SigPrefix}RPC_DIGITS")
298 kwargs.setdefault(
"OutputObjectName", f
"{flags.Overlay.SigPrefix}RPCPAD")
299 acc.addEventAlgo(CompFactory.RpcDigitToRpcRDO(name, **kwargs))
◆ SigTgcDigitToTgcRDOCfg()
def python.MuonByteStreamCnvTestConfig.SigTgcDigitToTgcRDOCfg |
( |
|
flags, |
|
|
|
name = "SigTgcDigitToTgcRDO" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with configured TgcDigitToTgcRDO algorithm
Definition at line 303 of file MuonByteStreamCnvTestConfig.py.
304 """Return ComponentAccumulator with configured TgcDigitToTgcRDO algorithm"""
306 kwargs.setdefault(
"MuonIdHelperSvc", acc.getPrimaryAndMerge(
MuonIdHelperSvcCfg(flags)))
307 kwargs.setdefault(
"InputObjectName", f
"{flags.Overlay.SigPrefix}TGC_DIGITS")
308 kwargs.setdefault(
"OutputObjectName", f
"{flags.Overlay.SigPrefix}TGCRDO")
309 acc.addEventAlgo(CompFactory.TgcDigitToTgcRDO(name, **kwargs))
◆ STGC_DigitToRDOCfg()
def python.MuonByteStreamCnvTestConfig.STGC_DigitToRDOCfg |
( |
|
flags, |
|
|
|
name = "STGC_DigitToRDO" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with configured STGC_DigitToRDO algorithm
Definition at line 249 of file MuonByteStreamCnvTestConfig.py.
250 """Return ComponentAccumulator with configured STGC_DigitToRDO algorithm"""
252 kwargs.setdefault(
"MuonIdHelperSvc", acc.getPrimaryAndMerge(
MuonIdHelperSvcCfg(flags)))
254 if flags.Common.ProductionStep == ProductionStep.PileUpPresampling:
255 kwargs.setdefault(
"OutputObjectName", f
"{flags.Overlay.BkgPrefix}sTGCRDO")
257 kwargs.setdefault(
"OutputObjectName",
"sTGCRDO")
259 from MuonConfig.MuonCalibrationConfig
import NSWCalibToolCfg
260 kwargs.setdefault(
"CalibrationTool", acc.popToolsAndMerge(
NSWCalibToolCfg(flags)))
261 the_alg = CompFactory.STGC_DigitToRDO(name, **kwargs)
262 acc.addEventAlgo(the_alg)
◆ STGC_RdoToDigitCfg()
def python.MuonByteStreamCnvTestConfig.STGC_RdoToDigitCfg |
( |
|
flags, |
|
|
|
name = "STGC_RdoToDigitAlg" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with configured STGC_RdoToDigit algorithm
Definition at line 103 of file MuonByteStreamCnvTestConfig.py.
104 """Return ComponentAccumulator with configured STGC_RdoToDigit algorithm"""
106 if flags.Common.isOverlay:
107 kwargs.setdefault(
"sTgcRdoContainer", f
"{flags.Overlay.BkgPrefix}sTGCRDO")
108 kwargs.setdefault(
"sTgcDigitContainer",f
"{flags.Overlay.BkgPrefix}sTGC_DIGITS")
110 kwargs.setdefault(
"sTgcRdoContainer",
"sTGCRDO")
111 kwargs.setdefault(
"sTgcDigitContainer",
"sTGC_DIGITS")
113 kwargs.setdefault(
"sTgcRdoDecoderTool", acc.popToolsAndMerge(
STgcRdoDecoderCfg(flags)))
115 if flags.Common.isOverlay
and not flags.Overlay.DataOverlay:
116 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
117 acc.merge(
SGInputLoaderCfg(flags, [f
'Muon::STGC_RawDataContainer#{kwargs["sTgcRdoContainer"]}']))
119 acc.addEventAlgo(CompFactory.STGC_RdoToDigit(name, **kwargs))
◆ STgcRdoDecoderCfg()
def python.MuonByteStreamCnvTestConfig.STgcRdoDecoderCfg |
( |
|
flags, |
|
|
|
name = "STGC_RDO_Decoder" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 312 of file MuonByteStreamCnvTestConfig.py.
314 from MuonConfig.MuonCalibrationConfig
import NSWCalibToolCfg
315 kwargs.setdefault(
"CalibrationTool", result.popToolsAndMerge(
NSWCalibToolCfg(flags)))
316 the_tool = CompFactory.Muon.STGC_RDO_Decoder(name, **kwargs)
317 result.setPrivateTools(the_tool)
◆ TgcDigitToTgcRDOCfg()
def python.MuonByteStreamCnvTestConfig.TgcDigitToTgcRDOCfg |
( |
|
flags, |
|
|
|
name = "TgcDigitToTgcRDO" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with configured TgcDigitToTgcRDO algorithm
Definition at line 197 of file MuonByteStreamCnvTestConfig.py.
198 """Return ComponentAccumulator with configured TgcDigitToTgcRDO algorithm"""
200 kwargs.setdefault(
"MuonIdHelperSvc", acc.getPrimaryAndMerge(
MuonIdHelperSvcCfg(flags)))
202 if flags.Common.ProductionStep == ProductionStep.PileUpPresampling:
203 kwargs.setdefault(
"OutputObjectName", f
"{flags.Overlay.BkgPrefix}TGCRDO")
205 kwargs.setdefault(
"OutputObjectName",
"TGCRDO")
207 acc.addEventAlgo(CompFactory.TgcDigitToTgcRDO(name, **kwargs))
◆ TgcRdoToTgcDigitCfg()
def python.MuonByteStreamCnvTestConfig.TgcRdoToTgcDigitCfg |
( |
|
flags, |
|
|
|
name = "TgcRdoToTgcDigitAlg" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with configured TgcRdoToTgcDigit algorithm
Definition at line 82 of file MuonByteStreamCnvTestConfig.py.
83 """Return ComponentAccumulator with configured TgcRdoToTgcDigit algorithm"""
85 from MuonConfig.MuonCablingConfig
import TGCCablingConfigCfg
88 if flags.Common.isOverlay:
89 kwargs.setdefault(
"TgcRdoContainer", f
"{flags.Overlay.BkgPrefix}TGCRDO")
90 kwargs.setdefault(
"TgcDigitContainer",f
"{flags.Overlay.BkgPrefix}TGC_DIGITS")
92 kwargs.setdefault(
"TgcRdoContainer",
"TGCRDO")
93 kwargs.setdefault(
"TgcDigitContainer",
"TGC_DIGITS")
95 if flags.Common.isOverlay
and not flags.Overlay.DataOverlay:
96 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
97 acc.merge(
SGInputLoaderCfg(flags, [f
'TgcRdoContainer#{kwargs["TgcRdoContainer"]}']))
99 acc.addEventAlgo(CompFactory.TgcRdoToTgcDigit(name, **kwargs))
def MM_DigitToRDOCfg(flags, name="MM_DigitToRDO", **kwargs)
def CscCalibToolCfg(flags, name="CscCalibTool", **kwargs)
CSC calibration.
def MdtRdoToMdtDigitCfg(flags, name="MdtRdoToMdtDigitAlg", **kwargs)
def RpcCondDbAlgCfg(flags, **kwargs)
def TGCCablingConfigCfg(flags)
def RpcDigitToRpcRDOCfg(flags, name="RpcDigitToRpcRDO", **kwargs)
def MMRdoDecoderCfg(flags, name="MM_RDO_Decoder", **kwargs)
def MDTCablingConfigCfg(flags, name="MuonMDT_CablingAlg", **kwargs)
def SigMdtDigitToMdtRDOCfg(flags, name="SigMdtDigitToMdtRDO", **kwargs)
def MdtRDO_DecoderCfg(flags, name="Muon::MdtRDO_Decoder", **kwargs)
def CscDigitToCscRDOToolCfg(flags, name="CscDigitToCscRDOTool", **kwargs)
def MuonIdHelperSvcCfg(flags)
def NSWCalibToolCfg(flags, name="NSWCalibTool", **kwargs)
def STGC_DigitToRDOCfg(flags, name="STGC_DigitToRDO", **kwargs)
def NRPCCablingConfigCfg(flags, name="MuonNRPC_CablingAlg", **kwargs)
def RpcRdoToRpcDigitCfg(flags, name="RpcRdoToRpcDigitAlg", **kwargs)
def SigTgcDigitToTgcRDOCfg(flags, name="SigTgcDigitToTgcRDO", **kwargs)
def TgcRdoToTgcDigitCfg(flags, name="TgcRdoToTgcDigitAlg", **kwargs)
def STGC_RdoToDigitCfg(flags, name="STGC_RdoToDigitAlg", **kwargs)
def NrpcDigitToNrpcRDOCfg(flags, name="NrpcDigitToNrpcRDO", **kwargs)
def SigRpcDigitToRpcRDOCfg(flags, name="SigRpcDigitToRpcRDO", **kwargs)
def MdtDigitToMdtRDOCfg(flags, name="MdtDigitToMdtRDO", **kwargs)
def RPCCablingConfigCfg(flags)
def TgcDigitToTgcRDOCfg(flags, name="TgcDigitToTgcRDO", **kwargs)
def CscDigitToCscRDOCfg(flags, name="CscDigitToCscRDO", **kwargs)
def MdtRdoDecoderCfg(flags, name="MDT_RDO_Decoder", **kwargs)
def RPCLegacyCablingConfigCfg(flags)
def STgcRdoDecoderCfg(flags, name="STGC_RDO_Decoder", **kwargs)
def MM_RdoToDigitCfg(flags, name="MM_RdoToDigitAlg", **kwargs)
def AthRNGSvcCfg(flags, name="AthRNGSvc")