3 pfNoPUMEtSequence = cms.Sequence()
6 calibratedAK4PFJetsForPFNoPUMEt = cms.EDProducer(
'PFJetCorrectionProducer',
7 src = cms.InputTag(
'ak4PFJets'),
8 correctors = cms.vstring(
'ak4PFL1FastL2L3')
10 ak4PFJetSequenceForPFNoPUMEt = cms.Sequence(calibratedAK4PFJetsForPFNoPUMEt)
11 pfNoPUMEtSequence += ak4PFJetSequenceForPFNoPUMEt
13 from RecoJets.JetProducers.pileupjetidproducer_cfi
import pileupJetIdEvaluator
15 puJetIdForPFNoPUMEt = pileupJetIdEvaluator.clone(
22 produceJetIds = cms.bool(
True),
23 runMvas = cms.bool(
True),
24 jets = cms.InputTag(
"calibratedAK4PFJetsForPFNoPUMEt"),
25 applyJec = cms.bool(
False),
26 inputIsCorrected = cms.bool(
True),
28 pfNoPUMEtSequence += puJetIdForPFNoPUMEt
31 pfNoPUMEtSequence += type0PFMEtCorrection
32 pfCandidateToVertexAssociationForPFNoPUMEt = pfCandidateToVertexAssociation.clone(
33 MaxNumberOfAssociations = cms.int32(1),
34 doReassociation = cms.bool(
False),
35 FinalAssociation = cms.untracked.int32(1),
36 nTrackWeight = cms.double(0.)
38 pfNoPUMEtSequence += pfCandidateToVertexAssociationForPFNoPUMEt
39 pfMETcorrType0ForPFNoPUMEt = pfMETcorrType0.clone(
40 srcPFCandidateToVertexAssociations = cms.InputTag(
'pfCandidateToVertexAssociationForPFNoPUMEt')
42 pfNoPUMEtSequence += pfMETcorrType0ForPFNoPUMEt
44 jvfJetIdForPFNoPUMEt = cms.EDProducer(
"JVFJetIdProducer",
45 srcJets = cms.InputTag(
'calibratedAK4PFJetsForPFNoPUMEt'),
46 srcPFCandidates = cms.InputTag(
'particleFlow'),
47 srcPFCandToVertexAssociations = cms.InputTag(
'pfCandidateToVertexAssociationForPFNoPUMEt'),
48 srcHardScatterVertex = cms.InputTag(
'selectedPrimaryVertexHighestPtTrackSumForPFMEtCorrType0'),
49 minTrackPt = cms.double(1.),
50 dZcut = cms.double(0.2),
51 JVFcut = cms.double(0.75),
52 neutralJetOption = cms.string(
"noPU")
54 pfNoPUMEtSequence += jvfJetIdForPFNoPUMEt
57 pfNoPUMEtData = cms.EDProducer(
"NoPileUpPFMEtDataProducer",
58 srcJets = cms.InputTag(
'calibratedAK4PFJetsForPFNoPUMEt'),
59 srcJetIds = cms.InputTag(
'puJetIdForPFNoPUMEt',
'full53xId'),
61 minJetPt = cms.double(30.0),
62 jetIdSelection = cms.string(
'loose'),
63 jetEnOffsetCorrLabel = cms.string(
"ak4PFL1Fastjet"),
64 srcPFCandidates = cms.InputTag(
'particleFlow'),
65 srcPFCandToVertexAssociations = cms.InputTag(
'pfCandidateToVertexAssociationForPFNoPUMEt'),
66 srcJetsForMEtCov = cms.InputTag(
'ak4PFJets'),
67 minJetPtForMEtCov = cms.double(10.),
69 srcHardScatterVertex = cms.InputTag(
'selectedPrimaryVertexHighestPtTrackSumForPFMEtCorrType0'),
70 dZcut = cms.double(0.2),
71 resolution = met_config.METSignificance_params,
72 verbosity = cms.int32(0)
74 pfNoPUMEtSequence += pfNoPUMEtData
76 pfNoPUMEt = cms.EDProducer(
"NoPileUpPFMEtProducer",
77 srcMEt = cms.InputTag(
'pfMet'),
78 srcMEtCov = cms.InputTag(
''),
79 srcPUSubMETDataJet = cms.InputTag(
'pfNoPUMEtData',
'jetInfos'),
80 srcPUSubMETDataPFCands = cms.InputTag(
'pfNoPUMEtData',
'pfCandInfos'),
81 srcLeptons = cms.VInputTag(),
83 srcPUSubMETDataJetLeptonMatch = cms.InputTag(
'pfNoPUMEtData',
'jetInfos'),
84 srcPUSubMETDataPFCandsLeptonMatch = cms.InputTag(
'pfNoPUMEtData',
'pfCandInfos'),
85 srcType0Correction = cms.InputTag(
'pfMETcorrType0ForPFNoPUMEt'),
86 sfNoPUjets = cms.double(1.0),
87 sfNoPUjetOffsetEnCorr = cms.double(0.0),
88 sfPUjets = cms.double(1.0),
89 sfNoPUunclChargedCands = cms.double(1.0),
90 sfPUunclChargedCands = cms.double(1.0),
91 sfUnclNeutralCands = cms.double(0.6),
92 sfType0Correction = cms.double(1.0),
93 sfLeptonIsoCones = cms.double(0.6),
94 resolution = met_config.METSignificance_params,
95 sfMEtCovMin = cms.double(0.6),
96 sfMEtCovMax = cms.double(1.0),
97 saveInputs = cms.bool(
True),
98 verbosity = cms.int32(0)
100 pfNoPUMEtSequence += pfNoPUMEt
____________________________________________________________________________||