ATLAS Offline Software
Loading...
Searching...
No Matches
python.egammaMaxECellAlgConfig Namespace Reference

Functions

 egammaMaxECellAlgCfg (flags, prefix='', sgkey=D3PDMakerFlags.ElectronSGKey, typeName='ElectronContainer', allowMissing=False)

Variables

 D3PD = CompFactory.D3PD

Function Documentation

◆ egammaMaxECellAlgCfg()

python.egammaMaxECellAlgConfig.egammaMaxECellAlgCfg ( flags,
prefix = '',
sgkey = D3PDMakerFlags.ElectronSGKey,
typeName = 'ElectronContainer',
allowMissing = False )
Configure egammaMaxECellAlg for D3PD making.

FLAGS are the configuration flags.

PREFIX is a prefix to add to the name of the algorithm scheduled.

SGKEY/TYPENAME is the StoreGate key of the input electron container
and the name of its type.

If ALLOWMISSING is true, don't fail if the SG key doesn't exist.

Definition at line 18 of file egammaMaxECellAlgConfig.py.

24 ):
25 """Configure egammaMaxECellAlg for D3PD making.
26
27 FLAGS are the configuration flags.
28
29 PREFIX is a prefix to add to the name of the algorithm scheduled.
30
31 SGKEY/TYPENAME is the StoreGate key of the input electron container
32 and the name of its type.
33
34 If ALLOWMISSING is true, don't fail if the SG key doesn't exist.
35 """
36
37 acc = ComponentAccumulator()
38
39 if (not D3PDMakerFlags.MakeEgammaUserData or
40 D3PDMakerFlags.HaveEgammaUserData):
41 return acc
42
44 resolved_sgkey = resolveSGKey (flags, sgkey)
45 auxprefix = (D3PDMakerFlags.EgammaUserDataPrefix + '_' +
46 resolved_sgkey + '_')
47
48 algName = 'egammaMaxECellAlg' + resolved_sgkey
49
51 (algName,
52 Getter = DVGetter
53 (prefix + 'egammaMaxECellAlgGetter',
54 TypeName = typeName,
55 SGKey = sgkey),
56 AllowMissing = allowMissing,
57 AuxPrefix = auxprefix,)
58
59 acc.addEventAlgo (myAlg)
60
61 return acc
62
Getter tool to retrieve DataVector/List collections from StoreGate.
Find most energetic cell in the middle layer for an egamma object and store in UserData.

Variable Documentation

◆ D3PD

python.egammaMaxECellAlgConfig.D3PD = CompFactory.D3PD

Definition at line 15 of file egammaMaxECellAlgConfig.py.