62 mlog = logging.getLogger(name)
63 mlog.info(
'Starting LRT electron calo Isolation steering')
68 from IsolationAlgs.IsoDensityConfig
import (
69 NFlowInputAlgCfg, DensityForIsoAlgCfg)
76 the_pflowElementsTool = CompFactory.xAOD.FlowElementsInConeTool(
77 name=
'FlowElementsInConeTool')
79 from IsolationAlgs.IsoToolsConfig
import EGammaCaloIsolationToolCfg
81 FlowElementsInConeTool = the_pflowElementsTool))
84 from xAODPrimitives.xAODIso
import xAODIso
as isoPar
85 isoType = [ [ isoPar.topoetcone20, isoPar.topoetcone30, isoPar.topoetcone40 ],
86 [ isoPar.neflowisol20, isoPar.neflowisol30, isoPar.neflowisol40 ] ]
87 isoCor = [ [ isoPar.core57cells, isoPar.ptCorrection, isoPar.pileupCorrection ],
88 [ isoPar.coreCone, isoPar.pileupCorrection ] ]
89 isoExCor = [ [ ], [ isoPar.coreConeSC ] ]
91 acc.addEventAlgo(CompFactory.IsolationBuilder(**kwargs,
92 name =
'LRTElectronCaloIsolationBuilder',
93 ElectronCollectionContainerName =
'LRT'+flags.Egamma.Keys.Output.Electrons,
96 ElCorTypesExtra = isoExCor,
97 CaloTopoIsolationTool = cisoTool,
98 PFlowIsolationTool = cisoTool))
100 mlog.info(
"LRTElectron calo isolation configured")