1 import FWCore.ParameterSet.Config
as cms
12 calibratedAK4PFJetsForPFMVAMEt = cms.EDProducer(
'CorrectedPFJetProducer',
13 src = cms.InputTag(
'ak4PFJets'),
14 correctors = cms.VInputTag(
"ak4PFL1FastL2L3Corrector")
19 puJetIdForPFMVAMEt = _pileupJetIdEvaluator.clone(
22 tmvaVariables = cms.vstring(
40 etaBinnedWeights = cms.bool(
False),
41 tmvaWeights = cms.string(
"RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_MET_53X_Dec2012.weights.xml.gz"),
42 tmvaMethod = cms.string(
"JetID"),
43 tmvaSpectators = cms.vstring(),
44 JetIdParams = JetIdParams,
45 impactParTkThreshold = cms.double(0.),
46 version = cms.int32(-1),
47 cutBased = cms.bool(
False),
48 label = cms.string(
"full")
51 produceJetIds = cms.bool(
True),
52 runMvas = cms.bool(
True),
53 jets = cms.InputTag(
"calibratedAK4PFJetsForPFMVAMEt"),
54 applyJec = cms.bool(
True),
55 inputIsCorrected = cms.bool(
True),
56 jec = cms.string(
"AK4PF"),
62 pfMVAMEt = cms.EDProducer(
"PFMETProducerMVA",
63 srcCorrJets = cms.InputTag(
'calibratedAK4PFJetsForPFMVAMEt'),
64 srcUncorrJets = cms.InputTag(
'ak4PFJets'),
65 srcMVAPileupJetId = cms.InputTag(
'puJetIdForPFMVAMEt',
'fullDiscriminant'),
66 srcPFCandidates = cms.InputTag(
'particleFlow'),
67 srcVertices = cms.InputTag(
'offlinePrimaryVertices'),
68 srcLeptons = cms.VInputTag(),
70 minNumLeptons = cms.int32(0),
71 globalThreshold = cms.double(-1.),
72 minCorrJetPt = cms.double(-1.),
73 inputFileNames = cms.PSet(
74 U = cms.FileInPath(
'RecoMET/METPUSubtraction/data/gbru_7_4_X_miniAOD_25NS_July2015.root'),
75 DPhi = cms.FileInPath(
'RecoMET/METPUSubtraction/data/gbrphi_7_4_X_miniAOD_25NS_July2015.root'),
76 CovU1 = cms.FileInPath(
'RecoMET/METPUSubtraction/data/gbru1cov_7_4_X_miniAOD_25NS_July2015.root'),
77 CovU2 = cms.FileInPath(
'RecoMET/METPUSubtraction/data/gbru2cov_7_4_X_miniAOD_25NS_July2015.root') ),
78 inputRecords = cms.PSet(
79 U = cms.string(
"RecoilCor"),
80 DPhi = cms.string(
"PhiCor"),
81 CovU1 = cms.string(
"CovU1"),
82 CovU2 = cms.string(
"CovU2")
84 loadMVAfromDB = cms.bool(
False),
86 corrector = cms.InputTag(
"ak4PFL1FastjetCorrector"),
87 useType1 = cms.bool(
True),
88 dZcut = cms.double(0.1),
90 verbosity = cms.int32(0)
93 pfMVAMEtTask = cms.Task(
96 calibratedAK4PFJetsForPFMVAMEt,
100 pfMVAMEtSequence = cms.Sequence(pfMVAMEtTask)