3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
8 kwargs.setdefault(
"decorrelationModel",
"1NP_v1" )
9 kwargs.setdefault(
"useFastSim", flags.Input.isMC
and not flags.Sim.ISF.Simulator.isFullSim() )
10 kwargs.setdefault(
"ESModel",
"es2018_R21_v1")
11 the_tool = CompFactory.CP.EgammaCalibrationAndSmearingTool(name, **kwargs)
12 acc.setPrivateTools(the_tool)
18 the_alg = CompFactory.CP.CalibratedEgammaProvider(name, **kwargs)
19 acc.addEventAlgo(the_alg, primary =
True)