ATLAS Offline Software
LArCellPreparationAlgCfg.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='LArCellPreparationAlg',
9  NumberOfEnergyBits = 6,
10  ValueLeastSignificantBit = 40,
11  ValueGainFactor = 4,
12  gblLArCellsKey = "GlobalLArCells",
13  OutputLevel=None):
14 
15  cfg = ComponentAccumulator()
16 
17  alg = CompFactory.GlobalSim.LArCellPreparationAlg(name)
18 
19  if OutputLevel is not None:
20  alg.OutputLevel = OutputLevel
21 
22  alg.numberOfEnergyBits = NumberOfEnergyBits
23  alg.valueLeastSignificantBit = ValueLeastSignificantBit
24  alg.valueGainFactor = ValueGainFactor
25  alg.GlobalLArCellsKey = gblLArCellsKey
26  cfg.addEventAlgo(alg)
27 
28  return cfg
29 
LArCellPreparationAlgCfg.LArCellPreparationAlgCfg
def LArCellPreparationAlgCfg(flags, name='LArCellPreparationAlg', NumberOfEnergyBits=6, ValueLeastSignificantBit=40, ValueGainFactor=4, gblLArCellsKey="GlobalLArCells", OutputLevel=None)
Definition: LArCellPreparationAlgCfg.py:6
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302