21 sgkey = D3PDMakerFlags.ElectronSGKey,
22 typeName =
'ElectronContainer',
25 """Configure egammaMaxECellAlg for D3PD making.
27 FLAGS are the configuration flags.
29 PREFIX is a prefix to add to the name of the algorithm scheduled.
31 SGKEY/TYPENAME is the StoreGate key of the input electron container
32 and the name of its type.
34 If ALLOWMISSING is true, don't fail if the SG key doesn't exist.
39 if (
not D3PDMakerFlags.MakeEgammaUserData
or
40 D3PDMakerFlags.HaveEgammaUserData):
44 resolved_sgkey = resolveSGKey (flags, sgkey)
45 auxprefix = (D3PDMakerFlags.EgammaUserDataPrefix +
'_' +
48 algName =
'egammaMaxECellAlg' + resolved_sgkey
53 (prefix +
'egammaMaxECellAlgGetter',
56 AllowMissing = allowMissing,
57 AuxPrefix = auxprefix,)
59 acc.addEventAlgo (myAlg)