CMS 3D CMS Logo

mhtProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 patMHTs = cms.EDProducer("PATMHTProducer",
4  # input
5  verbose = cms.double(0.),
6 
7  jetTag = cms.untracked.InputTag("allLayer1Jets"),
8  electronTag = cms.untracked.InputTag("allLayer1Electrons"),
9  muonTag = cms.untracked.InputTag("allLayer1Muons"),
10  tauTag = cms.untracked.InputTag("allLayer1Taus"),
11  photonTag = cms.untracked.InputTag("allLayer1Photons"),
12 
13  # Selection configurables
14 
15  jetPtMin = cms.double( 20.),
16  jetEtaMax = cms.double( 5. ),
17  jetEMfracMax = cms.double( 0.9),
18  elePtMin = cms.double( 10.),
19  eleEtaMax = cms.double( 3. ),
20  muonPtMin = cms.double( 10.),
21  muonEtaMax = cms.double( 2.5),
22 
23  # Resolution configurables
24 
25  uncertaintyScaleFactor = cms.double(1.0 ),
26 
27  controlledUncertainty = cms.bool(True), #use controlled uncertainty parameters.
28 
29  # -------------------------------------------
30  # Jet Uncertainties
31  # -------------------------------------------
32  # //-- values from PTDR 1, ch 11.4 --//
33  jetEtUncertaintyParameter0 = cms.double(5.6 ),
34  jetEtUncertaintyParameter1 = cms.double(1.25),
35  jetEtUncertaintyParameter2 = cms.double(0.033),
36 
37  # // values from :
38  # http://indico.cern.ch/getFile.py/access?contribId=9&sessionId=0&resId=0&materialId=slides&confId=46394
39  jetPhiUncertaintyParameter0 =cms.double(4.75 ),
40  jetPhiUncertaintyParameter1 =cms.double(-0.426),
41  jetPhiUncertaintyParameter2 =cms.double(0.023 ),
42 
43  # -------------------------------------------
44  # Electron Uncertainties
45  # -------------------------------------------
46  eleEtUncertaintyParameter0 =cms.double ( 0.01),
47  elePhiUncertaintyParameter0 =cms.double (0.01 ),
48 
49  # -------------------------------------------
50  # Muon Uncertainties
51  # -------------------------------------------
52 
53  muonEtUncertaintyParameter0 = cms.double(0.01),
54  muonPhiUncertaintyParameter0 = cms.double(0.01),
55 
56  # -------------------------------------------
57  # For MET Significance
58  # -------------------------------------------
59 
60  #CaloTowerTag = cms.InputTag("caloTowers"),
61  CaloTowerTag = cms.InputTag("towerMaker"),
62  noHF = cms.bool(False),
63  # only include towers whose Et > 0.5 since
64  # by default the MET only includes towers with Et > 0.5
65  # from http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/JetMETCorrections/Type1MET/src/MuonMETAlgo.cc?revision=1.6&view=markup&pathrev=CMSSW_2_2_9
66  towerEtThreshold = cms.double(0.5),
67  useHO = cms.bool(False)
68  )
69 
70 
71