CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
metDQMConfig_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
5 
6 #jet corrector defined in jetMETDQMOfflineSource python file
7 
8 caloMetDQMAnalyzer = cms.EDAnalyzer("METAnalyzer",
9  METType=cms.untracked.string('calo'),
10  srcPFlow = cms.InputTag('particleFlow', ''),
11  l1algoname = cms.string("L1Tech_BPTX_plus_AND_minus.v0"),
12  METCollectionLabel = cms.InputTag("caloMet"),
13  JetCollectionLabel = cms.InputTag("ak4CaloJets"),
14  JetCorrections = cms.InputTag("dqmAk4PFL1FastL2L3ResidualCorrector"),
15  muonsrc = cms.InputTag("muons"),
16 
17  ptMinCand = cms.double(1.),
18  hcalMin =cms.double(1.),
19 
20  InputJetIDValueMap = cms.InputTag("ak4JetID"),
21  ptThreshold =cms.double(30),
22 
23  FolderName = cms.untracked.string("JetMET/MET/"),
24 
25  fillMetHighLevel = cms.bool(True),
26 
27  fillCandidateMaps = cms.bool(False),
28 
29  CleaningParameters = cleaningParameters.clone(),
30  METDiagonisticsParameters = multPhiCorr_METDiagnostics,
31 
32  TriggerResultsLabel = cms.InputTag("TriggerResults::HLT"),
33 
34  onlyCleaned = cms.untracked.bool(True),
35  runcosmics = cms.untracked.bool(False),
36 
37  LSBegin = cms.int32(0),
38  LSEnd = cms.int32(-1),
39 
40 # HLTPathsJetMB = cms.vstring(),
41 # When it is empty, it accepts all the triggers
42 
43  triggerSelectedSubFolders = cms.VPSet(
44  cms.PSet( label = cms.string('highPtJet'),
45  andOr = cms.bool( False ), #True -> OR #Comment this line to turn OFF
46  dbLabel = cms.string("JetMETDQMTrigger"),
47  hltInputTag = cms.InputTag( "TriggerResults::HLT" ),
48 # hltDBKey = cms.string( 'jetmet_highptjet' ), #overrides hltPaths!
49  hltPaths = cms.vstring( 'HLT_PFJet400_v*' ),
50  andOrHlt = cms.bool( True ),
51  errorReplyHlt = cms.bool( False ),
52  ),
53  cms.PSet(label = cms.string('lowPtJet'),
54  andOr = cms.bool( False ), #True -> OR #Comment this line to turn OFF
55  dbLabel = cms.string("JetMETDQMTrigger"),
56  hltInputTag = cms.InputTag( "TriggerResults::HLT" ),
57 # hltDBKey = cms.string( 'jetmet_lowptjet' ),#overrides hltPaths!
58  hltPaths = cms.vstring( 'HLT_PFJet80_v*' ),
59  andOrHlt = cms.bool( True ),
60  errorReplyHlt = cms.bool( True ),
61  ),
62  cms.PSet(label = cms.string('zeroBias'),
63  andOr = cms.bool( False ), #True -> OR #Comment this line to turn OFF
64  dbLabel = cms.string("JetMETDQMTrigger"),
65  hltInputTag = cms.InputTag( "TriggerResults::HLT" ),
66  #hltDBKey = cms.string( 'jetmet_minbias' ),#overrides hltPaths!
67  hltPaths = cms.vstring( 'HLT_ZeroBias_v*' ),
68  andOrHlt = cms.bool( True ),
69  errorReplyHlt = cms.bool( False ),
70  ),
71  cms.PSet(label = cms.string('highMET'),
72  andOr = cms.bool( False ), #True -> OR #Comment this line to turn OFF
73  dbLabel = cms.string("JetMETDQMTrigger"),
74  hltInputTag = cms.InputTag( "TriggerResults::HLT" ),
75 # hltDBKey = cms.string( 'jetmet_highmet' ),#overrides hltPaths!
76  hltPaths = cms.vstring( 'HLT_MET400_v*' ),
77  andOrHlt = cms.bool( True ),
78  errorReplyHlt = cms.bool( False ),
79  ),
80  #cms.PSet(label = cms.string('singleEle'),
81  # andOr = cms.bool( False ), #True -> OR #Comment this line to turn OFF
82  # dbLabel = cms.string("JetMETDQMTrigger"),
83  # hltInputTag = cms.InputTag( "TriggerResults::HLT" ),
84 # hltDBKey = cms.string( 'jetmet_ele' ),#overrides hltPaths!
85  # hltPaths = cms.vstring('HLT_Ele27_WP80_v*' ),
86  # andOrHlt = cms.bool( True ),
87  # errorReplyHlt = cms.bool( False ),
88  #),
89  cms.PSet(label = cms.string('singleMu'),
90  andOr = cms.bool( False ), #True -> OR #Comment this line to turn OFF
91  dbLabel = cms.string("JetMETDQMTrigger"),
92  hltInputTag = cms.InputTag( "TriggerResults::HLT" ),
93 # hltDBKey = cms.string( 'jetmet_muon' ),#overrides hltPaths!
94  hltPaths = cms.vstring( 'HLT_IsoMu24_eta2p1_v*', 'HLT_IsoMu24_v*'),
95  andOrHlt = cms.bool( True ),
96  errorReplyHlt = cms.bool( False ),
97  )
98  ),
99 
100  HcalNoiseRBXCollection = cms.InputTag("hcalnoise"),
101  #HBHENoiseFilterResultLabel = cms.InputTag("HBHENoiseFilterResultProducer", "HBHENoiseFilterResultRun2Loose"),
102  HBHENoiseFilterResultLabel = cms.InputTag("HBHENoiseFilterResultProducer", "HBHENoiseFilterResult"),
103 
104 # HighPtJetThreshold = cms.double(60.),
105 # LowPtJetThreshold = cms.double(15.),
106 # HighMETThreshold = cms.double(110.),
107 
108  #if changed here, change certification module input in same manner and injetDQMconfig
109  pVBin = cms.int32(100),
110  pVMax = cms.double(100.0),
111  pVMin = cms.double(0.0),
112 
113  verbose = cms.int32(0),
114 
115 # etThreshold = cms.double(2.),
116 
117  DCSFilter = cms.PSet(
118  DetectorTypes = cms.untracked.string("ecal:hbhe:hf"),
119  #DebugOn = cms.untracked.bool(True),
120  Filter = cms.untracked.bool(True)
121  ),
122 )
123 
124 pfMetDQMAnalyzer = caloMetDQMAnalyzer.clone(
125  METType=cms.untracked.string('pf'),
126  METCollectionLabel = cms.InputTag("pfMet"),
127  srcPFlow = cms.InputTag('particleFlow', ''),
128  JetCollectionLabel = cms.InputTag("ak4PFJets"),
129  JetCorrections = cms.InputTag("dqmAk4PFL1FastL2L3ResidualCorrector"),
130  fillMetHighLevel = cms.bool(False),
131  fillCandidateMaps = cms.bool(True),
132  onlyCleaned = cms.untracked.bool(False),
133  DCSFilter = cms.PSet(
134  DetectorTypes = cms.untracked.string("ecal:hbhe:hf:pixel:sistrip:es:muon"),
135  #DebugOn = cms.untracked.bool(True),
136  Filter = cms.untracked.bool(True)
137  ),
138 )
139 #both CaloMET and type1 MET only cleaned plots are filled
140 pfMetT1DQMAnalyzer = caloMetDQMAnalyzer.clone(
141  METType=cms.untracked.string('pf'),
142  METCollectionLabel = cms.InputTag("pfMETT1"),
143  srcPFlow = cms.InputTag('particleFlow', ''),
144  JetCollectionLabel = cms.InputTag("ak4PFJetsCHS"),
145  JetCorrections = cms.InputTag("dqmAk4PFCHSL1FastL2L3ResidualCorrector"),
146  fillMetHighLevel = cms.bool(False),
147  fillCandidateMaps = cms.bool(False),
148  DCSFilter = cms.PSet(
149  DetectorTypes = cms.untracked.string("ecal:hbhe:hf:pixel:sistrip:es:muon"),
150  Filter = cms.untracked.bool(True)
151  ),
152 )
153 pfMetDQMAnalyzerMiniAOD = pfMetDQMAnalyzer.clone(
154  fillMetHighLevel = cms.bool(False),
155  fillCandidateMaps = cms.bool(False),
156  CleaningParameters = cleaningParameters.clone(
157  vertexCollection = cms.InputTag( "goodOfflinePrimaryVerticesDQMforMiniAOD" ),
158  ),
159  METType=cms.untracked.string('miniaod'),
160  METCollectionLabel = cms.InputTag("slimmedMETs"),
161  JetCollectionLabel = cms.InputTag("slimmedJets"),
162  JetCorrections = cms.InputTag(""),#not called, since corrected by default
163 )