CMS 3D CMS Logo

wmunusProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Producers --> Create one collection of WMuNus per met type
4 
5 pfMetWMuNus = cms.EDProducer("WMuNuProducer",
6  # Input collections ->
7  MuonTag = cms.untracked.InputTag("muons"),
8  METTag = cms.untracked.InputTag("pfMet")
9 )
10 
11 tcMetWMuNus = cms.EDProducer("WMuNuProducer",
12  # Input collections ->
13  MuonTag = cms.untracked.InputTag("muons"),
14  METTag = cms.untracked.InputTag("tcMet")
15 )
16 
17 corMetWMuNus = cms.EDProducer("WMuNuProducer",
18  # Input collections ->
19  MuonTag = cms.untracked.InputTag("muons"),
20  METTag = cms.untracked.InputTag("caloMetM")
21 )
22 
23 allWMuNus = cms.Sequence(corMetWMuNus
24  *tcMetWMuNus
25  *pfMetWMuNus
26  )
27