Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change the naming convention of CaloMETs #4709

Merged
merged 15 commits into from Aug 5, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion DQM/Physics/python/ExoticaDQM_cfi.py
Expand Up @@ -59,7 +59,7 @@
pfJetCollection = cms.InputTag("ak4PFJets"),
pfJetCollectionEI = cms.InputTag("pfJets"),

caloMETCollection = cms.InputTag("corMetGlobalMuons","","RECO"),
caloMETCollection = cms.InputTag("caloMetM","","RECO"),
pfMETCollection = cms.InputTag("pfMet","","RECO"),
pfMETCollectionEI = cms.InputTag("pfMetEI","","RECO"),

Expand Down
2 changes: 1 addition & 1 deletion DQM/Physics/python/HiggsDQM_cfi.py
Expand Up @@ -7,7 +7,7 @@
muonCollection = cms.InputTag("muons"),
electronCollection = cms.InputTag("gedGsfElectrons"),
caloJetCollection = cms.InputTag("ak4CaloJets"),
caloMETCollection = cms.InputTag("corMetGlobalMuons"),
caloMETCollection = cms.InputTag("caloMetM"),
pfMETCollection = cms.InputTag("pfMet"),
genParticleCollection = cms.InputTag("genParticles"),

Expand Down
2 changes: 1 addition & 1 deletion DQM/Physics/python/ewkDQM_cfi.py
Expand Up @@ -10,7 +10,7 @@
muonCollection = cms.InputTag("muons"),
electronCollection = cms.InputTag("gedGsfElectrons"),
PFJetCollection = cms.InputTag("ak4PFJets"),
caloMETCollection = cms.InputTag("corMetGlobalMuons"),
caloMETCollection = cms.InputTag("caloMetM"),
vertexCollection = cms.InputTag("offlinePrimaryVertices"),
#genParticleCollection = cms.InputTag("genParticles")
EJetMin = cms.untracked.double(15.0)
Expand Down
2 changes: 1 addition & 1 deletion DQMOffline/JetMET/python/jetMETAnalyzer_cfi.py
Expand Up @@ -155,7 +155,7 @@
# For mucorrMET
#
mucorrMETAnalysis = metDQMParameters.clone(
METCollectionLabel = cms.InputTag("corMetGlobalMuons"),
METCollectionLabel = cms.InputTag("caloMetM"),
Source = cms.string("MuCorrMET"),
InputBeamSpotLabel = cms.InputTag("offlineBeamSpot"),
DCSFilter = cms.PSet(
Expand Down
6 changes: 3 additions & 3 deletions Documentation/DataFormats/python/RecoMET_dataformats.py
Expand Up @@ -53,7 +53,7 @@
"desc": "MET in energy deposits in calorimeter towers in EB, EE, HB, HE, and HF"
},
{
"instance": "corMetGlobalMuons",
"instance": "caloMetM",
"container": "recoCaloMETs",
"desc": "MET in energy deposits in calorimeter towers in EB, EE, HB, HE, and HF with corrections for muons"
},
Expand Down Expand Up @@ -183,7 +183,7 @@
"desc": "MET in energy deposits in calorimeter towers in EB, EE, HB, HE, and HF"
},
{
"instance": "corMetGlobalMuons",
"instance": "caloMetM",
"container": "recoCaloMETs",
"desc": "MET in energy deposits in calorimeter towers in EB, EE, HB, HE, and HF with corrections for muons"
},
Expand Down Expand Up @@ -268,7 +268,7 @@
"desc": "MET in energy deposits in calorimeter towers in EB, EE, HB, HE, and HF"
},
{
"instance": "corMetGlobalMuons",
"instance": "caloMetM",
"container": "recoCaloMETs",
"desc": "MET in energy deposits in calorimeter towers in EB, EE, HB, HE, and HF with corrections for muons"
},
Expand Down
2 changes: 1 addition & 1 deletion ElectroWeakAnalysis/WENu/test/genPurposeSkimmer.py
Expand Up @@ -54,7 +54,7 @@
process.metMuonJESCorSC5 = process.metJESCorSC5CaloJet.clone()
process.metMuonJESCorSC5.inputUncorJetsLabel = "sisCone5CaloJets"
process.metMuonJESCorSC5.corrector = "L2L3JetCorrectorSC5Calo"
process.metMuonJESCorSC5.inputUncorMetLabel = "corMetGlobalMuons"
process.metMuonJESCorSC5.inputUncorMetLabel = "caloMetM"

