CMS 3D CMS Logo

SusyMonitoring_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
7 from DQMOffline.Trigger.TopMonitor_cfi import hltTOPmonitoring
8 
9 #george
10 #muon
11 double_soft_muon_muonpt = hltTOPmonitoring.clone()
12 double_soft_muon_muonpt.FolderName = cms.string('HLT/SUSY/SOS/Muon/')
13 # Selections
14 double_soft_muon_muonpt.nmuons = cms.uint32(2)
15 double_soft_muon_muonpt.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
16 double_soft_muon_muonpt.HTcut = cms.double(60)
17 double_soft_muon_muonpt.metSelection =cms.string('pt>150')
18 double_soft_muon_muonpt.MHTdefinition = cms.string('pt>30 & abs(eta)<2.4')
19 double_soft_muon_muonpt.MHTcut = cms.double(150)
20 double_soft_muon_muonpt.invMassUppercut = cms.double(50)
21 double_soft_muon_muonpt.invMassLowercut = cms.double(10)
22 # Binning
23 double_soft_muon_muonpt.histoPSet.muPtBinning =cms.vdouble(0,2,5,7,10,12,15,17,20,25,30,50)
24 double_soft_muon_muonpt.histoPSet.muPtBinning2D =cms.vdouble(0,2,5,7,10,12,15,17,20,25,30,50)
25 # Triggers
26 double_soft_muon_muonpt.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_DoubleMu3_DZ_PFMET50_PFMHT60_v*')
27 double_soft_muon_muonpt.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFMET140_PFMHT140_v*')
28 
29 #met
30 double_soft_muon_metpt = hltTOPmonitoring.clone()
31 double_soft_muon_metpt.FolderName = cms.string('HLT/SUSY/SOS/MET/')
32 # Selections
33 double_soft_muon_metpt.nmuons = cms.uint32(2)
34 double_soft_muon_metpt.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
35 double_soft_muon_metpt.HTcut = cms.double(60)
36 double_soft_muon_metpt.muoSelection =cms.string('pt>18 & abs(eta)<2.4')
37 double_soft_muon_metpt.MHTdefinition = cms.string('pt>30 & abs(eta)<2.4')
38 double_soft_muon_metpt.MHTcut = cms.double(150)
39 double_soft_muon_metpt.invMassUppercut = cms.double(50)
40 double_soft_muon_metpt.invMassLowercut = cms.double(10)
41 # Binning
42 double_soft_muon_metpt.histoPSet.metPSet =cms.PSet(nbins=cms.uint32(50),xmin=cms.double(50),xmax=cms.double(300) )
43 # Triggers
44 double_soft_muon_metpt.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_DoubleMu3_DZ_PFMET50_PFMHT60_v*')
45 double_soft_muon_metpt.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v*')
46 
47 #inv Mass
48 double_soft_muon_mll = hltTOPmonitoring.clone()
49 double_soft_muon_mll.FolderName = cms.string('HLT/SUSY/SOS/Mll/')
50 # Selections
51 double_soft_muon_mll.nmuons = cms.uint32(2)
52 double_soft_muon_mll.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
53 double_soft_muon_mll.HTcut = cms.double(60)
54 double_soft_muon_mll.muoSelection =cms.string('pt>10 & abs(eta)<2.4')
55 double_soft_muon_mll.MHTdefinition = cms.string('pt>30 & abs(eta)<2.4')
56 double_soft_muon_mll.MHTcut = cms.double(150)
57 double_soft_muon_mll.metSelection = cms.string('pt>150')
58 # Binning
59 double_soft_muon_mll.histoPSet.invMassVariableBinning =cms.vdouble(8,12,15,20,25,30,35,40,45,47,50,60)
60 
61 # Triggers
62 double_soft_muon_mll.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_DoubleMu3_DZ_PFMET50_PFMHT60_v*')
63 double_soft_muon_mll.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Dimuon12_Upsilon_eta1p5_v*')
64 
65 #mht
66 double_soft_muon_mhtpt = hltTOPmonitoring.clone()
67 double_soft_muon_mhtpt.FolderName = cms.string('HLT/SUSY/SOS/MHT/')
68 # Selections
69 double_soft_muon_mhtpt.nmuons = cms.uint32(2)
70 double_soft_muon_mhtpt.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
71 double_soft_muon_mhtpt.HTcut = cms.double(60)
72 double_soft_muon_mhtpt.muoSelection =cms.string('pt>18 & abs(eta)<2.0')
73 double_soft_muon_mhtpt.MHTdefinition = cms.string('pt>30 & abs(eta)<2.4')
74 double_soft_muon_mhtpt.metSelection = cms.string('pt>150')
75 double_soft_muon_mhtpt.invMassUppercut = cms.double(50)
76 double_soft_muon_mhtpt.invMassLowercut = cms.double(10)
77 # Binning
78 double_soft_muon_mhtpt.histoPSet.MHTVariableBinning =cms.vdouble(50,60,70,80,90,100,110,120,130,150,200,300)
79 
80 # Triggers
81 double_soft_muon_mhtpt.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_DoubleMu3_DZ_PFMET50_PFMHT60_v*')
82 double_soft_muon_mhtpt.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v*')
83 
84 #backup1
85 #met
86 double_soft_muon_backup_70_metpt = hltTOPmonitoring.clone()
87 double_soft_muon_backup_70_metpt.FolderName = cms.string('HLT/SUSY/SOS/Baclup70/MET/')
88 # Selections
89 double_soft_muon_backup_70_metpt.nmuons = cms.uint32(2)
90 double_soft_muon_backup_70_metpt.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
91 double_soft_muon_backup_70_metpt.HTcut = cms.double(60)
92 double_soft_muon_backup_70_metpt.muoSelection =cms.string('pt>18 & abs(eta)<2.4')
93 double_soft_muon_backup_70_metpt.MHTdefinition = cms.string('pt>30 & abs(eta)<2.4')
94 double_soft_muon_backup_70_metpt.MHTcut = cms.double(150)
95 double_soft_muon_backup_70_metpt.invMassUppercut = cms.double(50)
96 double_soft_muon_backup_70_metpt.invMassLowercut = cms.double(10)
97 # Binning
98 double_soft_muon_backup_70_metpt.histoPSet.metPSet =cms.PSet(nbins=cms.uint32(50),xmin=cms.double(50),xmax=cms.double(300) )
99 # Triggers
100 double_soft_muon_backup_70_metpt.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_DoubleMu3_DZ_PFMET70_PFMHT70_v*')
101 double_soft_muon_backup_70_metpt.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v*')
102 
103 #mht
104 double_soft_muon_backup_70_mhtpt = hltTOPmonitoring.clone()
105 double_soft_muon_backup_70_mhtpt.FolderName = cms.string('HLT/SUSY/SOS/backup70/MHT/')
106 # Selections
107 double_soft_muon_backup_70_mhtpt.nmuons = cms.uint32(2)
108 double_soft_muon_backup_70_mhtpt.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
109 double_soft_muon_backup_70_mhtpt.HTcut = cms.double(60)
110 double_soft_muon_backup_70_mhtpt.muoSelection =cms.string('pt>18 & abs(eta)<2.0')
111 double_soft_muon_backup_70_mhtpt.MHTdefinition = cms.string('pt>30 & abs(eta)<2.4')
112 double_soft_muon_backup_70_mhtpt.metSelection = cms.string('pt>150')
113 double_soft_muon_backup_70_mhtpt.invMassUppercut = cms.double(50)
114 double_soft_muon_backup_70_mhtpt.invMassLowercut = cms.double(10)
115 # Binning
116 double_soft_muon_backup_70_mhtpt.histoPSet.MHTVariableBinning =cms.vdouble(50,60,70,80,90,100,110,120,130,150,200,300)
117 
118 # Triggers
119 double_soft_muon_backup_70_mhtpt.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_DoubleMu3_DZ_PFMET70_PFMHT70_v*')
120 double_soft_muon_backup_70_mhtpt.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v*')
121 
122 #backup2
123 #met
124 double_soft_muon_backup_90_metpt = hltTOPmonitoring.clone()
125 double_soft_muon_backup_90_metpt.FolderName = cms.string('HLT/SUSY/SOS/Baclup90/MET/')
126 # Selections
127 double_soft_muon_backup_90_metpt.nmuons = cms.uint32(2)
128 double_soft_muon_backup_90_metpt.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
129 double_soft_muon_backup_90_metpt.HTcut = cms.double(60)
130 double_soft_muon_backup_90_metpt.muoSelection =cms.string('pt>18 & abs(eta)<2.4')
131 double_soft_muon_backup_90_metpt.MHTdefinition = cms.string('pt>30 & abs(eta)<2.4')
132 double_soft_muon_backup_90_metpt.MHTcut = cms.double(150)
133 double_soft_muon_backup_90_metpt.invMassUppercut = cms.double(50)
134 double_soft_muon_backup_90_metpt.invMassLowercut = cms.double(10)
135 # Binning
136 double_soft_muon_backup_90_metpt.histoPSet.metPSet =cms.PSet(nbins=cms.uint32(50),xmin=cms.double(50),xmax=cms.double(300) )
137 # Triggers
138 double_soft_muon_backup_90_metpt.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_DoubleMu3_DZ_PFMET90_PFMHT90_v*')
139 double_soft_muon_backup_90_metpt.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v*')
140 
141 #mht
142 double_soft_muon_backup_90_mhtpt = hltTOPmonitoring.clone()
143 double_soft_muon_backup_90_mhtpt.FolderName = cms.string('HLT/SUSY/SOS/backup90/MHT/')
144 # Selections
145 double_soft_muon_backup_90_mhtpt.nmuons = cms.uint32(2)
146 double_soft_muon_backup_90_mhtpt.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
147 double_soft_muon_backup_90_mhtpt.HTcut = cms.double(60)
148 double_soft_muon_backup_90_mhtpt.muoSelection =cms.string('pt>18 & abs(eta)<2.0')
149 double_soft_muon_backup_90_mhtpt.MHTdefinition = cms.string('pt>30 & abs(eta)<2.4')
150 double_soft_muon_backup_90_mhtpt.metSelection = cms.string('pt>150')
151 double_soft_muon_backup_90_mhtpt.invMassUppercut = cms.double(50)
152 double_soft_muon_backup_90_mhtpt.invMassLowercut = cms.double(10)
153 # Binning
154 double_soft_muon_backup_90_mhtpt.histoPSet.MHTVariableBinning =cms.vdouble(50,60,70,80,90,100,110,120,130,150,200,300)
155 
156 # Triggers
157 double_soft_muon_backup_90_mhtpt.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_DoubleMu3_DZ_PFMET90_PFMHT90_v*')
158 double_soft_muon_backup_90_mhtpt.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v*')
159 
160 #triple muon
161 triple_muon_mupt = hltTOPmonitoring.clone()
162 triple_muon_mupt.FolderName = cms.string('HLT/SUSY/SOS/TrileMu/Muon')
163 # Selections
164 triple_muon_mupt.nmuons = cms.uint32(3)
165 triple_muon_mupt.muoSelection =cms.string('isGlobalMuon() ')
166 triple_muon_mupt.invMassUppercut = cms.double(50)
167 triple_muon_mupt.invMassLowercut = cms.double(10)
168 triple_muon_mupt.invMassCutInAllMuPairs=cms.bool(True)
169 # Binning
170 
171 # Triggers
172 triple_muon_mupt.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_TripleMu_5_3_3_Mass3p8to60_DZ_v*')
173 triple_muon_mupt.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Trimuon5_3p5_2_Upsilon_Muon_v*')
174 
175 #triplemu dca
176 triple_muon_dca_mupt = hltTOPmonitoring.clone()
177 triple_muon_dca_mupt.FolderName = cms.string('HLT/SUSY/SOS/TrileMu/DCA/Muon')
178 # Selections
179 triple_muon_dca_mupt.nmuons = cms.uint32(3)
180 triple_muon_dca_mupt.muoSelection =cms.string('isGlobalMuon() ')
181 triple_muon_dca_mupt.invMassUppercut = cms.double(50)
182 triple_muon_dca_mupt.invMassLowercut = cms.double(10)
183 triple_muon_dca_mupt.invMassCutInAllMuPairs=cms.bool(True)
184 # Binning
185 
186 # Triggers
187 triple_muon_dca_mupt.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_TripleMu_5_3_3_Mass3p8to60_DCA_v*')
188 triple_muon_dca_mupt.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Trimuon5_3p5_2_Upsilon_Muon_v*')
189 
190 
191 
192 susyMuEGMonitoring = hltTOPmonitoring.clone()
193 susyMuEGMonitoring.FolderName = cms.string('HLT/SUSY/MuonEG/')
194 susyMuEGMonitoring.nmuons = cms.uint32(1)
195 susyMuEGMonitoring.nphotons = cms.uint32(1)
196 susyMuEGMonitoring.nelectrons = cms.uint32(0)
197 susyMuEGMonitoring.njets = cms.uint32(0)
198 susyMuEGMonitoring.enablePhotonPlot = cms.bool(True)
199 susyMuEGMonitoring.muoSelection = cms.string('pt>26 & abs(eta)<2.1 & isPFMuon & isGlobalMuon & isTrackerMuon & numberOfMatches>1 & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10 & (pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.) )/pt<0.15')
200 susyMuEGMonitoring.phoSelection = cms.string('(pt > 30 && abs(eta)<1.4442 && hadTowOverEm<0.0597 && full5x5_sigmaIetaIeta()<0.01031 && chargedHadronIso<1.295 && neutralHadronIso < 5.931+0.0163*pt+0.000014*pt*pt && photonIso < 6.641+0.0034*pt) || (pt > 30 && abs(eta)>1.4442 && hadTowOverEm<0.0481 && full5x5_sigmaIetaIeta()<0.03013 && chargedHadronIso<1.011 && neutralHadronIso < 1.715+0.0163*pt+0.000014*pt*pt && photonIso < 3.863+0.0034*pt)')
201 susyMuEGMonitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_Photon30_IsoCaloId*')
202 susyMuEGMonitoring.denGenericTriggerEventPSet.hltPaths = cms.vstring('')
203 
204 #george
205 #muon dca
206 double_soft_muon_dca_muonpt = hltTOPmonitoring.clone()
207 double_soft_muon_dca_muonpt.FolderName = cms.string('HLT/SUSY/SOS/DCA/Muon/')
208 # Selections
209 double_soft_muon_dca_muonpt.nmuons = cms.uint32(2)
210 double_soft_muon_dca_muonpt.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
211 double_soft_muon_dca_muonpt.HTcut = cms.double(60)
212 double_soft_muon_dca_muonpt.metSelection =cms.string('pt>150')
213 double_soft_muon_dca_muonpt.MHTdefinition = cms.string('pt>30 & abs(eta)<2.4')
214 double_soft_muon_dca_muonpt.MHTcut = cms.double(150)
215 double_soft_muon_dca_muonpt.invMassUppercut = cms.double(50)
216 double_soft_muon_dca_muonpt.invMassLowercut = cms.double(10)
217 # Binning
218 double_soft_muon_dca_muonpt.histoPSet.muPtBinning =cms.vdouble(0,2,5,7,10,12,15,17,20,25,30,50)
219 double_soft_muon_dca_muonpt.histoPSet.muPtBinning2D =cms.vdouble(0,2,5,7,10,12,15,17,20,25,30,50)
220 # Triggers
221 double_soft_muon_dca_muonpt.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_DoubleMu3_DCA_PFMET50_PFMHT60_v*')
222 double_soft_muon_dca_muonpt.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFMET140_PFMHT140_v*')
223 
224 #met
225 double_soft_muon_dca_metpt = hltTOPmonitoring.clone()
226 double_soft_muon_dca_metpt.FolderName = cms.string('HLT/SUSY/SOS/DCA/MET/')
227 # Selections
228 double_soft_muon_dca_metpt.nmuons = cms.uint32(2)
229 double_soft_muon_dca_metpt.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
230 double_soft_muon_dca_metpt.HTcut = cms.double(60)
231 double_soft_muon_dca_metpt.muoSelection =cms.string('pt>18 & abs(eta)<2.4')
232 double_soft_muon_dca_metpt.MHTdefinition = cms.string('pt>30 & abs(eta)<2.4')
233 double_soft_muon_dca_metpt.MHTcut = cms.double(150)
234 double_soft_muon_dca_metpt.invMassUppercut = cms.double(50)
235 double_soft_muon_dca_metpt.invMassLowercut = cms.double(10)
236 # Binning
237 double_soft_muon_dca_metpt.histoPSet.metPSet =cms.PSet(nbins=cms.uint32(50),xmin=cms.double(50),xmax=cms.double(300) )
238 # Triggers
239 double_soft_muon_dca_metpt.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_DoubleMu3_DCA_PFMET50_PFMHT60_v*')
240 double_soft_muon_dca_metpt.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_v*')
241 
242 
243 susyMonitorHLT = cms.Sequence(
244  susyHLTRazorMonitoring
245 )
246 
247 susHLTDQMSourceExtra = cms.Sequence(
248  susyHLTVBFMonitoring
249  + LepHTMonitor
250  + susyHLTEleCaloJets
251  + double_soft_muon_muonpt
252  + double_soft_muon_metpt
253  + double_soft_muon_mhtpt
254  + double_soft_muon_mll
255  + double_soft_muon_backup_70_metpt
256  + double_soft_muon_backup_70_mhtpt
257  + double_soft_muon_backup_90_metpt
258  + double_soft_muon_backup_90_mhtpt
259  + susyMuEGMonitoring
260  +double_soft_muon_dca_muonpt
261  +double_soft_muon_dca_metpt
262 )