19 kwargs.setdefault(
"folder", flags.Egamma.Calib.MVAVersion)
21 if "ElectronTool" not in kwargs:
22 kwargs[
"ElectronTool"] = acc.popToolsAndMerge(
25 name=
"electronMVATool",
26 ParticleType=xAOD.EgammaParameters.electron,
27 folder=kwargs[
'folder'])
30 if "UnconvertedPhotonTool" not in kwargs:
31 kwargs[
"UnconvertedPhotonTool"] = acc.popToolsAndMerge(
34 name=
"unconvertedPhotonMVATool",
35 ParticleType=xAOD.EgammaParameters.unconvertedPhoton,
36 folder=kwargs[
'folder'])
39 if "ConvertedPhotonTool" not in kwargs:
40 kwargs[
"ConvertedPhotonTool"] = acc.popToolsAndMerge(
43 name=
"convertedPhotonMVATool",
44 ParticleType=xAOD.EgammaParameters.convertedPhoton,
45 folder=kwargs[
'folder'])
49 CompFactory.egammaMVASvc(
51 **kwargs), primary=
True)