CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
metProducer_cfi.py
Go to the documentation of this file.
2 
3 patMETs = cms.EDProducer("PATMETProducer",
4  # input
5  metSource = cms.InputTag("pfType1CorrectedMet"),
6 
7  # add user data
8  userData = cms.PSet(
9  # add custom classes here
10  userClasses = cms.PSet(
11  src = cms.VInputTag('')
12  ),
13  # add doubles here
14  userFloats = cms.PSet(
15  src = cms.VInputTag('')
16  ),
17  # add ints here
18  userInts = cms.PSet(
19  src = cms.VInputTag('')
20  ),
21  # add candidate ptrs here
22  userCands = cms.PSet(
23  src = cms.VInputTag('')
24  ),
25  # add "inline" functions here
26  userFunctions = cms.vstring(),
27  userFunctionLabels = cms.vstring()
28  ),
29 
30  # muon correction
31  addMuonCorrections = cms.bool(False),
32  muonSource = cms.InputTag("muons"),
33 
34  # mc matching configurables
35  addGenMET = cms.bool(True),
36  genMETSource = cms.InputTag("genMetTrue"),
37 
38  # efficiencies
39  addEfficiencies = cms.bool(False),
40  efficiencies = cms.PSet(),
41 
42  # resolution
43  addResolutions = cms.bool(False),
44  resolutions = cms.PSet(),
45 )
46 
47