process.metCorSequence = cms.Sequence(process.metMuonJESCorSC5)

Expand Down
Expand Up @@ -53,7 +53,7 @@
process.metMuonJESCorSC5 = process.metJESCorSC5CaloJet.clone()
process.metMuonJESCorSC5.inputUncorJetsLabel = "sisCone5CaloJets"
process.metMuonJESCorSC5.corrector = "L2L3JetCorrectorSC5Calo"
process.metMuonJESCorSC5.inputUncorMetLabel = "corMetGlobalMuons"
process.metMuonJESCorSC5.inputUncorMetLabel = "caloMetM"

process.metCorSequence = cms.Sequence(process.metMuonJESCorSC5)

Expand Down
2 changes: 1 addition & 1 deletion ElectroWeakAnalysis/WMuNu/python/wmunusProducer_cfi.py
Expand Up @@ -17,7 +17,7 @@
corMetWMuNus = cms.EDProducer("WMuNuProducer",
# Input collections ->
MuonTag = cms.untracked.InputTag("muons"),
METTag = cms.untracked.InputTag("corMetGlobalMuons")
METTag = cms.untracked.InputTag("caloMetM")
)

allWMuNus = cms.Sequence(corMetWMuNus
Expand Down

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions JetMETCorrections/Type1MET/python/correctedMet_cff.py
Expand Up @@ -3,7 +3,7 @@
##____________________________________________________________________________||
caloMetT1 = cms.EDProducer(
"AddCorrectionsToCaloMET",
src = cms.InputTag('corMetGlobalMuons'),
src = cms.InputTag('caloMetM'),
srcCorrections = cms.VInputTag(
cms.InputTag('corrCaloMetType1', 'type1')
),
Expand All @@ -12,7 +12,7 @@
##____________________________________________________________________________||
caloMetT1T2 = cms.EDProducer(
"AddCorrectionsToCaloMET",
src = cms.InputTag('corMetGlobalMuons'),
src = cms.InputTag('caloMetM'),
srcCorrections = cms.VInputTag(
cms.InputTag('corrCaloMetType1', 'type1'),
cms.InputTag('corrCaloMetType2')
Expand Down
Expand Up @@ -11,7 +11,7 @@
type1JetPtThreshold = cms.double(20.0),
skipEM = cms.bool(True),
skipEMfractionThreshold = cms.double(0.90),
srcMET = cms.InputTag('corMetGlobalMuons')
srcMET = cms.InputTag('caloMetM')
)

##____________________________________________________________________________||
Expand All @@ -25,7 +25,7 @@
"Type2CorrectionProducer",
srcUnclEnergySums = cms.VInputTag(
cms.InputTag('corrCaloMetType1', 'type2'),
cms.InputTag('muCaloMetCorr') # NOTE: use this for 'corMetGlobalMuons', do **not** use it for 'met' !!
cms.InputTag('muCaloMetCorr') # NOTE: use this for 'caloMetM', do **not** use it for 'met' !!
),
type2CorrFormula = cms.string("A + B*TMath::Exp(-C*x)"),
type2CorrParameter = cms.PSet(
Expand Down
6 changes: 3 additions & 3 deletions PhysicsTools/PatAlgos/python/tools/jetTools.py
Expand Up @@ -484,10 +484,10 @@ def toolCode(self, process):
from JetMETCorrections.Type1MET.correctionTermsCaloMet_cff import corrCaloMetType2
from JetMETCorrections.Type1MET.correctedMet_cff import caloMetT1
from JetMETCorrections.Type1MET.correctedMet_cff import caloMetT1T2
setattr(process,jetCorrections[0]+_labelCorrName+'JetMETcorr'+postfix, corrCaloMetType1.clone(src=jetSource,srcMET = "corMetGlobalMuons",jetCorrections = cms.string(jetCorrections[0]+'CombinedCorrector')))
setattr(process,jetCorrections[0]+_labelCorrName+'JetMETcorr'+postfix, corrCaloMetType1.clone(src=jetSource,srcMET = "caloMetM",jetCorrections = cms.string(jetCorrections[0]+'CombinedCorrector')))
setattr(process,jetCorrections[0]+_labelCorrName+'JetMETcorr2'+postfix, corrCaloMetType2.clone(srcUnclEnergySums = cms.VInputTag(cms.InputTag(jetCorrections[0]+_labelCorrName+'JetMETcorr'+postfix, 'type2'),cms.InputTag(jetCorrections[0]+_labelCorrName+'JetMETcorr'+postfix, 'offset'),cms.InputTag('muCaloMetCorr'))))
setattr(process,jetCorrections[0]+_labelCorrName+'Type1CorMet'+postfix, caloMetT1.clone(src = "corMetGlobalMuons", srcCorrections = cms.VInputTag(cms.InputTag(jetCorrections[0]+_labelCorrName+'JetMETcorr'+postfix, 'type1'))))
setattr(process,jetCorrections[0]+_labelCorrName+'Type1p2CorMet'+postfix, caloMetT1T2.clone(src = "corMetGlobalMuons", srcCorrections = cms.VInputTag(cms.InputTag(jetCorrections[0]+_labelCorrName+'JetMETcorr'+postfix, 'type1'), cms.InputTag(jetCorrections[0]+_labelCorrName+'JetMETcorr2'+postfix))))
setattr(process,jetCorrections[0]+_labelCorrName+'Type1CorMet'+postfix, caloMetT1.clone(src = "caloMetM", srcCorrections = cms.VInputTag(cms.InputTag(jetCorrections[0]+_labelCorrName+'JetMETcorr'+postfix, 'type1'))))
setattr(process,jetCorrections[0]+_labelCorrName+'Type1p2CorMet'+postfix, caloMetT1T2.clone(src = "caloMetM", srcCorrections = cms.VInputTag(cms.InputTag(jetCorrections[0]+_labelCorrName+'JetMETcorr'+postfix, 'type1'), cms.InputTag(jetCorrections[0]+_labelCorrName+'JetMETcorr2'+postfix))))

elif _type == 'PF':
from JetMETCorrections.Type1MET.correctionTermsPfMetType1Type2_cff import pfJetsPtrForMetCorr
Expand Down
3 changes: 0 additions & 3 deletions RecoMET/Configuration/python/RecoMET_Cosmics_cff.py
Expand Up @@ -14,7 +14,6 @@
caloMetBE+
caloMetBEFO+
muonMETValueMapProducer+
corMetGlobalMuons+
caloMetM +
hcalnoise+
BeamHaloId
Expand All @@ -26,7 +25,6 @@
caloMetBE+
caloMetBEFO+
muonMETValueMapProducer+
corMetGlobalMuons+
caloMetM +
hcalnoise
)
Expand All @@ -37,7 +35,6 @@
caloMetBE+
caloMetBEFO+
muonMETValueMapProducer+
corMetGlobalMuons+
caloMetM +
BeamHaloId
)
Expand Down
3 changes: 0 additions & 3 deletions RecoMET/Configuration/python/RecoMET_EventContent_cff.py
Expand Up @@ -5,7 +5,6 @@
outputCommands = cms.untracked.vstring('keep recoCaloMETs_caloMet_*_*',
'keep recoCaloMETs_caloMetBE_*_*',
'keep recoCaloMETs_caloMetBEFO_*_*',
'keep recoCaloMETs_corMetGlobalMuons_*_*',
'keep recoCaloMETs_caloMetM_*_*',
'keep recoPFMETs_pfMet_*_*',
'keep recoPFMETs_pfChMet_*_*',
Expand All @@ -32,7 +31,6 @@
outputCommands = cms.untracked.vstring('keep recoCaloMETs_caloMet_*_*',
'keep recoCaloMETs_caloMetBE_*_*',
'keep recoCaloMETs_caloMetBEFO_*_*',
'keep recoCaloMETs_corMetGlobalMuons_*_*',
'keep recoCaloMETs_caloMetM_*_*',
'keep recoPFMETs_pfMet_*_*',
'keep recoPFMETs_pfChMet_*_*',
Expand All @@ -59,7 +57,6 @@
outputCommands = cms.untracked.vstring('keep recoCaloMETs_caloMet_*_*',
'keep recoCaloMETs_caloMetBE_*_*',
'keep recoCaloMETs_caloMetBEFO_*_*',
'keep recoCaloMETs_corMetGlobalMuons_*_*',
'keep recoCaloMETs_caloMetM_*_*',
'keep recoPFMETs_pfMet_*_*',
'keep recoPFMETs_pfChMet_*_*',
Expand Down
2 changes: 0 additions & 2 deletions RecoMET/Configuration/python/RecoMET_cff.py
Expand Up @@ -5,7 +5,6 @@
from RecoMET.METProducers.CaloMET_cfi import *
from RecoMET.METProducers.hcalnoiseinfoproducer_cfi import *
from RecoMET.METProducers.MuonMETValueMapProducer_cff import *
from RecoMET.METProducers.MetMuonCorrections_cff import *
from RecoMET.METProducers.caloMetM_cfi import *
from RecoMET.Configuration.RecoMET_BeamHaloId_cff import *

Expand All @@ -15,7 +14,6 @@
caloMetBE+
caloMetBEFO+
muonMETValueMapProducer+
corMetGlobalMuons+
caloMetM +
BeamHaloId
)
Expand Down
2 changes: 0 additions & 2 deletions RecoMET/METProducers/test/recoMET_caloMet_cfg.py
Expand Up @@ -9,7 +9,6 @@
##____________________________________________________________________________||
process.load("RecoMET.METProducers.CaloMET_cfi")
process.load("RecoMET.METProducers.METSigParams_cfi")
process.load("RecoMET.METProducers.MetMuonCorrections_cff")
process.load("RecoMET.METProducers.caloMetM_cfi")
process.load("RecoJets.Configuration.CaloTowersRec_cff")
process.load("Configuration.StandardSequences.Geometry_cff")
Expand Down Expand Up @@ -58,7 +57,6 @@
process.caloMetBE *
process.caloMetBEO *
process.caloMetM *
process.corMetGlobalMuons *
process.caloMetWithSignificance
)

Expand Down
2 changes: 1 addition & 1 deletion Validation/RecoMET/python/METValidation_cfi.py
Expand Up @@ -85,7 +85,7 @@
#corMetGlobalMuonsAnalyzer = cms.EDAnalyzer(
# "METTester",
# OutputFile = cms.untracked.string(''),
# InputMETLabel = cms.InputTag("corMetGlobalMuons"),
# InputMETLabel = cms.InputTag("caloMetM"),
# METType = cms.untracked.string("cor")
# )

Expand Down
6 changes: 3 additions & 3 deletions Validation/RecoParticleFlow/python/metBenchmark_cff.py
Expand Up @@ -9,7 +9,7 @@
from JetMETCorrections.Type1MET.MetType1Corrections_cff import metJESCorAK5CaloJet

metMuonJESCorAK5 = metJESCorAK5CaloJet.clone()
metMuonJESCorAK5.inputUncorMetLabel = "corMetGlobalMuons"
metMuonJESCorAK5.inputUncorMetLabel = "caloMetM"

metCorSequence = cms.Sequence(metMuonJESCorAK5)
#########
Expand Down Expand Up @@ -47,8 +47,8 @@
MatchCaloMetBenchmark.BenchmarkLabel = 'metMuonJESCorAK5'

UncorrCaloMetBenchmark = metBenchmark.clone()
UncorrCaloMetBenchmark.InputCollection = 'corMetGlobalMuons'
UncorrCaloMetBenchmark.BenchmarkLabel = 'corMetGlobalMuons'
UncorrCaloMetBenchmark.InputCollection = 'caloMetM'
UncorrCaloMetBenchmark.BenchmarkLabel = 'caloMetM'
UncorrCaloMetBenchmark.mode = 2

metBenchmarkSequence = cms.Sequence( metCorSequence+pfMetBenchmark+caloMetBenchmark+trueMetBenchmark+MatchPfMetBenchmark+MatchCaloMetBenchmark )
Expand Down