CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
singletopHLTEventDQM_cfi.py
Go to the documentation of this file.
2 
3 SingleTopSingleMuonTriggerDQM = cms.EDAnalyzer("TopHLTSingleLeptonDQM",
4  ## ------------------------------------------------------
5  ## SETUP
6  ##
7  ## configuration of the MonitoringEnsemble(s)
8  ## [mandatory] : optional PSets may be omitted
9  ##
10  setup = cms.PSet(
11  ## sub-directory to write the monitor histograms to
12  ## [mandatory] : should not be changed w/o explicit
13  ## communication to TopCom!
14  directory = cms.string("HLTriggerOffline/SingleTop/SingleTopMuonTriggerDQM/"),
15  ## [mandatory]
16  sources = cms.PSet(
17  muons = cms.InputTag("muons"),
18  elecs = cms.InputTag("gedGsfElectrons"),
19  jets = cms.InputTag("ak5CaloJets"),
20  mets = cms.VInputTag("met", "tcMet", "pfMet"),
21  pvs = cms.InputTag("offlinePrimaryVertices")
22 
23  ),
24  ## [optional] : when omitted the verbosity level is set to STANDARD
25  monitoring = cms.PSet(
26  verbosity = cms.string("DEBUG")
27  ),
28  ## [optional] : when omitted all monitoring plots for primary vertices
29  ## will be filled w/o extras
30  pvExtras = cms.PSet(
31  ## when omitted electron plots will be filled w/o additional pre-
32  ## selection of the primary vertex candidates
33  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
34  ),
35  ## [optional] : when omitted all monitoring plots for muons
36  ## will be filled w/o extras
37  muonExtras = cms.PSet(
38  ## when omitted muon plots will be filled w/o additional pre-
39  ## selection of the muon candidates
40  select = cms.string("pt>20 & abs(eta)<2.1 & isGlobalMuon & innerTrack.numberOfValidHits>10 & globalTrack.normalizedChi2>-1 & globalTrack.normalizedChi2<10 & (isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.1"),
41  ## when omitted isolated muon multiplicity plot will be equi-
42  ## valent to inclusive muon multiplicity plot
43  isolation = cms.string("(isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.1")
44  ),
45  ## [optional] : when omitted all monitoring plots for jets
46  ## will be filled w/o extras
47  jetExtras = cms.PSet(
48  ## when omitted monitor plots for pt will be filled from uncorrected
49  ## jets
50  jetCorrector = cms.string("ak5PFL2L3"),
51  ## when omitted monitor plots will be filled w/o additional cut on
52  ## jetID
53  jetID = cms.PSet(
54  label = cms.InputTag("ak5JetID"),
55  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
56  ),
57  ## when omitted no extra selection will be applied on jets before
58  ## filling the monitor histograms; if jetCorrector is present the
59  ## selection will be applied to corrected jets
60  select = cms.string("pt>30 & abs(eta)<4.5& emEnergyFraction>0.01"),
61  ## when omitted monitor histograms for b-tagging will not be filled
62  jetBTaggers = cms.PSet(
63  trackCountingEff = cms.PSet(
64  label = cms.InputTag("trackCountingHighEffBJetTags" ),
65  workingPoint = cms.double(1.25)
66  ),
67  trackCountingPur = cms.PSet(
68  label = cms.InputTag("trackCountingHighPurBJetTags" ),
69  workingPoint = cms.double(3.00)
70  ),
71  secondaryVertex = cms.PSet(
72  label = cms.InputTag("simpleSecondaryVertexHighEffBJetTags"),
73  workingPoint = cms.double(2.05)
74  )
75  ),
76  ),
77  ## [optional] : when omitted no mass window will be applied
78  ## for the W mass before filling the event monitoring plots
79  massExtras = cms.PSet(
80  lowerEdge = cms.double( 70.),
81  upperEdge = cms.double(110.)
82  ),
83  ## [optional] : when omitted the monitoring plots for triggering
84  ## will be empty
85  triggerExtras = cms.PSet(
86  src = cms.InputTag("TriggerResults","","HLT"),
87  paths = cms.vstring(['HLT_Mu3:HLT_QuadJet15U',
88  'HLT_Mu5:HLT_QuadJet15U',
89  'HLT_Mu7:HLT_QuadJet15U',
90  'HLT_Mu9:HLT_QuadJet15U',
91  'HLT_Mu11:HLT_QuadJet15U'])
92  )
93  ),
94  ## ------------------------------------------------------
95  ## PRESELECTION
96  ##
97  ## setup of the event preselection, which will not
98  ## be monitored
99  ## [mandatory] : but may be empty
100  ##
101  preselection = cms.PSet(
102  trigger = cms.PSet(
103  src = cms.InputTag("TriggerResults","","HLT"),
104  select = cms.vstring(['HLT_Iso10Mu20_eta2p1_CentralCaloJet30_BTagIPIter_v1'])#ONLY ONE PATH
105  ),
106  ## [optional] : when omitted no preselection is applied
107  vertex = cms.PSet(
108  src = cms.InputTag("offlinePrimaryVertices"),
109  select = cms.string('abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
110  )
111  ),
112  ## ------------------------------------------------------
113  ## SELECTION
114  ##
115  ## monitor histrograms are filled after each selection
116  ## step, the selection is applied in the order defined
117  ## by this vector
118  ## [mandatory] : may be empty or contain an arbitrary
119  ## number of PSets
120  selection = cms.VPSet(
121  cms.PSet(
122  label = cms.string("Hlt:step0"),
123  src = cms.InputTag(""),
124  select = cms.string(""),
125  min = cms.int32(0),
126  max = cms.int32(0),
127  ),
128  cms.PSet(
129  label = cms.string("muons:step1"),
130  src = cms.InputTag("muons"),
131  select = cms.string("pt>20 & abs(eta)<2.1 & isGlobalMuon & innerTrack.numberOfValidHits>10 & globalTrack.normalizedChi2>-1 & globalTrack.normalizedChi2<10 & (isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.1"),
132  min = cms.int32(1),
133  max = cms.int32(1),
134  ),
135  cms.PSet(
136  label = cms.string("jets/calo:step2"),
137  src = cms.InputTag("ak5CaloJets"),
138  jetCorrector = cms.string("ak5PFL2L3"),
139  select = cms.string("pt>30 & abs(eta)<4.5 & emEnergyFraction>0.01"),
140  jetID = cms.PSet(
141  label = cms.InputTag("ak5JetID"),
142  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
143  ),
144  min = cms.int32(1),
145  ),
146  cms.PSet(
147  label = cms.string("jets/calo:step3"),
148  src = cms.InputTag("ak5CaloJets"),
149  jetCorrector = cms.string("ak5PFL2L3"),
150  select = cms.string("pt>30 & abs(eta)<4.5 & emEnergyFraction>0.01"),
151  jetID = cms.PSet(
152  label = cms.InputTag("ak5JetID"),
153  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
154  ),
155  min = cms.int32(2),
156  ),
157  )
158 )
159 
160 SingleTopSingleElectronTriggerDQM = cms.EDAnalyzer("TopHLTSingleLeptonDQM",
161  ## ------------------------------------------------------
162  ## SETUP
163  ##
164  ## configuration of the MonitoringEnsemble(s)
165  ## [mandatory] : optional PSets may be omitted
166  ##
167  setup = cms.PSet(
168  ## sub-directory to write the monitor histograms to
169  ## [mandatory] : should not be changed w/o explicit
170  ## communication to TopCom!
171  directory = cms.string("HLTriggerOffline/SingleTop/SingleTopElectronTriggerDQM/"),
172  ## [mandatory]
173  sources = cms.PSet(
174  muons = cms.InputTag("muons"),
175  elecs = cms.InputTag("gedGsfElectrons"),
176  jets = cms.InputTag("ak5CaloJets"),
177  mets = cms.VInputTag("met", "tcMet", "pfMet"),
178  pvs = cms.InputTag("offlinePrimaryVertices")
179 
180  ),
181  ## [optional] : when omitted the verbosity level is set to STANDARD
182  monitoring = cms.PSet(
183  verbosity = cms.string("DEBUG")
184  ),
185  ## [optional] : when omitted all monitoring plots for primary vertices
186  ## will be filled w/o extras
187  pvExtras = cms.PSet(
188  ## when omitted electron plots will be filled w/o additional pre-
189  ## selection of the primary vertex candidates
190  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
191  ),
192  ## [optional] : when omitted all monitoring plots for muons
193  ## will be filled w/o extras
194  muonExtras = cms.PSet(
195  ## when omitted muon plots will be filled w/o additional pre-
196  ## selection of the muon candidates
197  select = cms.string("pt>20 & abs(eta)<2.1 & isGlobalMuon & innerTrack.numberOfValidHits>10 & globalTrack.normalizedChi2>-1 & globalTrack.normalizedChi2<10 & (isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.1"),
198  ## when omitted isolated muon multiplicity plot will be equi-
199  ## valent to inclusive muon multiplicity plot
200  isolation = cms.string("(isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.1")
201  ),
202  ## [optional] : when omitted all monitoring plots for jets
203  ## will be filled w/o extras
204  jetExtras = cms.PSet(
205  ## when omitted monitor plots for pt will be filled from uncorrected
206  ## jets
207  jetCorrector = cms.string("ak5PFL2L3"),
208  ## when omitted monitor plots will be filled w/o additional cut on
209  ## jetID
210  jetID = cms.PSet(
211  label = cms.InputTag("ak5JetID"),
212  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
213  ),
214  ## when omitted no extra selection will be applied on jets before
215  ## filling the monitor histograms; if jetCorrector is present the
216  ## selection will be applied to corrected jets
217  select = cms.string("pt>30 & abs(eta)<4.5& emEnergyFraction>0.01"),
218  ## when omitted monitor histograms for b-tagging will not be filled
219  jetBTaggers = cms.PSet(
220  trackCountingEff = cms.PSet(
221  label = cms.InputTag("trackCountingHighEffBJetTags" ),
222  workingPoint = cms.double(1.25)
223  ),
224  trackCountingPur = cms.PSet(
225  label = cms.InputTag("trackCountingHighPurBJetTags" ),
226  workingPoint = cms.double(3.00)
227  ),
228  secondaryVertex = cms.PSet(
229  label = cms.InputTag("simpleSecondaryVertexHighEffBJetTags"),
230  workingPoint = cms.double(2.05)
231  )
232  ),
233  ),
234  ## [optional] : when omitted no mass window will be applied
235  ## for the W mass before filling the event monitoring plots
236  massExtras = cms.PSet(
237  lowerEdge = cms.double( 70.),
238  upperEdge = cms.double(110.)
239  ),
240  ## [optional] : when omitted the monitoring plots for triggering
241  ## will be empty
242  triggerExtras = cms.PSet(
243  src = cms.InputTag("TriggerResults","","HLT"),
244  paths = cms.vstring(['HLT_Mu3:HLT_QuadJet15U',
245  'HLT_Mu5:HLT_QuadJet15U',
246  'HLT_Mu7:HLT_QuadJet15U',
247  'HLT_Mu9:HLT_QuadJet15U',
248  'HLT_Mu11:HLT_QuadJet15U'])
249  )
250  ),
251  ## ------------------------------------------------------
252  ## PRESELECTION
253  ##
254  ## setup of the event preselection, which will not
255  ## be monitored
256  ## [mandatory] : but may be empty
257  ##
258  preselection = cms.PSet(
259  trigger = cms.PSet(
260  src = cms.InputTag("TriggerResults","","HLT"),
261  select = cms.vstring(['HLT_Iso10Mu20_eta2p1_CentralCaloJet30_BTagIPIter_v1'])#ONLY ONE PATH
262  ),
263  ## [optional] : when omitted no preselection is applied
264  vertex = cms.PSet(
265  src = cms.InputTag("offlinePrimaryVertices"),
266  select = cms.string('abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
267  )
268  ),
269  ## ------------------------------------------------------
270  ## SELECTION
271  ##
272  ## monitor histrograms are filled after each selection
273  ## step, the selection is applied in the order defined
274  ## by this vector
275  ## [mandatory] : may be empty or contain an arbitrary
276  ## number of PSets
277  selection = cms.VPSet(
278  cms.PSet(
279  label = cms.string("Hlt:step0"),
280  src = cms.InputTag(""),
281  select = cms.string(""),
282  min = cms.int32(0),
283  max = cms.int32(0),
284  ),
285  cms.PSet(
286  label = cms.string("muons:step1"),
287  src = cms.InputTag("muons"),
288  select = cms.string("pt>20 & abs(eta)<2.1 & isGlobalMuon & innerTrack.numberOfValidHits>10 & globalTrack.normalizedChi2>-1 & globalTrack.normalizedChi2<10 & (isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.1"),
289  min = cms.int32(1),
290  max = cms.int32(1),
291  ),
292  cms.PSet(
293  label = cms.string("jets/calo:step2"),
294  src = cms.InputTag("ak5CaloJets"),
295  jetCorrector = cms.string("ak5PFL2L3"),
296  select = cms.string("pt>30 & abs(eta)<4.5 & emEnergyFraction>0.01"),
297  jetID = cms.PSet(
298  label = cms.InputTag("ak5JetID"),
299  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
300  ),
301  min = cms.int32(1),
302  ),
303  cms.PSet(
304  label = cms.string("jets/calo:step3"),
305  src = cms.InputTag("ak5CaloJets"),
306  jetCorrector = cms.string("ak5CaloL2L3"),
307  select = cms.string("pt>30 & abs(eta)<4.5 & emEnergyFraction>0.01"),
308  jetID = cms.PSet(
309  label = cms.InputTag("ak5JetID"),
310  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
311  ),
312  min = cms.int32(2),
313  ),
314  )
315 )