as per https://acode-browser1.usatlas.bnl.gov/lxr/source/athena/Reconstruction/egamma/egammaTools/python/egammaToolsFactories.py?v=21.0#0103