ATLAS Offline Software
LArCellMuxAlgCfg.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaConfiguration.ComponentFactory import CompFactory
4 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
5 
7  flags,
8  name='LArCellMuxAlg',
9  gblLArCellsKey = "GlobalLArCells",
10  writeMuxInputBitstreamToFile = True,
11  writeMuxOutputBitstreamToFile = True,
12  OutputLevel=None):
13 
14  cfg = ComponentAccumulator()
15 
16  alg = CompFactory.GlobalSim.LArCellMuxAlg(name)
17 
18  if OutputLevel is not None:
19  alg.OutputLevel = OutputLevel
20 
21  alg.GlobalLArCellsKey = gblLArCellsKey
22  alg.WriteMuxInputBitstreamToFile = writeMuxInputBitstreamToFile
23  alg.WriteMuxOutputBitstreamToFile = writeMuxOutputBitstreamToFile
24  cfg.addEventAlgo(alg)
25 
26  return cfg
27 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
LArCellMuxAlgCfg.LArCellMuxAlgCfg
def LArCellMuxAlgCfg(flags, name='LArCellMuxAlg', gblLArCellsKey="GlobalLArCells", writeMuxInputBitstreamToFile=True, writeMuxOutputBitstreamToFile=True, OutputLevel=None)
Definition: LArCellMuxAlgCfg.py:6