1 import FWCore.ParameterSet.Config
as cms
9 from JetMETCorrections.Type1MET.MetType1Corrections_cff
import metJESCorAK4CaloJet
11 metMuonJESCorAK4 = metJESCorAK4CaloJet.clone()
12 metMuonJESCorAK4.inputUncorMetLabel =
"caloMetM" 14 metCorSequence = cms.Sequence(metMuonJESCorAK4)
18 pfMetBenchmark = metBenchmark.clone()
19 pfMetBenchmark.InputCollection =
'pfMet' 20 pfMetBenchmark.BenchmarkLabel =
'pfMet' 21 pfMetBenchmark.mode = 2
23 caloMetBenchmark = metBenchmark.clone()
26 caloMetBenchmark.InputCollection =
'metMuonJESCorAK4' 27 caloMetBenchmark.BenchmarkLabel =
'metMuonJESCorAK4' 28 caloMetBenchmark.mode = 2
30 trueMetBenchmark = metBenchmark.clone()
31 trueMetBenchmark.InputCollection =
'genMetTrue' 32 trueMetBenchmark.BenchmarkLabel =
'genMetTrue' 33 trueMetBenchmark.mode = 2
35 MatchPfMetBenchmark = matchMetBenchmark.clone()
36 MatchPfMetBenchmark.InputCollection =
'pfMet' 37 MatchPfMetBenchmark.MatchCollection =
'genMetTrue' 38 MatchPfMetBenchmark.mode = 2
39 MatchPfMetBenchmark.BenchmarkLabel =
'pfMet' 41 MatchCaloMetBenchmark = matchMetBenchmark.clone()
43 MatchCaloMetBenchmark.InputCollection =
'metMuonJESCorAK4' 44 MatchCaloMetBenchmark.MatchCollection =
'genMetTrue' 45 MatchCaloMetBenchmark.mode = 2
47 MatchCaloMetBenchmark.BenchmarkLabel =
'metMuonJESCorAK4' 49 UncorrCaloMetBenchmark = metBenchmark.clone()
50 UncorrCaloMetBenchmark.InputCollection =
'caloMetM' 51 UncorrCaloMetBenchmark.BenchmarkLabel =
'caloMetM' 52 UncorrCaloMetBenchmark.mode = 2
54 metBenchmarkSequence = cms.Sequence( metCorSequence+pfMetBenchmark+caloMetBenchmark+trueMetBenchmark+MatchPfMetBenchmark+MatchCaloMetBenchmark )
55 metBenchmarkSequenceData = cms.Sequence( metCorSequence+pfMetBenchmark+caloMetBenchmark+UncorrCaloMetBenchmark )