Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 from DQMOffline.PFTau.metBenchmark_cfi import metBenchmark
00004 from DQMOffline.PFTau.metBenchmark_cfi import matchMetBenchmark
00005
00006
00007
00008 from JetMETCorrections.Configuration.JetCorrectionServicesAllAlgos_cff import *
00009 from JetMETCorrections.Type1MET.MetType1Corrections_cff import metJESCorAK5CaloJet
00010
00011 metMuonJESCorAK5 = metJESCorAK5CaloJet.clone()
00012 metMuonJESCorAK5.inputUncorMetLabel = "corMetGlobalMuons"
00013
00014 metCorSequence = cms.Sequence(metMuonJESCorAK5)
00015
00016
00017
00018 pfMetBenchmark = metBenchmark.clone()
00019 pfMetBenchmark.InputCollection = 'pfMet'
00020 pfMetBenchmark.BenchmarkLabel = 'pfMet'
00021 pfMetBenchmark.mode = 2
00022
00023 caloMetBenchmark = metBenchmark.clone()
00024
00025
00026 caloMetBenchmark.InputCollection = 'metMuonJESCorAK5'
00027 caloMetBenchmark.BenchmarkLabel = 'metMuonJESCorAK5'
00028 caloMetBenchmark.mode = 2
00029
00030 trueMetBenchmark = metBenchmark.clone()
00031 trueMetBenchmark.InputCollection = 'genMetTrue'
00032 trueMetBenchmark.BenchmarkLabel = 'genMetTrue'
00033 trueMetBenchmark.mode = 2
00034
00035 MatchPfMetBenchmark = matchMetBenchmark.clone()
00036 MatchPfMetBenchmark.InputCollection = 'pfMet'
00037 MatchPfMetBenchmark.MatchCollection = 'genMetTrue'
00038 MatchPfMetBenchmark.mode = 2
00039 MatchPfMetBenchmark.BenchmarkLabel = 'pfMet'
00040
00041 MatchCaloMetBenchmark = matchMetBenchmark.clone()
00042
00043 MatchCaloMetBenchmark.InputCollection = 'metMuonJESCorAK5'
00044 MatchCaloMetBenchmark.MatchCollection = 'genMetTrue'
00045 MatchCaloMetBenchmark.mode = 2
00046
00047 MatchCaloMetBenchmark.BenchmarkLabel = 'metMuonJESCorAK5'
00048
00049 UncorrCaloMetBenchmark = metBenchmark.clone()
00050 UncorrCaloMetBenchmark.InputCollection = 'corMetGlobalMuons'
00051 UncorrCaloMetBenchmark.BenchmarkLabel = 'corMetGlobalMuons'
00052 UncorrCaloMetBenchmark.mode = 2
00053
00054 metBenchmarkSequence = cms.Sequence( metCorSequence+pfMetBenchmark+caloMetBenchmark+trueMetBenchmark+MatchPfMetBenchmark+MatchCaloMetBenchmark )
00055 metBenchmarkSequenceData = cms.Sequence( metCorSequence+pfMetBenchmark+caloMetBenchmark+UncorrCaloMetBenchmark )