CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SUSYBSM_triggerValidation_cff.py
Go to the documentation of this file.
2 import HLTriggerOffline.SUSYBSM.mcSel_RA1_cff as mcSel_RA1
3 import HLTriggerOffline.SUSYBSM.mcSel_RA2_cff as mcSel_RA2
4 import HLTriggerOffline.SUSYBSM.mcSel_RA3_cff as mcSel_RA3
5 import HLTriggerOffline.SUSYBSM.mcSel_RA4_e_cff as mcSel_RA4_e
6 import HLTriggerOffline.SUSYBSM.mcSel_RA4_m_cff as mcSel_RA4_m
7 import HLTriggerOffline.SUSYBSM.mcSel_RA5RA6_1e1m_cff as mcSel_RA5RA6_1e1m
8 import HLTriggerOffline.SUSYBSM.mcSel_RA5RA6_2e_cff as mcSel_RA5RA6_2e
9 import HLTriggerOffline.SUSYBSM.mcSel_RA5RA6_2m_cff as mcSel_RA5RA6_2m
10 import HLTriggerOffline.SUSYBSM.mcSel_RA7_1e2m_cff as mcSel_RA7_1e2m
11 import HLTriggerOffline.SUSYBSM.mcSel_RA7_2e1m_cff as mcSel_RA7_2e1m
12 import HLTriggerOffline.SUSYBSM.mcSel_RA7_3e_cff as mcSel_RA7_3e
13 import HLTriggerOffline.SUSYBSM.mcSel_RA7_3m_cff as mcSel_RA7_3m
14 
15 HLTSusyExoVal = cms.EDAnalyzer("TriggerValidator",
16  TurnOnParams = cms.PSet(
17  hlt1MuonIsoList = cms.vstring('hltSingleMuIsoLevel1Seed',
18  'hltSingleMuIsoL1Filtered',
19  'hltSingleMuIsoL2PreFiltered',
20  'hltSingleMuIsoL2IsoFiltered',
21  'hltSingleMuIsoL3PreFiltered',
22  'hltSingleMuIsoL3IsoFiltered'),
23  hltMuonTracks = cms.string('hltL3MuonCandidates'),
24  hlt1MuonNonIsoList = cms.vstring('hltSingleMuNoIsoLevel1Seed',
25  'hltSingleMuNoIsoL1Filtered',
26  'hltSingleMuNoIsoL2PreFiltered',
27  'hltSingleMuNoIsoL3PreFiltered'),
28  genMother = cms.string('b'), ## it can be W, b, WtoJ, All
29 
30  recoMuons = cms.string('muons'),
31  mcParticles = cms.string('genParticles')
32  ),
33  statFileName = cms.untracked.string('MonElements_LM1_IDEAL_30x_v1_300pre7.stat'),
34  dirname = cms.untracked.string('HLT/SusyExo'),
35  L1Label = cms.InputTag("hltL1GtObjectMap"),
36  HltLabel = cms.InputTag("TriggerResults","","HLT"),
37  reco_parametersets = cms.VPSet(
38  cms.PSet(
39  name = cms.string('Reco1'),
40  reco_ptJet2Min = cms.double(30.0),
41  jets = cms.string('iterativeCone5CaloJets'),
42  reco_ptElecMin = cms.double(10.0),
43  reco_ptJet1Min = cms.double(80.0),
44  photonProducer = cms.string('photons'),
45  reco_metMin = cms.double(100.0),
46  photons = cms.string(''),
47  muons = cms.string('muons'),
48  reco_ptMuonMin = cms.double(10.0),
49  reco_ptPhotMin = cms.double(0.0),
50  calomet = cms.string('met'),
51  electrons = cms.string('gedGsfElectrons')
52  )
53  ),
54 
55  # if mc_flag = false the McSelection folder will contain empty histograms
56  mc_parametersets = cms.VPSet(
57  cms.PSet(
58  name = cms.string("RA1"),
59  genMet = cms.string('genMetTrue'),
60  genJets = cms.string('iterativeCone5GenJets'),
61  mcparticles = cms.string('genParticles'),
62  mc_nJet = mcSel_RA1.mc_nJet,
63  mc_nPhot = mcSel_RA1.mc_nPhot,
64  mc_nElec = mcSel_RA1.mc_nElec,
65  mc_nMuon = mcSel_RA1.mc_nMuon,
66  mc_ptElecMin = mcSel_RA1.mc_ptElecMin,
67  mc_ptPhotMin = mcSel_RA1.mc_ptPhotMin,
68  mc_ptJetMin = mcSel_RA1.mc_ptJetMin,
69  mc_ptMuonMin = mcSel_RA1.mc_ptMuonMin,
70  mc_metMin = mcSel_RA1.mc_metMin,
71  mc_ptTauMin = mcSel_RA1.mc_ptTauMin,
72  mc_ptJetForHtMin = mcSel_RA1.mc_ptJetForHtMin,
73  mc_htMin = mcSel_RA1.mc_htMin,
74  mc_nTau = mcSel_RA1.mc_nTau,
75  mc_nMuonRule = mcSel_RA1.mc_nMuonRule,
76  mc_nElecRule = mcSel_RA1.mc_nElecRule
77  ),
78  cms.PSet(
79  name = cms.string("RA2"),
80  genMet = cms.string('genMetTrue'),
81  genJets = cms.string('iterativeCone5GenJets'),
82  mcparticles = cms.string('genParticles'),
83  mc_nJet = mcSel_RA2.mc_nJet,
84  mc_nPhot = mcSel_RA2.mc_nPhot,
85  mc_nElec = mcSel_RA2.mc_nElec,
86  mc_nMuon = mcSel_RA2.mc_nMuon,
87  mc_ptElecMin = mcSel_RA2.mc_ptElecMin,
88  mc_ptPhotMin = mcSel_RA2.mc_ptPhotMin,
89  mc_ptJetMin = mcSel_RA2.mc_ptJetMin,
90  mc_ptMuonMin = mcSel_RA2.mc_ptMuonMin,
91  mc_metMin = mcSel_RA2.mc_metMin,
92  mc_ptTauMin = mcSel_RA2.mc_ptTauMin,
93  mc_ptJetForHtMin = mcSel_RA2.mc_ptJetForHtMin,
94  mc_htMin = mcSel_RA2.mc_htMin,
95  mc_nTau = mcSel_RA2.mc_nTau,
96  mc_nMuonRule = mcSel_RA2.mc_nMuonRule,
97  mc_nElecRule = mcSel_RA2.mc_nElecRule
98  ),
99  cms.PSet(
100  name = cms.string("RA3"),
101  genMet = cms.string('genMetTrue'),
102  genJets = cms.string('iterativeCone5GenJets'),
103  mcparticles = cms.string('genParticles'),
104  mc_nJet = mcSel_RA3.mc_nJet,
105  mc_nPhot = mcSel_RA3.mc_nPhot,
106  mc_nElec = mcSel_RA3.mc_nElec,
107  mc_nMuon = mcSel_RA3.mc_nMuon,
108  mc_ptElecMin = mcSel_RA3.mc_ptElecMin,
109  mc_ptPhotMin = mcSel_RA3.mc_ptPhotMin,
110  mc_ptJetMin = mcSel_RA3.mc_ptJetMin,
111  mc_ptMuonMin = mcSel_RA3.mc_ptMuonMin,
112  mc_metMin = mcSel_RA3.mc_metMin,
113  mc_ptTauMin = mcSel_RA3.mc_ptTauMin,
114  mc_ptJetForHtMin = mcSel_RA3.mc_ptJetForHtMin,
115  mc_htMin = mcSel_RA3.mc_htMin,
116  mc_nTau = mcSel_RA3.mc_nTau,
117  mc_nMuonRule = mcSel_RA3.mc_nMuonRule,
118  mc_nElecRule = mcSel_RA3.mc_nElecRule
119  ),
120  cms.PSet(
121  name = cms.string("RA4_e"),
122  genMet = cms.string('genMetTrue'),
123  genJets = cms.string('iterativeCone5GenJets'),
124  mcparticles = cms.string('genParticles'),
125  mc_nJet = mcSel_RA4_e.mc_nJet,
126  mc_nPhot = mcSel_RA4_e.mc_nPhot,
127  mc_nElec = mcSel_RA4_e.mc_nElec,
128  mc_nMuon = mcSel_RA4_e.mc_nMuon,
129  mc_ptElecMin = mcSel_RA4_e.mc_ptElecMin,
130  mc_ptPhotMin = mcSel_RA4_e.mc_ptPhotMin,
131  mc_ptJetMin = mcSel_RA4_e.mc_ptJetMin,
132  mc_ptMuonMin = mcSel_RA4_e.mc_ptMuonMin,
133  mc_metMin = mcSel_RA4_e.mc_metMin,
134  mc_ptTauMin = mcSel_RA4_e.mc_ptTauMin,
135  mc_ptJetForHtMin = mcSel_RA4_e.mc_ptJetForHtMin,
136  mc_htMin = mcSel_RA4_e.mc_htMin,
137  mc_nTau = mcSel_RA4_e.mc_nTau,
138  mc_nMuonRule = mcSel_RA4_e.mc_nMuonRule,
139  mc_nElecRule = mcSel_RA4_e.mc_nElecRule
140  ),
141  cms.PSet(
142  name = cms.string("RA4_m"),
143  genMet = cms.string('genMetTrue'),
144  genJets = cms.string('iterativeCone5GenJets'),
145  mcparticles = cms.string('genParticles'),
146  mc_nJet = mcSel_RA4_m.mc_nJet,
147  mc_nPhot = mcSel_RA4_m.mc_nPhot,
148  mc_nElec = mcSel_RA4_m.mc_nElec,
149  mc_nMuon = mcSel_RA4_m.mc_nMuon,
150  mc_ptElecMin = mcSel_RA4_m.mc_ptElecMin,
151  mc_ptPhotMin = mcSel_RA4_m.mc_ptPhotMin,
152  mc_ptJetMin = mcSel_RA4_m.mc_ptJetMin,
153  mc_ptMuonMin = mcSel_RA4_m.mc_ptMuonMin,
154  mc_metMin = mcSel_RA4_m.mc_metMin,
155  mc_ptTauMin = mcSel_RA4_m.mc_ptTauMin,
156  mc_ptJetForHtMin = mcSel_RA4_m.mc_ptJetForHtMin,
157  mc_htMin = mcSel_RA4_m.mc_htMin,
158  mc_nTau = mcSel_RA4_m.mc_nTau,
159  mc_nMuonRule = mcSel_RA4_m.mc_nMuonRule,
160  mc_nElecRule = mcSel_RA4_m.mc_nElecRule
161  ),
162  cms.PSet(
163  name = cms.string("RA5RA6_1e1m"),
164  genMet = cms.string('genMetTrue'),
165  genJets = cms.string('iterativeCone5GenJets'),
166  mcparticles = cms.string('genParticles'),
167  mc_nJet = mcSel_RA5RA6_1e1m.mc_nJet,
168  mc_nPhot = mcSel_RA5RA6_1e1m.mc_nPhot,
169  mc_nElec = mcSel_RA5RA6_1e1m.mc_nElec,
170  mc_nMuon = mcSel_RA5RA6_1e1m.mc_nMuon,
171  mc_ptElecMin = mcSel_RA5RA6_1e1m.mc_ptElecMin,
172  mc_ptPhotMin = mcSel_RA5RA6_1e1m.mc_ptPhotMin,
173  mc_ptJetMin = mcSel_RA5RA6_1e1m.mc_ptJetMin,
174  mc_ptMuonMin = mcSel_RA5RA6_1e1m.mc_ptMuonMin,
175  mc_metMin = mcSel_RA5RA6_1e1m.mc_metMin,
176  mc_ptTauMin = mcSel_RA5RA6_1e1m.mc_ptTauMin,
177  mc_ptJetForHtMin = mcSel_RA5RA6_1e1m.mc_ptJetForHtMin,
178  mc_htMin = mcSel_RA5RA6_1e1m.mc_htMin,
179  mc_nTau = mcSel_RA5RA6_1e1m.mc_nTau,
180  mc_nMuonRule = mcSel_RA5RA6_1e1m.mc_nMuonRule,
181  mc_nElecRule = mcSel_RA5RA6_1e1m.mc_nElecRule
182  ),
183  cms.PSet(
184  name = cms.string("RA5RA6_2e"),
185  genMet = cms.string('genMetTrue'),
186  genJets = cms.string('iterativeCone5GenJets'),
187  mcparticles = cms.string('genParticles'),
188  mc_nJet = mcSel_RA5RA6_2e.mc_nJet,
189  mc_nPhot = mcSel_RA5RA6_2e.mc_nPhot,
190  mc_nElec = mcSel_RA5RA6_2e.mc_nElec,
191  mc_nMuon = mcSel_RA5RA6_2e.mc_nMuon,
192  mc_ptElecMin = mcSel_RA5RA6_2e.mc_ptElecMin,
193  mc_ptPhotMin = mcSel_RA5RA6_2e.mc_ptPhotMin,
194  mc_ptJetMin = mcSel_RA5RA6_2e.mc_ptJetMin,
195  mc_ptMuonMin = mcSel_RA5RA6_2e.mc_ptMuonMin,
196  mc_metMin = mcSel_RA5RA6_2e.mc_metMin,
197  mc_ptTauMin = mcSel_RA5RA6_2e.mc_ptTauMin,
198  mc_ptJetForHtMin = mcSel_RA5RA6_2e.mc_ptJetForHtMin,
199  mc_htMin = mcSel_RA5RA6_2e.mc_htMin,
200  mc_nTau = mcSel_RA5RA6_2e.mc_nTau,
201  mc_nMuonRule = mcSel_RA5RA6_2e.mc_nMuonRule,
202  mc_nElecRule = mcSel_RA5RA6_2e.mc_nElecRule
203  ),
204  cms.PSet(
205  name = cms.string("RA5RA6_2m"),
206  genMet = cms.string('genMetTrue'),
207  genJets = cms.string('iterativeCone5GenJets'),
208  mcparticles = cms.string('genParticles'),
209  mc_nJet = mcSel_RA5RA6_2m.mc_nJet,
210  mc_nPhot = mcSel_RA5RA6_2m.mc_nPhot,
211  mc_nElec = mcSel_RA5RA6_2m.mc_nElec,
212  mc_nMuon = mcSel_RA5RA6_2m.mc_nMuon,
213  mc_ptElecMin = mcSel_RA5RA6_2m.mc_ptElecMin,
214  mc_ptPhotMin = mcSel_RA5RA6_2m.mc_ptPhotMin,
215  mc_ptJetMin = mcSel_RA5RA6_2m.mc_ptJetMin,
216  mc_ptMuonMin = mcSel_RA5RA6_2m.mc_ptMuonMin,
217  mc_metMin = mcSel_RA5RA6_2m.mc_metMin,
218  mc_ptTauMin = mcSel_RA5RA6_2m.mc_ptTauMin,
219  mc_ptJetForHtMin = mcSel_RA5RA6_2m.mc_ptJetForHtMin,
220  mc_htMin = mcSel_RA5RA6_2m.mc_htMin,
221  mc_nTau = mcSel_RA5RA6_2m.mc_nTau,
222  mc_nMuonRule = mcSel_RA5RA6_2m.mc_nMuonRule,
223  mc_nElecRule = mcSel_RA5RA6_2m.mc_nElecRule
224  ),
225  cms.PSet(
226  name = cms.string("RA7_1e2m"),
227  genMet = cms.string('genMetTrue'),
228  genJets = cms.string('iterativeCone5GenJets'),
229  mcparticles = cms.string('genParticles'),
230  mc_nJet = mcSel_RA7_1e2m.mc_nJet,
231  mc_nPhot = mcSel_RA7_1e2m.mc_nPhot,
232  mc_nElec = mcSel_RA7_1e2m.mc_nElec,
233  mc_nMuon = mcSel_RA7_1e2m.mc_nMuon,
234  mc_ptElecMin = mcSel_RA7_1e2m.mc_ptElecMin,
235  mc_ptPhotMin = mcSel_RA7_1e2m.mc_ptPhotMin,
236  mc_ptJetMin = mcSel_RA7_1e2m.mc_ptJetMin,
237  mc_ptMuonMin = mcSel_RA7_1e2m.mc_ptMuonMin,
238  mc_metMin = mcSel_RA7_1e2m.mc_metMin,
239  mc_ptTauMin = mcSel_RA7_1e2m.mc_ptTauMin,
240  mc_ptJetForHtMin = mcSel_RA7_1e2m.mc_ptJetForHtMin,
241  mc_htMin = mcSel_RA7_1e2m.mc_htMin,
242  mc_nTau = mcSel_RA7_1e2m.mc_nTau,
243  mc_nMuonRule = mcSel_RA7_1e2m.mc_nMuonRule,
244  mc_nElecRule = mcSel_RA7_1e2m.mc_nElecRule
245  ),
246  cms.PSet(
247  name = cms.string("RA7_2e1m"),
248  genMet = cms.string('genMetTrue'),
249  genJets = cms.string('iterativeCone5GenJets'),
250  mcparticles = cms.string('genParticles'),
251  mc_nJet = mcSel_RA7_2e1m.mc_nJet,
252  mc_nPhot = mcSel_RA7_2e1m.mc_nPhot,
253  mc_nElec = mcSel_RA7_2e1m.mc_nElec,
254  mc_nMuon = mcSel_RA7_2e1m.mc_nMuon,
255  mc_ptElecMin = mcSel_RA7_2e1m.mc_ptElecMin,
256  mc_ptPhotMin = mcSel_RA7_2e1m.mc_ptPhotMin,
257  mc_ptJetMin = mcSel_RA7_2e1m.mc_ptJetMin,
258  mc_ptMuonMin = mcSel_RA7_2e1m.mc_ptMuonMin,
259  mc_metMin = mcSel_RA7_2e1m.mc_metMin,
260  mc_ptTauMin = mcSel_RA7_2e1m.mc_ptTauMin,
261  mc_ptJetForHtMin = mcSel_RA7_2e1m.mc_ptJetForHtMin,
262  mc_htMin = mcSel_RA7_2e1m.mc_htMin,
263  mc_nTau = mcSel_RA7_2e1m.mc_nTau,
264  mc_nMuonRule = mcSel_RA7_2e1m.mc_nMuonRule,
265  mc_nElecRule = mcSel_RA7_2e1m.mc_nElecRule
266  ),
267  cms.PSet(
268  name = cms.string("RA7_3e"),
269  genMet = cms.string('genMetTrue'),
270  genJets = cms.string('iterativeCone5GenJets'),
271  mcparticles = cms.string('genParticles'),
272  mc_nJet = mcSel_RA7_3e.mc_nJet,
273  mc_nPhot = mcSel_RA7_3e.mc_nPhot,
274  mc_nElec = mcSel_RA7_3e.mc_nElec,
275  mc_nMuon = mcSel_RA7_3e.mc_nMuon,
276  mc_ptElecMin = mcSel_RA7_3e.mc_ptElecMin,
277  mc_ptPhotMin = mcSel_RA7_3e.mc_ptPhotMin,
278  mc_ptJetMin = mcSel_RA7_3e.mc_ptJetMin,
279  mc_ptMuonMin = mcSel_RA7_3e.mc_ptMuonMin,
280  mc_metMin = mcSel_RA7_3e.mc_metMin,
281  mc_ptTauMin = mcSel_RA7_3e.mc_ptTauMin,
282  mc_ptJetForHtMin = mcSel_RA7_3e.mc_ptJetForHtMin,
283  mc_htMin = mcSel_RA7_3e.mc_htMin,
284  mc_nTau = mcSel_RA7_3e.mc_nTau,
285  mc_nMuonRule = mcSel_RA7_3e.mc_nMuonRule,
286  mc_nElecRule = mcSel_RA7_3e.mc_nElecRule
287  ),
288  cms.PSet(
289  name = cms.string("RA7_3m"),
290  genMet = cms.string('genMetTrue'),
291  genJets = cms.string('iterativeCone5GenJets'),
292  mcparticles = cms.string('genParticles'),
293  mc_nJet = mcSel_RA7_3m.mc_nJet,
294  mc_nPhot = mcSel_RA7_3m.mc_nPhot,
295  mc_nElec = mcSel_RA7_3m.mc_nElec,
296  mc_nMuon = mcSel_RA7_3m.mc_nMuon,
297  mc_ptElecMin = mcSel_RA7_3m.mc_ptElecMin,
298  mc_ptPhotMin = mcSel_RA7_3m.mc_ptPhotMin,
299  mc_ptJetMin = mcSel_RA7_3m.mc_ptJetMin,
300  mc_ptMuonMin = mcSel_RA7_3m.mc_ptMuonMin,
301  mc_metMin = mcSel_RA7_3m.mc_metMin,
302  mc_ptTauMin = mcSel_RA7_3m.mc_ptTauMin,
303  mc_ptJetForHtMin = mcSel_RA7_3m.mc_ptJetForHtMin,
304  mc_htMin = mcSel_RA7_3m.mc_htMin,
305  mc_nTau = mcSel_RA7_3m.mc_nTau,
306  mc_nMuonRule = mcSel_RA7_3m.mc_nMuonRule,
307  mc_nElecRule = mcSel_RA7_3m.mc_nElecRule
308  )
309  ),
310 
311  mc_flag = cms.untracked.bool(True), ## put mc_flag = false if you don't want to use the mc information.
312  l1_flag = cms.untracked.bool(False), ## put l1_flag = false if you don't want the plots for the L1 objects.
313  ## Put false for usage in the DQM framework (reduce the number of bins).
314  triggerTag = cms.InputTag("hltTriggerSummaryAOD"),
315  hltConfigName = cms.string("HLT"),
316  hltPathsToCheck = cms.vstring(
317  "HLT_RsqMR45_Rsq0p09_v",
318  "HLT_RsqMR55_Rsq0p09_MR150_v",
319  "HLT_IsoMu12_RsqMR30_Rsq0p04_MR200_v",
320  "HLT_Ele12_CaloIdT_CaloIsoVL_TrkIdVL_TrkIsoVL_RsqMR30_Rsq0p04_MR200_v",
321  "HLT_Photon40_CaloIdL_RsqMR40_Rsq0p09_MR150_v",
322  "HLT_HT750_v",
323  "HLT_PFNoPUHT650_v",
324  "HLT_PFNoPUHT350_PFMET100_v",
325  "HLT_QuadJet50_v",
326  "HLT_SixJet45_v",
327  "HLT_EightJet30_eta3p0_v",
328  "HLT_PFMET150_v",
329  "HLT_DiCentralPFNoPUJet50_PFMETORPFMETNoMu80_v",
330  "HLT_HT200_AlphaT0p57_v",
331  "HLT_HT250_AlphaT0p55_v",
332  "HLT_HT300_AlphaT0p53_v",
333  "HLT_HT350_AlphaT0p52_v",
334  "HLT_HT400_AlphaT0p51_v",
335  "HLT_HT450_AlphaT0p51_v",
336  "HLT_Ele25_CaloIdVT_CaloIsoVL_TrkIdVL_TrkIsoT_TriCentralPFNoPUJet30_v",
337  "HLT_IsoMu17_eta2p1_TriCentralPFNoPUJet30_30_20_v",
338  "HLT_CleanPFNoPUHT300_Ele40_CaloIdVT_TrkIdT_v",
339  "HLT_Mu40_PFNoPUHT350_v",
340  "HLT_PFNoPUHT350_Mu15_PFMET50_v",
341  "HLT_PFNoPUHT400_Mu5_PFMET50_v"
342  ),
343  muonTag = cms.InputTag('muons'),
344  histoFileName = cms.untracked.string('MonElements_LM1_IDEAL_30x_v1_300pre7.root'),
345  PlotMakerL1Input = cms.PSet(
346  l1extramc = cms.string('hltL1extraParticles')
347  ),
348  PlotMakerRecoInput = cms.PSet(
349  def_electronPtMin = cms.double(10.0),
350  def_muonPtMin = cms.double(7.0),
351  def_photonPtMin = cms.double(30.0),
352  calomet = cms.string('met'),
353  electrons = cms.string('gedGsfElectrons'),
354  jets = cms.string('iterativeCone5CaloJets'),
355  muons = cms.string('muons'),
356  def_jetPtMin = cms.double(30.0),
357  photons = cms.string(''),
358  photonProducer = cms.string('photons'),
359  BinFactor = cms.int32(1) #put a number >1 to have a larger number of bins for eta and phi distributions. Put 1 for DQM.
360  )
361 )