ATLAS Offline Software
Loading...
Searching...
No Matches
FCalDigitModifierToolConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4from AthenaConfiguration.ComponentFactory import CompFactory
5
6
7def FCalDigitModifierToolCfg(flags, name="FCalDigitModifierTool", **kwargs):
8 """Private tool modelling FCal signal degradation, to be given to LArHitEMapToDigitAlg."""
9 acc = ComponentAccumulator()
10 kwargs.setdefault("ScaleFactor", 1.05)
11 acc.setPrivateTools(CompFactory.FCalDigitModifierTool(name, **kwargs))
12 return acc
FCalDigitModifierToolCfg(flags, name="FCalDigitModifierTool", **kwargs)