30 mlog = logging.getLogger(name)
31 mlog.info(
'Starting input building for neutral eflow isolation density configuration')
35 from JetRecConfig.StandardJetConstits
import stdConstitDic
as cst
36 from JetRecConfig.JetRecConfig
import JetInputCfg
39 if 'InputType' not in kwargs:
40 kwargs[
'InputType'] =
'EMPFlow'
41 cstI = cst[kwargs[
'InputType']]
44 cstO = cstI.containername[0:cstI.containername.find(
'ParticleFlowObjects')]
45 mlog.info(
'Configuring density for type '+cstO)
46 cstOs = cstO
if cstO !=
'CHS' else ''
49 constitpjalg = CompFactory.PseudoJetAlgorithm(
50 name =
"PseudoJetAlgForIso"+cstOs+
"NFlow",
51 InputContainer = cstO+
"NeutralParticleFlowObjects",
52 OutputContainer =
"PseudoJet"+cstOs+
"NFlow",
53 Label =
"EM"+cstOs+
"NPFlow",
54 SkipNegativeEnergy=
True)
57 acc.addEventAlgo(constitpjalg)