3from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4from AthenaConfiguration.ComponentFactory
import CompFactory
8 caloCellsMapKey: str =
'GepCells',
9 outputEratioDecorKey: str =
'Eratio',
11 acc = ComponentAccumulator()
13 alg = alg_type(name, **kwargs)
15 alg.SeedsKey = seedsKey
16 alg.gepCellMapKey = caloCellsMapKey
17 alg.OutputEratioDecorKey = outputEratioDecorKey
19 acc.addEventAlgo(alg, primary=
True)
25 seedsKey: str =
'L1_eEMRoI',
26 caloCellsMapKey=
'GepCells',
27 outputEratioDecorKey=
'Eratio',
29 return GepEratioAlgCfg(flags, CompFactory.GepEMEratioAlg, name, seedsKey, caloCellsMapKey, outputEratioDecorKey, **kwargs)
32 seedsKey: str =
'L1_eTauRoI',
33 caloCellsMapKey=
'GepCells',
34 outputEratioDecorKey=
'Eratio',
36 return GepEratioAlgCfg(flags, CompFactory.GepTauEratioAlg, name, seedsKey, caloCellsMapKey, outputEratioDecorKey, **kwargs)
GepTauEratioAlgCfg(flags, str name, str seedsKey='L1_eTauRoI', caloCellsMapKey='GepCells', outputEratioDecorKey='Eratio', **kwargs)
GepEratioAlgCfg(flags, alg_type, str name, str seedsKey, str caloCellsMapKey='GepCells', str outputEratioDecorKey='Eratio', **kwargs)
GepEMEratioAlgCfg(flags, str name, str seedsKey='L1_eEMRoI', caloCellsMapKey='GepCells', outputEratioDecorKey='Eratio', **kwargs)