5 Modifies the PF2PAT sequence according to the recipe of JetMET:
9 getattr(process,
"pfNoPileUp"+postfix).enable =
True
10 getattr(process,
"pfPileUp"+postfix).Enable =
True
11 getattr(process,
"pfPileUp"+postfix).checkClosestZVertex =
False
12 getattr(process,
"pfPileUp"+postfix).Vertices =
'goodOfflinePrimaryVertices'
14 getattr(process,
"pfJets"+postfix).doAreaFastjet =
True
15 getattr(process,
"pfJets"+postfix).doRhoFastjet =
False
18 process.load(
'CommonTools.ParticleFlow.goodOfflinePrimaryVertices_cfi')
19 getattr(process,
'pfNoPileUpSequence'+postfix).
replace( getattr(process,
"pfPileUp"+postfix),
20 process.goodOfflinePrimaryVertices +
21 getattr(process,
"pfPileUp"+postfix) )
26 jetCorrFactors = getattr(process,
"patJetCorrFactors"+postfix)
28 jetCorrFactors.rho = cms.InputTag(
"kt6PFJets",
"rho")
33 Enables the pile-up correction for jets in a PF2PAT+PAT sequence
34 to be called after the usePF2PAT function.
def enablePileUpCorrection
def enablePileUpCorrectionInPAT
def enablePileUpCorrectionInPF2PAT