19 if "folder" not in kwargs:
20 folder = flags.Egamma.Calib.MVAVersion
24 folder = kwargs.pop(
"folder")
26 if "ElectronTool" not in kwargs:
27 kwargs[
"ElectronTool"] = acc.popToolsAndMerge(
30 name=
"electronMVATool",
31 ParticleType=xAOD.EgammaParameters.electron,
35 if "UnconvertedPhotonTool" not in kwargs:
36 kwargs[
"UnconvertedPhotonTool"] = acc.popToolsAndMerge(
39 name=
"unconvertedPhotonMVATool",
40 ParticleType=xAOD.EgammaParameters.unconvertedPhoton,
44 if "ConvertedPhotonTool" not in kwargs:
45 kwargs[
"ConvertedPhotonTool"] = acc.popToolsAndMerge(
48 name=
"convertedPhotonMVATool",
49 ParticleType=xAOD.EgammaParameters.convertedPhoton,
54 CompFactory.egammaMVASvc(
56 **kwargs), primary=
True)