ATLAS Offline Software
Loading...
Searching...
No Matches
LArCellMuxAlgCfg.py
Go to the documentation of this file.
1# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentFactory import CompFactory
4from 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