15 process.load(
'CommonTools.PileupAlgos.Puppi_cff')
16 task.add(process.puppi)
17 process.puppi.candName =
'packedPFCandidates' 18 process.puppi.clonePackedCands =
True 19 process.puppi.vertexName =
'offlineSlimmedPrimaryVertices' 20 process.puppi.useExistingWeights =
True 21 task.add(process.puppiNoLep)
22 process.puppiNoLep.candName =
'packedPFCandidates' 23 process.puppiNoLep.clonePackedCands =
True 24 process.puppiNoLep.vertexName =
'offlineSlimmedPrimaryVertices' 25 process.puppiNoLep.useExistingWeights =
True 28 if createScheduledSequence:
29 puppiMETTask = cms.Task(process.puppi, process.puppiNoLep)
30 setattr(process,
"puppiMETTask", puppiMETTask)
31 puppiMETSequence = cms.Sequence(puppiMETTask)
32 setattr(process,
"puppiMETSequence", puppiMETSequence)
33 def getPatAlgosToolsTask(process)