CMS 3D CMS Logo

TopMonitoring_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMOffline.Trigger.TopMonitor_cfi import hltTOPmonitoring
4 
5 topEleJet_jet = hltTOPmonitoring.clone()
6 topEleJet_jet.FolderName = cms.string('HLT/TOP/EleJet/JetMonitor')
7 topEleJet_jet.nmuons = cms.uint32(0)
8 topEleJet_jet.nelectrons = cms.uint32(1)
9 topEleJet_jet.njets = cms.uint32(1)
10 topEleJet_jet.eleSelection = cms.string('pt>50 & abs(eta)<2.1')
11 topEleJet_jet.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
12 topEleJet_jet.histoPSet.eleEtaBinning = cms.vdouble(-2.1,-1.5,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.5,2.1)
13 topEleJet_jet.histoPSet.eleEtaBinning2D = cms.vdouble(-2.1,-1.5,-0.6,0,0.6,1.5,2.1)
14 topEleJet_jet.histoPSet.elePtBinning = cms.vdouble(0,50,60,80,120,200,400)
15 topEleJet_jet.histoPSet.elePtBinning2D = cms.vdouble(0,50,70,120,200,400)
16 topEleJet_jet.histoPSet.jetPtBinning = cms.vdouble(0,30,35,37.5,40,50,60,80,120,200,400)
17 topEleJet_jet.histoPSet.jetPtBinning2D = cms.vdouble(0,30,35,40,50,60,80,100,200,400)
18 topEleJet_jet.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Ele30_eta2p1_WPTight_Gsf_CentralPFJet35_EleCleaned_v*')
19 topEleJet_jet.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Ele35_WPTight_Gsf_v*',
20  'HLT_Ele38_WPTight_Gsf_v*',
21  'HLT_Ele40_WPTight_Gsf_v*',)
22 
23 topEleJet_ele = hltTOPmonitoring.clone()
24 topEleJet_ele.FolderName = cms.string('HLT/TOP/EleJet/ElectronMonitor')
25 topEleJet_ele.nmuons = cms.uint32(0)
26 topEleJet_ele.nelectrons = cms.uint32(1)
27 topEleJet_ele.njets = cms.uint32(1)
28 topEleJet_ele.eleSelection = cms.string('pt>25 & abs(eta)<2.1')
29 topEleJet_ele.jetSelection = cms.string('pt>50 & abs(eta)<2.4')
30 topEleJet_ele.histoPSet.eleEtaBinning = cms.vdouble(-2.1,-1.5,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.5,2.1)
31 topEleJet_ele.histoPSet.eleEtaBinning2D = cms.vdouble(-2.1,-1.5,-0.6,0,0.6,1.5,2.1)
32 topEleJet_ele.histoPSet.elePtBinning = cms.vdouble(0,25,30,32.5,35,40,45,50,60,80,120,200,400)
33 topEleJet_ele.histoPSet.elePtBinning2D = cms.vdouble(0,25,30,40,50,60,80,100,200,400)
34 topEleJet_ele.histoPSet.jetPtBinning = cms.vdouble(0,50,60,80,120,200,400)
35 topEleJet_ele.histoPSet.jetPtBinning2D = cms.vdouble(0,50,60,80,100,200,400)
36 topEleJet_ele.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Ele30_eta2p1_WPTight_Gsf_CentralPFJet35_EleCleaned_v*')
37 topEleJet_ele.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFJet60_v*',
38  'HLT_PFJet80_v*',
39  'HLT_PFJet140_v*',
40  'HLT_PFJet200_v*',
41  'HLT_PFJet260_v*',
42  'HLT_PFJet320_v*',
43  'HLT_PFJet400_v*',
44  'HLT_PFJet450_v*',
45  'HLT_PFJet500_v*',
46  'HLT_PFJet550_v*',)
47 
48 topEleJet_all = hltTOPmonitoring.clone()
49 topEleJet_all.FolderName = cms.string('HLT/TOP/EleJet/GlobalMonitor')
50 topEleJet_all.nmuons = cms.uint32(0)
51 topEleJet_all.nelectrons = cms.uint32(1)
52 topEleJet_all.njets = cms.uint32(1)
53 topEleJet_all.eleSelection = cms.string('pt>25 & abs(eta)<2.1')
54 topEleJet_all.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
55 topEleJet_all.histoPSet.eleEtaBinning = cms.vdouble(-2.1,-1.5,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.5,2.1)
56 topEleJet_all.histoPSet.eleEtaBinning2D = cms.vdouble(-2.1,-1.5,-0.6,0,0.6,1.5,2.1)
57 topEleJet_all.histoPSet.elePtBinning = cms.vdouble(0,25,30,32.5,35,40,45,50,60,80,120,200,400)
58 topEleJet_all.histoPSet.elePtBinning2D = cms.vdouble(0,25,30,40,50,60,80,100,200,400)
59 topEleJet_all.histoPSet.jetPtBinning = cms.vdouble(0,30,35,37.5,40,50,60,80,120,200,400)
60 topEleJet_all.histoPSet.jetPtBinning2D = cms.vdouble(0,30,35,40,50,60,80,100,200,400)
61 topEleJet_all.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Ele30_eta2p1_WPTight_Gsf_CentralPFJet35_EleCleaned_v*')
62 # topEleJet_all.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_IsoMu24_v*')
63 
64 
65 topEleHT_ht = hltTOPmonitoring.clone()
66 topEleHT_ht.FolderName = cms.string('HLT/TOP/EleHT/HTMonitor')
67 topEleHT_ht.nmuons = cms.uint32(0)
68 topEleHT_ht.nelectrons = cms.uint32(1)
69 topEleHT_ht.njets = cms.uint32(2)
70 topEleHT_ht.eleSelection = cms.string('pt>50 & abs(eta)<2.1')
71 topEleHT_ht.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
72 topEleHT_ht.HTcut = cms.double(100)
73 topEleHT_ht.histoPSet.eleEtaBinning = cms.vdouble(-2.1,-1.5,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.5,2.1)
74 topEleHT_ht.histoPSet.eleEtaBinning2D = cms.vdouble(-2.1,-1.5,-0.6,0,0.6,1.5,2.1)
75 topEleHT_ht.histoPSet.elePtBinning = cms.vdouble(0,50,60,80,120,200,400)
76 topEleHT_ht.histoPSet.elePtBinning2D = cms.vdouble(0,50,70,120,200,400)
77 topEleHT_ht.histoPSet.jetPtBinning = cms.vdouble(0,30,40,50,60,80,120,200,400)
78 topEleHT_ht.histoPSet.jetPtBinning2D = cms.vdouble(0,30,40,60,80,100,200,400)
79 topEleHT_ht.histoPSet.HTBinning = cms.vdouble(0,100,120,140,150,160,175,200,300,400,500,700)
80 topEleHT_ht.histoPSet.HTBinning2D = cms.vdouble(0,100,125,150,175,200,400,700)
81 topEleHT_ht.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Ele28_eta2p1_WPTight_Gsf_HT150_v*')
82 topEleHT_ht.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Ele35_WPTight_Gsf_v*',
83  'HLT_Ele38_WPTight_Gsf_v*',
84  'HLT_Ele40_WPTight_Gsf_v*',)
85 
86 topEleHT_ele = hltTOPmonitoring.clone()
87 topEleHT_ele.FolderName = cms.string('HLT/TOP/EleHT/ElectronMonitor')
88 topEleHT_ele.nmuons = cms.uint32(0)
89 topEleHT_ele.nelectrons = cms.uint32(1)
90 topEleHT_ele.njets = cms.uint32(2)
91 topEleHT_ele.eleSelection = cms.string('pt>25 & abs(eta)<2.1')
92 topEleHT_ele.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
93 topEleHT_ele.HTcut = cms.double(200)
94 topEleHT_ele.histoPSet.eleEtaBinning = cms.vdouble(-2.1,-1.5,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.5,2.1)
95 topEleHT_ele.histoPSet.eleEtaBinning2D = cms.vdouble(-2.1,-1.5,-0.6,0,0.6,1.5,2.1)
96 topEleHT_ele.histoPSet.elePtBinning = cms.vdouble(0,25,30,32.5,35,40,45,50,60,80,120,200,400)
97 topEleHT_ele.histoPSet.elePtBinning2D = cms.vdouble(0,25,30,40,50,60,80,100,200,400)
98 topEleHT_ele.histoPSet.jetPtBinning = cms.vdouble(0,30,40,50,60,80,120,200,400)
99 topEleHT_ele.histoPSet.jetPtBinning2D = cms.vdouble(0,30,40,60,80,100,200,400)
100 topEleHT_ele.histoPSet.HTBinning = cms.vdouble(0,200,250,300,350,400,500,700)
101 topEleHT_ele.histoPSet.HTBinning2D = cms.vdouble(0,200,250,300,400,500,700)
102 topEleHT_ele.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Ele28_eta2p1_WPTight_Gsf_HT150_v*')
103 topEleHT_ele.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT250_v*',
104  'HLT_PFHT370_v*',
105  'HLT_PFHT430_v*',
106  'HLT_PFHT510_v*',
107  'HLT_PFHT590_v*',
108  'HLT_PFHT680_v*',
109  'HLT_PFHT780_v*',
110  'HLT_PFHT890_v*',)
111 
112 topEleHT_all = hltTOPmonitoring.clone()
113 topEleHT_all.FolderName = cms.string('HLT/TOP/EleHT/GlobalMonitor')
114 topEleHT_all.nmuons = cms.uint32(0)
115 topEleHT_all.nelectrons = cms.uint32(1)
116 topEleHT_all.njets = cms.uint32(2)
117 topEleHT_all.eleSelection = cms.string('pt>25 & abs(eta)<2.1')
118 topEleHT_all.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
119 topEleHT_all.HTcut = cms.double(100)
120 topEleHT_all.histoPSet.eleEtaBinning = cms.vdouble(-2.1,-1.5,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.5,2.1)
121 topEleHT_all.histoPSet.eleEtaBinning2D = cms.vdouble(-2.1,-1.5,-0.6,0,0.6,1.5,2.1)
122 topEleHT_all.histoPSet.elePtBinning = cms.vdouble(0,25,30,32.5,35,40,45,50,60,80,120,200,400)
123 topEleHT_all.histoPSet.elePtBinning2D = cms.vdouble(0,25,30,40,50,60,80,100,200,400)
124 topEleHT_all.histoPSet.jetPtBinning = cms.vdouble(0,30,40,50,60,80,120,200,400)
125 topEleHT_all.histoPSet.jetPtBinning2D = cms.vdouble(0,30,40,60,80,100,200,400)
126 topEleHT_all.histoPSet.HTBinning = cms.vdouble(0,100,120,140,150,160,175,200,300,400,500,700)
127 topEleHT_all.histoPSet.HTBinning2D = cms.vdouble(0,100,125,150.175,200,400,700)
128 topEleHT_all.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Ele28_eta2p1_WPTight_Gsf_HT150_v*')
129 # topEleHT_all.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_IsoMu24_v*')
130 
131 
132 #ATHER
133 #########SingleMuon
134 topSingleMuonHLTMonitor_Mu24 = hltTOPmonitoring.clone()
135 topSingleMuonHLTMonitor_Mu24.FolderName = cms.string('HLT/TOP/SingleLepton/SingleMuon/Mu24/')
136 topSingleMuonHLTMonitor_Mu24.nmuons = cms.uint32(1)
137 topSingleMuonHLTMonitor_Mu24.nelectrons = cms.uint32(0)
138 topSingleMuonHLTMonitor_Mu24.njets = cms.uint32(0)
139 topSingleMuonHLTMonitor_Mu24.eleSelection = cms.string('pt>30 & abs(eta)<2.4')
140 topSingleMuonHLTMonitor_Mu24.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')
141 topSingleMuonHLTMonitor_Mu24.jetSelection = cms.string('pt>20 & abs(eta)<2.4')
142 topSingleMuonHLTMonitor_Mu24.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_IsoMu24_eta2p1_v*', 'HLT_IsoMu24_v*')
143 
144 topSingleMuonHLTMonitor_Mu27 = hltTOPmonitoring.clone()
145 topSingleMuonHLTMonitor_Mu27.FolderName = cms.string('HLT/TOP/SingleLepton/SingleMuon/Mu27/')
146 topSingleMuonHLTMonitor_Mu27.nmuons = cms.uint32(1)
147 topSingleMuonHLTMonitor_Mu27.nelectrons = cms.uint32(0)
148 topSingleMuonHLTMonitor_Mu27.njets = cms.uint32(0)
149 topSingleMuonHLTMonitor_Mu27.eleSelection = cms.string('pt>30 & abs(eta)<2.4')
150 topSingleMuonHLTMonitor_Mu27.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')
151 topSingleMuonHLTMonitor_Mu27.jetSelection = cms.string('pt>20 & abs(eta)<2.4')
152 topSingleMuonHLTMonitor_Mu27.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_IsoMu27_v*')
153 
154 
155 topSingleMuonHLTMonitor_Mu50 = hltTOPmonitoring.clone()
156 topSingleMuonHLTMonitor_Mu50.FolderName = cms.string('HLT/TOP/SingleLepton/SingleMuon/Mu50/')
157 topSingleMuonHLTMonitor_Mu50.nmuons = cms.uint32(1)
158 topSingleMuonHLTMonitor_Mu50.nelectrons = cms.uint32(0)
159 topSingleMuonHLTMonitor_Mu50.njets = cms.uint32(0)
160 topSingleMuonHLTMonitor_Mu50.eleSelection = cms.string('pt>30 & abs(eta)<2.4')
161 topSingleMuonHLTMonitor_Mu50.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')
162 topSingleMuonHLTMonitor_Mu50.jetSelection = cms.string('pt>20 & abs(eta)<2.4')
163 topSingleMuonHLTMonitor_Mu50.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu50_v*')
164 
165 
166 #########DiElectron
167 topDiElectronHLTMonitor = hltTOPmonitoring.clone()
168 topDiElectronHLTMonitor.FolderName = cms.string('HLT/TOP/DiLepton/DiElectron/Ele23Ele12/')
169 topDiElectronHLTMonitor.nmuons = cms.uint32(0)
170 topDiElectronHLTMonitor.nelectrons = cms.uint32(2)
171 topDiElectronHLTMonitor.njets = cms.uint32(0)
172 topDiElectronHLTMonitor.eleSelection = cms.string('pt>15 & abs(eta)<2.4')
173 topDiElectronHLTMonitor.muoSelection = cms.string('pt>15 & abs(eta)<2.4 & (pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25 & isPFMuon & (isTrackerMuon || isGlobalMuon)')
174 topDiElectronHLTMonitor.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
175 topDiElectronHLTMonitor.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v*')
176 
177 topDiElectronHLTMonitor_Dz = topDiElectronHLTMonitor.clone()
178 topDiElectronHLTMonitor_Dz.FolderName = cms.string('HLT/TOP/DiLepton/DiElectron/Ele23Ele12_DzEfficiency/')
179 topDiElectronHLTMonitor_Dz.denGenericTriggerEventPSet.hltPaths = cms.vstring(['HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v*'])
180 
181 #########DiMuon
182 topDiMuonHLTMonitor_noDz = hltTOPmonitoring.clone()
183 topDiMuonHLTMonitor_noDz.FolderName = cms.string('HLT/TOP/DiLepton/DiMuon/Mu17_Mu8/')
184 topDiMuonHLTMonitor_noDz.nmuons = cms.uint32(2)
185 topDiMuonHLTMonitor_noDz.nelectrons = cms.uint32(0)
186 topDiMuonHLTMonitor_noDz.njets = cms.uint32(0)
187 topDiMuonHLTMonitor_noDz.eleSelection = cms.string('pt>15 & abs(eta)<2.4')
188 topDiMuonHLTMonitor_noDz.muoSelection = cms.string('pt>15 & abs(eta)<2.4 & (pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25 & isPFMuon & (isTrackerMuon || isGlobalMuon)')
189 topDiMuonHLTMonitor_noDz.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
190 topDiMuonHLTMonitor_noDz.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_v*')
191 
192 topDiMuonHLTMonitor_Dz = hltTOPmonitoring.clone()
193 topDiMuonHLTMonitor_Dz.FolderName = cms.string('HLT/TOP/DiLepton/DiMuon/Mu17_Mu8_Dz/')
194 topDiMuonHLTMonitor_Dz.nmuons = cms.uint32(2)
195 topDiMuonHLTMonitor_Dz.nelectrons = cms.uint32(0)
196 topDiMuonHLTMonitor_Dz.njets = cms.uint32(0)
197 topDiMuonHLTMonitor_Dz.eleSelection = cms.string('pt>15 & abs(eta)<2.4')
198 topDiMuonHLTMonitor_Dz.muoSelection = cms.string('pt>15 & abs(eta)<2.4 & (pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25 & isPFMuon & (isTrackerMuon || isGlobalMuon)')
199 topDiMuonHLTMonitor_Dz.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
200 topDiMuonHLTMonitor_Dz.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v*')
201 
202 topDiMuonHLTMonitor_Dz_Mu17_Mu8 = topDiMuonHLTMonitor_Dz.clone()
203 topDiMuonHLTMonitor_Dz_Mu17_Mu8.FolderName = cms.string('HLT/TOP/DiLepton/DiMuon/Mu17_Mu8_DzEfficiency/')
204 topDiMuonHLTMonitor_Dz_Mu17_Mu8.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v*')
205 topDiMuonHLTMonitor_Dz_Mu17_Mu8.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_v*')
206 
207 topDiMuonHLTMonitor_Mass8 = hltTOPmonitoring.clone()
208 topDiMuonHLTMonitor_Mass8.FolderName = cms.string('HLT/TOP/DiLepton/DiMuon/Mass8/')
209 topDiMuonHLTMonitor_Mass8.nmuons = cms.uint32(2)
210 topDiMuonHLTMonitor_Mass8.nelectrons = cms.uint32(0)
211 topDiMuonHLTMonitor_Mass8.njets = cms.uint32(0)
212 topDiMuonHLTMonitor_Mass8.eleSelection = cms.string('pt>15 & abs(eta)<2.4')
213 topDiMuonHLTMonitor_Mass8.muoSelection = cms.string('pt>15 & abs(eta)<2.4 & (pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25 & isPFMuon & (isTrackerMuon || isGlobalMuon)')
214 topDiMuonHLTMonitor_Mass8.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
215 topDiMuonHLTMonitor_Mass8.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v*')
216 
217 
218 topDiMuonHLTMonitor_Mass3p8 = hltTOPmonitoring.clone()
219 #topDiMuonHLTMonitor_Mass3p8.FolderName = cms.string('HLT/TopHLTOffline/TopMonitor/DiLepton/DiMuon/Mass3p8/')
220 topDiMuonHLTMonitor_Mass3p8.FolderName = cms.string('HLT/TOP/DiLepton/DiMuon/Mass3p8/')
221 topDiMuonHLTMonitor_Mass3p8.nmuons = cms.uint32(2)
222 topDiMuonHLTMonitor_Mass3p8.nelectrons = cms.uint32(0)
223 topDiMuonHLTMonitor_Mass3p8.njets = cms.uint32(0)
224 topDiMuonHLTMonitor_Mass3p8.eleSelection = cms.string('pt>15 & abs(eta)<2.4')
225 topDiMuonHLTMonitor_Mass3p8.muoSelection = cms.string('pt>15 & abs(eta)<2.4 & (pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25 & isPFMuon & (isTrackerMuon || isGlobalMuon)')
226 topDiMuonHLTMonitor_Mass3p8.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
227 topDiMuonHLTMonitor_Mass3p8.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v*')
228 
229 topDiMuonHLTMonitor_Mass8Mon = hltTOPmonitoring.clone()
230 #topDiMuonHLTMonitor_Mass8Mon.FolderName = cms.string('HLT/TopHLTOffline/TopMonitor/DiLepton/DiMuon/Mu17_Mu8_Mass8Efficiency/')
231 topDiMuonHLTMonitor_Mass8Mon.FolderName = cms.string('HLT/TOP/DiLepton/DiMuon/Mu17_Mu8_Mass8Efficiency/')
232 topDiMuonHLTMonitor_Mass8Mon.nmuons = cms.uint32(2)
233 topDiMuonHLTMonitor_Mass8Mon.nelectrons = cms.uint32(0)
234 topDiMuonHLTMonitor_Mass8Mon.njets = cms.uint32(0)
235 topDiMuonHLTMonitor_Mass8Mon.eleSelection = cms.string('pt>15 & abs(eta)<2.4')
236 topDiMuonHLTMonitor_Mass8Mon.muoSelection = cms.string('pt>15 & abs(eta)<2.4 & (pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25 & isPFMuon & (isTrackerMuon || isGlobalMuon)')
237 topDiMuonHLTMonitor_Mass8Mon.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
238 topDiMuonHLTMonitor_Mass8Mon.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v*')
239 topDiMuonHLTMonitor_Mass8Mon.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v*')
240 
241 topDiMuonHLTMonitor_Mass3p8Mon = hltTOPmonitoring.clone()
242 #topDiMuonHLTMonitor_Mass3p8Mon.FolderName = cms.string('HLT/TopHLTOffline/TopMonitor/DiLepton/DiMuon/Mu17_Mu8_Mass3p8Efficiency/')
243 topDiMuonHLTMonitor_Mass3p8Mon.FolderName = cms.string('HLT/TOP/DiLepton/DiMuon/Mu17_Mu8_Mass3p8Efficiency/')
244 topDiMuonHLTMonitor_Mass3p8Mon.nmuons = cms.uint32(2)
245 topDiMuonHLTMonitor_Mass3p8Mon.nelectrons = cms.uint32(0)
246 topDiMuonHLTMonitor_Mass3p8Mon.njets = cms.uint32(0)
247 topDiMuonHLTMonitor_Mass3p8Mon.eleSelection = cms.string('pt>15 & abs(eta)<2.4')
248 topDiMuonHLTMonitor_Mass3p8Mon.muoSelection = cms.string('pt>15 & abs(eta)<2.4 & (pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25 & isPFMuon & (isTrackerMuon || isGlobalMuon)')
249 topDiMuonHLTMonitor_Mass3p8Mon.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
250 topDiMuonHLTMonitor_Mass3p8Mon.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v*')
251 topDiMuonHLTMonitor_Mass3p8Mon.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v*')
252 
253 #########ElecMuon
254 topElecMuonHLTMonitor = hltTOPmonitoring.clone()
255 topElecMuonHLTMonitor.FolderName = cms.string('HLT/TOP/DiLepton/ElecMuon/OR/')
256 topElecMuonHLTMonitor.nmuons = cms.uint32(1)
257 topElecMuonHLTMonitor.nelectrons = cms.uint32(1)
258 topElecMuonHLTMonitor.njets = cms.uint32(0)
259 topElecMuonHLTMonitor.eleSelection = cms.string('pt>15 & abs(eta)<2.4')
260 topElecMuonHLTMonitor.muoSelection = cms.string('pt>15 & abs(eta)<2.4 & (pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25 & isPFMuon & (isTrackerMuon || isGlobalMuon)')
261 topElecMuonHLTMonitor.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
262 topElecMuonHLTMonitor.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v*','HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v*', 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v*','HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v*','HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v*', 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v*')
263 
264 #DZ monitor
265 topElecMuonHLTMonitor_Dz_Mu12Ele23 = topElecMuonHLTMonitor.clone()
266 topElecMuonHLTMonitor_Dz_Mu12Ele23.FolderName = cms.string('HLT/TOP/DiLepton/ElecMuon/Mu12Ele23_DzEfficiency/')
267 topElecMuonHLTMonitor_Dz_Mu12Ele23.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v*')
268 topElecMuonHLTMonitor_Dz_Mu12Ele23.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v*')
269 
270 topElecMuonHLTMonitor_Dz_Mu8Ele23 = topElecMuonHLTMonitor.clone()
271 topElecMuonHLTMonitor_Dz_Mu8Ele23.FolderName = cms.string('HLT/TOP/DiLepton/ElecMuon/Mu8Ele23_DzEfficiency/')
272 topElecMuonHLTMonitor_Dz_Mu8Ele23.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v*')
273 topElecMuonHLTMonitor_Dz_Mu8Ele23.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v*')
274 
275 topElecMuonHLTMonitor_Dz_Mu23Ele12 = topElecMuonHLTMonitor.clone()
276 topElecMuonHLTMonitor_Dz_Mu23Ele12.FolderName = cms.string('HLT/TOP/DiLepton/ElecMuon/Mu23Ele12_DzEfficiency/')
277 topElecMuonHLTMonitor_Dz_Mu23Ele12.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v*')
278 topElecMuonHLTMonitor_Dz_Mu23Ele12.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v*')
279 
280 #individual paths
281 topElecMuonHLTMonitor_Mu12Ele23 = topElecMuonHLTMonitor.clone()
282 topElecMuonHLTMonitor_Mu12Ele23.FolderName = cms.string('HLT/TOP/DiLepton/ElecMuon/Mu12Ele23/')
283 topElecMuonHLTMonitor_Mu12Ele23.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v*')
284 
285 topElecMuonHLTMonitor_Mu8Ele23 = topElecMuonHLTMonitor.clone()
286 topElecMuonHLTMonitor_Mu8Ele23.FolderName = cms.string('HLT/TOP/DiLepton/ElecMuon/Mu8Ele23/')
287 topElecMuonHLTMonitor_Mu8Ele23.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v*')
288 
289 topElecMuonHLTMonitor_Mu23Ele12 = topElecMuonHLTMonitor.clone()
290 topElecMuonHLTMonitor_Mu23Ele12.FolderName = cms.string('HLT/TOP/DiLepton/ElecMuon/Mu23Ele12/')
291 topElecMuonHLTMonitor_Mu23Ele12.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v*')
292 
293 #reference paths
294 topElecMuonHLTMonitor_Mu12Ele23_ref = topElecMuonHLTMonitor.clone()
295 topElecMuonHLTMonitor_Mu12Ele23_ref.FolderName = cms.string('HLT/TOP/DiLepton/ElecMuon/Mu12Ele23_Ref/')
296 topElecMuonHLTMonitor_Mu12Ele23_ref.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v*')
297 
298 topElecMuonHLTMonitor_Mu8Ele23_ref = topElecMuonHLTMonitor.clone()
299 topElecMuonHLTMonitor_Mu8Ele23_ref.FolderName = cms.string('HLT/TOP/DiLepton/ElecMuon/Mu8Ele23_Ref/')
300 topElecMuonHLTMonitor_Mu8Ele23_ref.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v*')
301 
302 topElecMuonHLTMonitor_Mu23Ele12_ref = topElecMuonHLTMonitor.clone()
303 topElecMuonHLTMonitor_Mu23Ele12_ref.FolderName = cms.string('HLT/TOP/DiLepton/ElecMuon/Mu23Ele12_Ref/')
304 topElecMuonHLTMonitor_Mu23Ele12_ref.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v*')
305 
306 
307 # Marina
308 
309 fullyhadronic_ref350 = hltTOPmonitoring.clone()
310 fullyhadronic_ref350.FolderName = cms.string('HLT/TOP/FullyHadronic/Reference/PFHT350Monitor/')
311 # Selections
312 fullyhadronic_ref350.leptJetDeltaRmin = cms.double(0.0)
313 fullyhadronic_ref350.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
314 fullyhadronic_ref350.HTcut = cms.double(250)
315 # Binning
316 fullyhadronic_ref350.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
317 fullyhadronic_ref350.histoPSet.HTBinning = cms.vdouble(0,240,260,280,300,320,340,360,380,400,420,440,460,480,
318  500,520,540,560,580,600,650,700,750,800,850,900,1000)
319 # Trigger
320 fullyhadronic_ref350.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT350_v*')
321 fullyhadronic_ref350.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_IsoMu27_v*')
322 
323 
324 fullyhadronic_ref370 = hltTOPmonitoring.clone()
325 fullyhadronic_ref370.FolderName = cms.string('HLT/TOP/FullyHadronic/Reference/PFHT370Monitor/')
326 # Selections
327 fullyhadronic_ref370.leptJetDeltaRmin = cms.double(0.0)
328 fullyhadronic_ref370.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
329 fullyhadronic_ref370.HTcut = cms.double(250)
330 # Binning
331 fullyhadronic_ref370.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
332 fullyhadronic_ref370.histoPSet.HTBinning = cms.vdouble(0,240,260,280,300,320,340,360,380,400,420,440,460,480,
333  500,520,540,560,580,600,650,700,750,800,850,900,1000)
334 # Trigger
335 fullyhadronic_ref370.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT370_v*')
336 fullyhadronic_ref370.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_IsoMu27_v*')
337 
338 fullyhadronic_ref430 = hltTOPmonitoring.clone()
339 fullyhadronic_ref430.FolderName = cms.string('HLT/TOP/FullyHadronic/Reference/PFHT430Monitor/')
340 # Selections
341 fullyhadronic_ref430.leptJetDeltaRmin = cms.double(0.0)
342 fullyhadronic_ref430.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
343 fullyhadronic_ref430.HTcut = cms.double(250)
344 # Binning
345 fullyhadronic_ref430.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
346 fullyhadronic_ref430.histoPSet.HTBinning = cms.vdouble(0,240,260,280,300,320,340,360,380,400,420,440,460,480,
347  500,520,540,560,580,600,650,700,750,800,850,900,1000)
348 # Trigger
349 fullyhadronic_ref430.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT430_v*')
350 fullyhadronic_ref430.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_IsoMu27_v*')
351 
352 
353 fullyhadronic_DoubleBTag_all = hltTOPmonitoring.clone()
354 fullyhadronic_DoubleBTag_all.FolderName = cms.string('HLT/TOP/FullyHadronic/DoubleBTag/GlobalMonitor/')
355 # Selections
356 fullyhadronic_DoubleBTag_all.leptJetDeltaRmin = cms.double(0.0)
357 fullyhadronic_DoubleBTag_all.njets = cms.uint32(6)
358 fullyhadronic_DoubleBTag_all.jetSelection = cms.string('pt>40 & abs(eta)<2.4')
359 fullyhadronic_DoubleBTag_all.HTdefinition = cms.string('pt>40 & abs(eta)<2.4')
360 fullyhadronic_DoubleBTag_all.HTcut = cms.double(500)
361 fullyhadronic_DoubleBTag_all.nbjets = cms.uint32(2)
362 fullyhadronic_DoubleBTag_all.bjetSelection = cms.string('pt>40 & abs(eta)<2.4')
363 fullyhadronic_DoubleBTag_all.btagalgo = cms.InputTag("pfDeepCSVDiscriminatorsJetTags:BvsAll")
364 fullyhadronic_DoubleBTag_all.workingpoint = cms.double(0.4941) # Medium (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
365 
366 # Binning
367 fullyhadronic_DoubleBTag_all.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
368 fullyhadronic_DoubleBTag_all.histoPSet.jetPtBinning = cms.vdouble(0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,90,100,120,140,160,200)
369 fullyhadronic_DoubleBTag_all.histoPSet.HTBinning = cms.vdouble(0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900)
370 # Triggers
371 fullyhadronic_DoubleBTag_all.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT400_SixPFJet32_DoublePFBTagDeepCSV_2p94_v*')
372 fullyhadronic_DoubleBTag_all.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_IsoMu27_v*')
373 
374 fullyhadronic_DoubleBTag_jet = hltTOPmonitoring.clone()
375 fullyhadronic_DoubleBTag_jet.FolderName = cms.string('HLT/TOP/FullyHadronic/DoubleBTag/JetMonitor/')
376 # Selections
377 fullyhadronic_DoubleBTag_jet.leptJetDeltaRmin = cms.double(0.0)
378 fullyhadronic_DoubleBTag_jet.njets = cms.uint32(6)
379 fullyhadronic_DoubleBTag_jet.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
380 fullyhadronic_DoubleBTag_jet.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
381 fullyhadronic_DoubleBTag_jet.HTcut = cms.double(500)
382 fullyhadronic_DoubleBTag_jet.nbjets = cms.uint32(2)
383 fullyhadronic_DoubleBTag_jet.bjetSelection = cms.string('pt>30 & abs(eta)<2.4')
384 fullyhadronic_DoubleBTag_jet.btagalgo = cms.InputTag("pfDeepCSVDiscriminatorsJetTags:BvsAll")
385 fullyhadronic_DoubleBTag_jet.workingpoint = cms.double(0.4941) # Medium (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
386 
387 # Binning
388 fullyhadronic_DoubleBTag_jet.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
389 fullyhadronic_DoubleBTag_jet.histoPSet.jetPtBinning = cms.vdouble(0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,90,100,120,140,160,200)
390 fullyhadronic_DoubleBTag_jet.histoPSet.HTBinning = cms.vdouble(0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900)
391 # Triggers
392 fullyhadronic_DoubleBTag_jet.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT400_SixPFJet32_v*')
393 fullyhadronic_DoubleBTag_jet.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT370_v*')
394 
395 fullyhadronic_DoubleBTag_bjet = hltTOPmonitoring.clone()
396 fullyhadronic_DoubleBTag_bjet.FolderName = cms.string('HLT/TOP/FullyHadronic/DoubleBTag/BJetMonitor/')
397 # Selections
398 fullyhadronic_DoubleBTag_bjet.leptJetDeltaRmin = cms.double(0.0)
399 fullyhadronic_DoubleBTag_bjet.njets = cms.uint32(6)
400 fullyhadronic_DoubleBTag_bjet.jetSelection = cms.string('pt>40 & abs(eta)<2.4')
401 fullyhadronic_DoubleBTag_bjet.HTdefinition = cms.string('pt>40 & abs(eta)<2.4')
402 fullyhadronic_DoubleBTag_bjet.HTcut = cms.double(500)
403 fullyhadronic_DoubleBTag_bjet.nbjets = cms.uint32(2)
404 fullyhadronic_DoubleBTag_bjet.bjetSelection = cms.string('pt>40 & abs(eta)<2.4')
405 fullyhadronic_DoubleBTag_bjet.btagalgo = cms.InputTag("pfDeepCSVDiscriminatorsJetTags:BvsAll")
406 fullyhadronic_DoubleBTag_bjet.workingpoint = cms.double(0.1522) # Loose (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
407 # Binning
408 fullyhadronic_DoubleBTag_bjet.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
409 fullyhadronic_DoubleBTag_bjet.histoPSet.jetPtBinning = cms.vdouble(0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,90,100,120,140,160,200)
410 fullyhadronic_DoubleBTag_bjet.histoPSet.HTBinning = cms.vdouble(0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900)
411 # Triggers
412 fullyhadronic_DoubleBTag_bjet.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT400_SixPFJet32_DoublePFBTagDeepCSV_2p94_v*')
413 fullyhadronic_DoubleBTag_bjet.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT400_SixPFJet32_v*')
414 
415 fullyhadronic_DoubleBTag_ref = hltTOPmonitoring.clone()
416 fullyhadronic_DoubleBTag_ref.FolderName = cms.string('HLT/TOP/FullyHadronic/DoubleBTag/RefMonitor/')
417 # Selections
418 fullyhadronic_DoubleBTag_ref.leptJetDeltaRmin = cms.double(0.0)
419 fullyhadronic_DoubleBTag_ref.njets = cms.uint32(6)
420 fullyhadronic_DoubleBTag_ref.jetSelection = cms.string('pt>40 & abs(eta)<2.4')
421 fullyhadronic_DoubleBTag_ref.HTdefinition = cms.string('pt>40 & abs(eta)<2.4')
422 fullyhadronic_DoubleBTag_ref.HTcut = cms.double(500)
423 fullyhadronic_DoubleBTag_ref.nbjets = cms.uint32(0)
424 fullyhadronic_DoubleBTag_ref.bjetSelection = cms.string('pt>40 & abs(eta)<2.4')
425 fullyhadronic_DoubleBTag_ref.btagalgo = cms.InputTag("pfDeepCSVDiscriminatorsJetTags:BvsAll")
426 fullyhadronic_DoubleBTag_ref.workingpoint = cms.double(0.4941) # Medium (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
427 # Binning
428 fullyhadronic_DoubleBTag_ref.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
429 fullyhadronic_DoubleBTag_ref.histoPSet.jetPtBinning = cms.vdouble(0,30,35,40,45,50,55,60,65,70,75,80,90,100,120,140,160,200)
430 fullyhadronic_DoubleBTag_ref.histoPSet.HTBinning = cms.vdouble(0,360,380,400,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900)
431 # Triggers
432 fullyhadronic_DoubleBTag_ref.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT400_SixPFJet32_v*')
433 fullyhadronic_DoubleBTag_ref.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_IsoMu27_v*')
434 
435 fullyhadronic_SingleBTag_all = hltTOPmonitoring.clone()
436 fullyhadronic_SingleBTag_all.FolderName= cms.string('HLT/TOP/FullyHadronic/SingleBTag/GlobalMonitor/')
437 # Selections
438 fullyhadronic_SingleBTag_all.leptJetDeltaRmin = cms.double(0.0)
439 fullyhadronic_SingleBTag_all.njets = cms.uint32(6)
440 fullyhadronic_SingleBTag_all.jetSelection = cms.string('pt>40 & abs(eta)<2.4')
441 fullyhadronic_SingleBTag_all.HTdefinition = cms.string('pt>40 & abs(eta)<2.4')
442 fullyhadronic_SingleBTag_all.HTcut = cms.double(500)
443 fullyhadronic_SingleBTag_all.nbjets = cms.uint32(2)
444 fullyhadronic_SingleBTag_all.bjetSelection = cms.string('pt>40 & abs(eta)<2.4')
445 fullyhadronic_SingleBTag_all.btagalgo = cms.InputTag("pfDeepCSVDiscriminatorsJetTags:BvsAll")
446 fullyhadronic_SingleBTag_all.workingpoint = cms.double(0.4941) # Medium (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
447 # Binning
448 fullyhadronic_SingleBTag_all.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
449 fullyhadronic_SingleBTag_all.histoPSet.jetPtBinning = cms.vdouble(0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,90,100,120,140,160,200)
450 fullyhadronic_SingleBTag_all.histoPSet.HTBinning = cms.vdouble(0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900)
451 # Triggers
452 fullyhadronic_SingleBTag_all.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT450_SixPFJet36_PFBTagDeepCSV_1p59_v*')
453 fullyhadronic_SingleBTag_all.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_IsoMu27_v*')
454 
455 fullyhadronic_SingleBTag_jet = hltTOPmonitoring.clone()
456 fullyhadronic_SingleBTag_jet.FolderName= cms.string('HLT/TOP/FullyHadronic/SingleBTag/JetMonitor/')
457 # Selection
458 fullyhadronic_SingleBTag_jet.leptJetDeltaRmin = cms.double(0.0)
459 fullyhadronic_SingleBTag_jet.njets = cms.uint32(6)
460 fullyhadronic_SingleBTag_jet.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
461 fullyhadronic_SingleBTag_jet.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
462 fullyhadronic_SingleBTag_jet.HTcut = cms.double(500)
463 fullyhadronic_SingleBTag_jet.nbjets = cms.uint32(2)
464 fullyhadronic_SingleBTag_jet.bjetSelection = cms.string('pt>30 & abs(eta)<2.4')
465 fullyhadronic_SingleBTag_jet.btagalgo = cms.InputTag("pfDeepCSVDiscriminatorsJetTags:BvsAll")
466 fullyhadronic_SingleBTag_jet.workingpoint = cms.double(0.4941) # Medium (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
467 # Binning
468 fullyhadronic_SingleBTag_jet.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
469 fullyhadronic_SingleBTag_jet.histoPSet.jetPtBinning = cms.vdouble(0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,90,100,120,140,160,200)
470 fullyhadronic_SingleBTag_jet.histoPSet.HTBinning = cms.vdouble(0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900)
471 # Triggers
472 fullyhadronic_SingleBTag_jet.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT450_SixPFJet36_v*')
473 fullyhadronic_SingleBTag_jet.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT430_v*')
474 
475 fullyhadronic_SingleBTag_bjet = hltTOPmonitoring.clone()
476 fullyhadronic_SingleBTag_bjet.FolderName= cms.string('HLT/TOP/FullyHadronic/SingleBTag/BJetMonitor/')
477 # Selection
478 fullyhadronic_SingleBTag_bjet.leptJetDeltaRmin = cms.double(0.0)
479 fullyhadronic_SingleBTag_bjet.njets = cms.uint32(6)
480 fullyhadronic_SingleBTag_bjet.jetSelection = cms.string('pt>40 & abs(eta)<2.4')
481 fullyhadronic_SingleBTag_bjet.HTdefinition = cms.string('pt>40 & abs(eta)<2.4')
482 fullyhadronic_SingleBTag_bjet.HTcut = cms.double(500)
483 fullyhadronic_SingleBTag_bjet.nbjets = cms.uint32(2)
484 fullyhadronic_SingleBTag_bjet.bjetSelection = cms.string('pt>40 & abs(eta)<2.4')
485 fullyhadronic_SingleBTag_bjet.btagalgo = cms.InputTag("pfDeepCSVDiscriminatorsJetTags:BvsAll")
486 fullyhadronic_SingleBTag_bjet.workingpoint = cms.double(0.1522) # Loose (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
487 # Binning
488 fullyhadronic_SingleBTag_bjet.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
489 fullyhadronic_SingleBTag_bjet.histoPSet.jetPtBinning = cms.vdouble(0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,90,100,120,140,160,200)
490 fullyhadronic_SingleBTag_bjet.histoPSet.HTBinning = cms.vdouble(0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900)
491 # Triggers
492 fullyhadronic_SingleBTag_bjet.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT450_SixPFJet36_PFBTagDeepCSV_1p59_v*')
493 fullyhadronic_SingleBTag_bjet.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT450_SixPFJet36_v*')
494 
495 fullyhadronic_SingleBTag_ref = hltTOPmonitoring.clone()
496 fullyhadronic_SingleBTag_ref.FolderName= cms.string('HLT/TOP/FullyHadronic/SingleBTag/RefMonitor/')
497 # Selection
498 fullyhadronic_SingleBTag_ref.leptJetDeltaRmin = cms.double(0.0)
499 fullyhadronic_SingleBTag_ref.njets = cms.uint32(6)
500 fullyhadronic_SingleBTag_ref.jetSelection = cms.string('pt>40 & abs(eta)<2.4')
501 fullyhadronic_SingleBTag_ref.HTdefinition = cms.string('pt>40 & abs(eta)<2.4')
502 fullyhadronic_SingleBTag_ref.HTcut = cms.double(500)
503 fullyhadronic_SingleBTag_ref.nbjets = cms.uint32(0)
504 fullyhadronic_SingleBTag_ref.bjetSelection = cms.string('pt>40 & abs(eta)<2.4')
505 fullyhadronic_SingleBTag_ref.btagalgo = cms.InputTag("pfDeepCSVDiscriminatorsJetTags:BvsAll")
506 fullyhadronic_SingleBTag_ref.workingpoint = cms.double(0.4941) # Medium (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
507 # Binning
508 fullyhadronic_SingleBTag_ref.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
509 fullyhadronic_SingleBTag_ref.histoPSet.jetPtBinning = cms.vdouble(0,30,35,40,45,50,55,60,65,70,75,80,90,100,120,140,160,200)
510 fullyhadronic_SingleBTag_ref.histoPSet.HTBinning = cms.vdouble(0,400,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900)
511 # Triggers
512 fullyhadronic_SingleBTag_ref.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT450_SixPFJet36_v*')
513 fullyhadronic_SingleBTag_ref.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_IsoMu27_v*')
514 
515 # TripleBTag
516 fullyhadronic_TripleBTag_all = hltTOPmonitoring.clone()
517 fullyhadronic_TripleBTag_all.FolderName = cms.string('HLT/TOP/FullyHadronic/TripleBTag/GlobalMonitor/')
518 # Selections
519 fullyhadronic_TripleBTag_all.leptJetDeltaRmin = cms.double(0.0)
520 fullyhadronic_TripleBTag_all.njets = cms.uint32(4)
521 fullyhadronic_TripleBTag_all.jetSelection = cms.string('pt>45 & abs(eta)<2.4')
522 fullyhadronic_TripleBTag_all.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
523 fullyhadronic_TripleBTag_all.HTcut = cms.double(500)
524 fullyhadronic_TripleBTag_all.nbjets = cms.uint32(4)
525 fullyhadronic_TripleBTag_all.bjetSelection = cms.string('pt>45 & abs(eta)<2.4')
526 fullyhadronic_TripleBTag_all.btagalgo = cms.InputTag("pfDeepCSVDiscriminatorsJetTags:BvsAll")
527 fullyhadronic_TripleBTag_all.workingpoint = cms.double(0.4941) # Medium (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
528 # Binning
529 fullyhadronic_TripleBTag_all.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
530 fullyhadronic_TripleBTag_all.histoPSet.jetPtBinning = cms.vdouble(0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,90,100,120,200,400)
531 fullyhadronic_TripleBTag_all.histoPSet.HTBinning = cms.vdouble(0,460,480,500,520,540,560,580,600,650,700,750,800,850,900)
532 # Triggers
533 fullyhadronic_TripleBTag_all.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT330PT30_QuadPFJet_75_60_45_40_TriplePFBTagDeepCSV_4p5_v*')
534 fullyhadronic_TripleBTag_all.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_IsoMu27_v*')
535 
536 fullyhadronic_TripleBTag_jet = hltTOPmonitoring.clone()
537 fullyhadronic_TripleBTag_jet.FolderName = cms.string('HLT/TOP/FullyHadronic/TripleBTag/JetMonitor/')
538 # Selections
539 fullyhadronic_TripleBTag_jet.leptJetDeltaRmin = cms.double(0.0)
540 fullyhadronic_TripleBTag_jet.njets = cms.uint32(4)
541 fullyhadronic_TripleBTag_jet.jetSelection = cms.string('pt>45 & abs(eta)<2.4')
542 fullyhadronic_TripleBTag_jet.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
543 fullyhadronic_TripleBTag_jet.HTcut = cms.double(500)
544 fullyhadronic_TripleBTag_jet.nbjets = cms.uint32(4)
545 fullyhadronic_TripleBTag_jet.bjetSelection = cms.string('pt>45 & abs(eta)<2.4')
546 fullyhadronic_TripleBTag_jet.btagalgo = cms.InputTag("pfDeepCSVDiscriminatorsJetTags:BvsAll")
547 fullyhadronic_TripleBTag_jet.workingpoint = cms.double(0.4941) # Medium (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
548 # Binning
549 fullyhadronic_TripleBTag_jet.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
550 fullyhadronic_TripleBTag_jet.histoPSet.jetPtBinning = cms.vdouble(0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,90,100,120,200,400)
551 fullyhadronic_TripleBTag_jet.histoPSet.HTBinning = cms.vdouble(0,460,480,500,520,540,560,580,600,650,700,750,800,850,900)
552 # Triggers
553 fullyhadronic_TripleBTag_jet.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT330PT30_QuadPFJet_75_60_45_40_v*')
554 fullyhadronic_TripleBTag_jet.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT350_v*')
555 
556 fullyhadronic_TripleBTag_bjet = hltTOPmonitoring.clone()
557 fullyhadronic_TripleBTag_bjet.FolderName = cms.string('HLT/TOP/FullyHadronic/TripleBTag/BJetMonitor/')
558 # Selections
559 fullyhadronic_TripleBTag_bjet.leptJetDeltaRmin = cms.double(0.0)
560 fullyhadronic_TripleBTag_bjet.njets = cms.uint32(4)
561 fullyhadronic_TripleBTag_bjet.jetSelection = cms.string('pt>45 & abs(eta)<2.4')
562 fullyhadronic_TripleBTag_bjet.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
563 fullyhadronic_TripleBTag_bjet.HTcut = cms.double(500)
564 fullyhadronic_TripleBTag_bjet.nbjets = cms.uint32(4)
565 fullyhadronic_TripleBTag_bjet.bjetSelection = cms.string('pt>45 & abs(eta)<2.4')
566 fullyhadronic_TripleBTag_bjet.btagalgo = cms.InputTag("pfDeepCSVDiscriminatorsJetTags:BvsAll")
567 fullyhadronic_TripleBTag_bjet.workingpoint = cms.double(0.1522) # Loose (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
568 # Binning
569 fullyhadronic_TripleBTag_bjet.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
570 fullyhadronic_TripleBTag_bjet.histoPSet.jetPtBinning = cms.vdouble(0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,90,100,120,200,400)
571 fullyhadronic_TripleBTag_bjet.histoPSet.HTBinning = cms.vdouble(0,460,480,500,520,540,560,580,600,650,700,750,800,850,900)
572 # Triggers
573 fullyhadronic_TripleBTag_bjet.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT330PT30_QuadPFJet_75_60_45_40_TriplePFBTagDeepCSV_4p5_v*')
574 fullyhadronic_TripleBTag_bjet.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT330PT30_QuadPFJet_75_60_45_40_v*')
575 
576 
577 from DQMOffline.Trigger.HLTEGTnPMonitor_cfi import egmGsfElectronIDsForDQM
578 
579 topMonitorHLT = cms.Sequence(
580  topEleJet_ele
581  + topEleJet_jet
582  + topEleJet_all
583  + topEleHT_ele
584  + topEleHT_ht
585  + topEleHT_all
586  + topSingleMuonHLTMonitor_Mu24
587  + topSingleMuonHLTMonitor_Mu27
588  + topSingleMuonHLTMonitor_Mu50
589  + topDiElectronHLTMonitor
590  + topDiMuonHLTMonitor_noDz
591  + topDiMuonHLTMonitor_Dz
592  + topDiMuonHLTMonitor_Mass8
593  + topDiMuonHLTMonitor_Mass3p8
594  + topDiMuonHLTMonitor_Mass8Mon
595  + topDiMuonHLTMonitor_Mass3p8Mon
596  + topElecMuonHLTMonitor
597  + fullyhadronic_ref350
598  + fullyhadronic_ref370
599  + fullyhadronic_ref430
600  + fullyhadronic_DoubleBTag_all
601  + fullyhadronic_DoubleBTag_jet
602  + fullyhadronic_DoubleBTag_bjet
603  + fullyhadronic_DoubleBTag_ref
604  + fullyhadronic_SingleBTag_all
605  + fullyhadronic_SingleBTag_jet
606  + fullyhadronic_SingleBTag_bjet
607  + fullyhadronic_SingleBTag_ref
608  + fullyhadronic_TripleBTag_all
609  + fullyhadronic_TripleBTag_jet
610  + fullyhadronic_TripleBTag_bjet
611  + topDiElectronHLTMonitor_Dz
612  + topElecMuonHLTMonitor_Dz_Mu12Ele23
613  + topElecMuonHLTMonitor_Dz_Mu8Ele23
614  + topElecMuonHLTMonitor_Dz_Mu23Ele12
615  + topElecMuonHLTMonitor_Mu12Ele23
616  + topElecMuonHLTMonitor_Mu8Ele23
617  + topElecMuonHLTMonitor_Mu23Ele12
618  + topElecMuonHLTMonitor_Mu12Ele23_ref
619  + topElecMuonHLTMonitor_Mu8Ele23_ref
620  + topElecMuonHLTMonitor_Mu23Ele12_ref
621  + topDiMuonHLTMonitor_Dz_Mu17_Mu8,
622  cms.Task(egmGsfElectronIDsForDQM) # Use of electron VID requires this module being executed first
623 )
624 
625 topHLTDQMSourceExtra = cms.Sequence(
626 )