9 process.load(
'CommonTools.PileupAlgos.Puppi_cff')
11 process.pfNoLepPUPPI = cms.EDFilter(
"PdgIdCandViewSelector",
12 src = cms.InputTag(
"particleFlow"),
13 pdgId = cms.vint32( 1,2,22,111,130,310,2112,211,-211,321,-321,999211,2212,-2212 )
15 process.pfLeptonsPUPPET = cms.EDFilter(
"PdgIdCandViewSelector",
16 src = cms.InputTag(
"particleFlow"),
17 pdgId = cms.vint32(-11,11,-13,13),
20 process.puppiNoLep = process.puppi.clone()
21 process.puppiNoLep.candName = cms.InputTag(
'pfNoLepPUPPI')
22 process.puppiMerged = cms.EDProducer(
"CandViewMerger",src = cms.VInputTag(
'puppiNoLep',
'pfLeptonsPUPPET'))
23 process.load(
'CommonTools.PileupAlgos.PhotonPuppi_cff')
24 process.puppiForMET = process.puppiPhoton.clone()
26 process.puppiForMET.useRefs =
False
28 process.puppiForMET.puppiCandName =
'puppiMerged'