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 & (dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.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 & (dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.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 & (dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.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 & (dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.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 & (dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.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 & (dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.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 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt < 0.1')
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 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt < 0.1')
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 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt < 0.1')
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 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt < 0.1')
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 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt < 0.1')
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 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt < 0.1')
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 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt < 0.1')
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 #########ElecMuon
218 topElecMuonHLTMonitor = hltTOPmonitoring.clone()
219 topElecMuonHLTMonitor.FolderName = cms.string('HLT/TOP/DiLepton/ElecMuon/OR/')
220 topElecMuonHLTMonitor.nmuons = cms.uint32(1)
221 topElecMuonHLTMonitor.nelectrons = cms.uint32(1)
222 topElecMuonHLTMonitor.njets = cms.uint32(0)
223 topElecMuonHLTMonitor.eleSelection = cms.string('pt>15 & abs(eta)<2.4 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt < 0.1')
224 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)')
225 topElecMuonHLTMonitor.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
226 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*'])
227 
228 #DZ monitor
229 topElecMuonHLTMonitor_Dz_Mu12Ele23 = topElecMuonHLTMonitor.clone()
230 topElecMuonHLTMonitor_Dz_Mu12Ele23.FolderName = cms.string('HLT/TOP/DiLepton/ElecMuon/Mu12Ele23_DzEfficiency/')
231 topElecMuonHLTMonitor_Dz_Mu12Ele23.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v*')
232 topElecMuonHLTMonitor_Dz_Mu12Ele23.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v*')
233 
234 topElecMuonHLTMonitor_Dz_Mu8Ele23 = topElecMuonHLTMonitor.clone()
235 topElecMuonHLTMonitor_Dz_Mu8Ele23.FolderName = cms.string('HLT/TOP/DiLepton/ElecMuon/Mu8Ele23_DzEfficiency/')
236 topElecMuonHLTMonitor_Dz_Mu8Ele23.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v*')
237 topElecMuonHLTMonitor_Dz_Mu8Ele23.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v*')
238 
239 topElecMuonHLTMonitor_Dz_Mu23Ele12 = topElecMuonHLTMonitor.clone()
240 topElecMuonHLTMonitor_Dz_Mu23Ele12.FolderName = cms.string('HLT/TOP/DiLepton/ElecMuon/Mu23Ele12_DzEfficiency/')
241 topElecMuonHLTMonitor_Dz_Mu23Ele12.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v*')
242 topElecMuonHLTMonitor_Dz_Mu23Ele12.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v*')
243 
244 #individual paths
245 topElecMuonHLTMonitor_Mu12Ele23 = topElecMuonHLTMonitor.clone()
246 topElecMuonHLTMonitor_Mu12Ele23.FolderName = cms.string('HLT/TOP/DiLepton/ElecMuon/Mu12Ele23/')
247 topElecMuonHLTMonitor_Mu12Ele23.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v*')
248 
249 topElecMuonHLTMonitor_Mu8Ele23 = topElecMuonHLTMonitor.clone()
250 topElecMuonHLTMonitor_Mu8Ele23.FolderName = cms.string('HLT/TOP/DiLepton/ElecMuon/Mu8Ele23/')
251 topElecMuonHLTMonitor_Mu8Ele23.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v*')
252 
253 topElecMuonHLTMonitor_Mu23Ele12 = topElecMuonHLTMonitor.clone()
254 topElecMuonHLTMonitor_Mu23Ele12.FolderName = cms.string('HLT/TOP/DiLepton/ElecMuon/Mu23Ele12/')
255 topElecMuonHLTMonitor_Mu23Ele12.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v*')
256 
257 #reference paths
258 topElecMuonHLTMonitor_Mu12Ele23_ref = topElecMuonHLTMonitor.clone()
259 topElecMuonHLTMonitor_Mu12Ele23_ref.FolderName = cms.string('HLT/TOP/DiLepton/ElecMuon/Mu12Ele23_Ref/')
260 topElecMuonHLTMonitor_Mu12Ele23_ref.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v*')
261 
262 topElecMuonHLTMonitor_Mu8Ele23_ref = topElecMuonHLTMonitor.clone()
263 topElecMuonHLTMonitor_Mu8Ele23_ref.FolderName = cms.string('HLT/TOP/DiLepton/ElecMuon/Mu8Ele23_Ref/')
264 topElecMuonHLTMonitor_Mu8Ele23_ref.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v*')
265 
266 topElecMuonHLTMonitor_Mu23Ele12_ref = topElecMuonHLTMonitor.clone()
267 topElecMuonHLTMonitor_Mu23Ele12_ref.FolderName = cms.string('HLT/TOP/DiLepton/ElecMuon/Mu23Ele12_Ref/')
268 topElecMuonHLTMonitor_Mu23Ele12_ref.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v*')
269 
270 
271 # Marina
272 
273 fullyhadronic_ref350 = hltTOPmonitoring.clone()
274 fullyhadronic_ref350.FolderName = cms.string('HLT/TOP/FullyHadronic/Reference/PFHT350Monitor/')
275 # Selections
276 fullyhadronic_ref350.leptJetDeltaRmin = cms.double(0.0)
277 fullyhadronic_ref350.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
278 fullyhadronic_ref350.HTcut = cms.double(250)
279 # Binning
280 fullyhadronic_ref350.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
281 fullyhadronic_ref350.histoPSet.HTBinning = cms.vdouble(0,240,260,280,300,320,340,360,380,400,420,440,460,480,
282  500,520,540,560,580,600,650,700,750,800,850,900,1000)
283 # Trigger
284 fullyhadronic_ref350.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT350_v*')
285 fullyhadronic_ref350.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_IsoMu27_v*')
286 
287 
288 fullyhadronic_ref370 = hltTOPmonitoring.clone()
289 fullyhadronic_ref370.FolderName = cms.string('HLT/TOP/FullyHadronic/Reference/PFHT370Monitor/')
290 # Selections
291 fullyhadronic_ref370.leptJetDeltaRmin = cms.double(0.0)
292 fullyhadronic_ref370.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
293 fullyhadronic_ref370.HTcut = cms.double(250)
294 # Binning
295 fullyhadronic_ref370.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
296 fullyhadronic_ref370.histoPSet.HTBinning = cms.vdouble(0,240,260,280,300,320,340,360,380,400,420,440,460,480,
297  500,520,540,560,580,600,650,700,750,800,850,900,1000)
298 # Trigger
299 fullyhadronic_ref370.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT370_v*')
300 fullyhadronic_ref370.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_IsoMu27_v*')
301 
302 fullyhadronic_ref430 = hltTOPmonitoring.clone()
303 fullyhadronic_ref430.FolderName = cms.string('HLT/TOP/FullyHadronic/Reference/PFHT430Monitor/')
304 # Selections
305 fullyhadronic_ref430.leptJetDeltaRmin = cms.double(0.0)
306 fullyhadronic_ref430.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
307 fullyhadronic_ref430.HTcut = cms.double(250)
308 # Binning
309 fullyhadronic_ref430.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
310 fullyhadronic_ref430.histoPSet.HTBinning = cms.vdouble(0,240,260,280,300,320,340,360,380,400,420,440,460,480,
311  500,520,540,560,580,600,650,700,750,800,850,900,1000)
312 # Trigger
313 fullyhadronic_ref430.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT430_v*')
314 fullyhadronic_ref430.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_IsoMu27_v*')
315 
316 
317 fullyhadronic_DoubleBTag_all = hltTOPmonitoring.clone()
318 fullyhadronic_DoubleBTag_all.FolderName = cms.string('HLT/TOP/FullyHadronic/DoubleBTag/GlobalMonitor/')
319 # Selections
320 fullyhadronic_DoubleBTag_all.leptJetDeltaRmin = cms.double(0.0)
321 fullyhadronic_DoubleBTag_all.njets = cms.uint32(6)
322 fullyhadronic_DoubleBTag_all.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
323 fullyhadronic_DoubleBTag_all.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
324 fullyhadronic_DoubleBTag_all.HTcut = cms.double(450)
325 fullyhadronic_DoubleBTag_all.nbjets = cms.uint32(2)
326 fullyhadronic_DoubleBTag_all.bjetSelection = cms.string('pt>30 & abs(eta)<2.4')
327 fullyhadronic_DoubleBTag_all.workingpoint = cms.double(0.8484) # Medium
328 # Binning
329 fullyhadronic_DoubleBTag_all.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
330 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)
331 fullyhadronic_DoubleBTag_all.histoPSet.HTBinning = cms.vdouble(0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900)
332 # Triggers
333 fullyhadronic_DoubleBTag_all.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT380_SixPFJet32_DoublePFBTagCSV_2p2_v*')
334 fullyhadronic_DoubleBTag_all.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_IsoMu27_v*')
335 
336 fullyhadronic_DoubleBTag_jet = hltTOPmonitoring.clone()
337 fullyhadronic_DoubleBTag_jet.FolderName = cms.string('HLT/TOP/FullyHadronic/DoubleBTag/JetMonitor/')
338 # Selections
339 fullyhadronic_DoubleBTag_jet.leptJetDeltaRmin = cms.double(0.0)
340 fullyhadronic_DoubleBTag_jet.njets = cms.uint32(6)
341 fullyhadronic_DoubleBTag_jet.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
342 fullyhadronic_DoubleBTag_jet.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
343 fullyhadronic_DoubleBTag_jet.HTcut = cms.double(450)
344 fullyhadronic_DoubleBTag_jet.nbjets = cms.uint32(2)
345 fullyhadronic_DoubleBTag_jet.bjetSelection = cms.string('pt>30 & abs(eta)<2.4')
346 fullyhadronic_DoubleBTag_jet.workingpoint = cms.double(0.8484) # Medium
347 # Binning
348 fullyhadronic_DoubleBTag_jet.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
349 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)
350 fullyhadronic_DoubleBTag_jet.histoPSet.HTBinning = cms.vdouble(0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900)
351 # Triggers
352 fullyhadronic_DoubleBTag_jet.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT380_SixPFJet32_v*')
353 fullyhadronic_DoubleBTag_jet.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT370_v*')
354 
355 fullyhadronic_DoubleBTag_bjet = hltTOPmonitoring.clone()
356 fullyhadronic_DoubleBTag_bjet.FolderName = cms.string('HLT/TOP/FullyHadronic/DoubleBTag/BJetMonitor/')
357 # Selections
358 fullyhadronic_DoubleBTag_bjet.leptJetDeltaRmin = cms.double(0.0)
359 fullyhadronic_DoubleBTag_bjet.njets = cms.uint32(6)
360 fullyhadronic_DoubleBTag_bjet.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
361 fullyhadronic_DoubleBTag_bjet.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
362 fullyhadronic_DoubleBTag_bjet.HTcut = cms.double(450)
363 fullyhadronic_DoubleBTag_bjet.nbjets = cms.uint32(2)
364 fullyhadronic_DoubleBTag_bjet.bjetSelection = cms.string('pt>30 & abs(eta)<2.4')
365 fullyhadronic_DoubleBTag_bjet.workingpoint = cms.double(0.5426) # Loose
366 # Binning
367 fullyhadronic_DoubleBTag_bjet.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
368 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)
369 fullyhadronic_DoubleBTag_bjet.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_bjet.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT380_SixPFJet32_DoublePFBTagCSV_2p2_v*')
372 fullyhadronic_DoubleBTag_bjet.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT380_SixPFJet32_v*')
373 
374 fullyhadronic_DoubleBTag_ref = hltTOPmonitoring.clone()
375 fullyhadronic_DoubleBTag_ref.FolderName = cms.string('HLT/TOP/FullyHadronic/DoubleBTag/RefMonitor/')
376 # Selections
377 fullyhadronic_DoubleBTag_ref.leptJetDeltaRmin = cms.double(0.0)
378 fullyhadronic_DoubleBTag_ref.njets = cms.uint32(6)
379 fullyhadronic_DoubleBTag_ref.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
380 fullyhadronic_DoubleBTag_ref.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
381 fullyhadronic_DoubleBTag_ref.HTcut = cms.double(360)
382 fullyhadronic_DoubleBTag_ref.nbjets = cms.uint32(0)
383 fullyhadronic_DoubleBTag_ref.bjetSelection = cms.string('pt>30 & abs(eta)<2.4')
384 fullyhadronic_DoubleBTag_ref.workingpoint = cms.double(0.8484) # Medium
385 # Binning
386 fullyhadronic_DoubleBTag_ref.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
387 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)
388 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)
389 # Triggers
390 fullyhadronic_DoubleBTag_ref.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT380_SixPFJet32_v*')
391 fullyhadronic_DoubleBTag_ref.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_IsoMu27_v*')
392 
393 fullyhadronic_SingleBTag_all = hltTOPmonitoring.clone()
394 fullyhadronic_SingleBTag_all.FolderName= cms.string('HLT/TOP/FullyHadronic/SingleBTag/GlobalMonitor/')
395 # Selections
396 fullyhadronic_SingleBTag_all.leptJetDeltaRmin = cms.double(0.0)
397 fullyhadronic_SingleBTag_all.njets = cms.uint32(6)
398 fullyhadronic_SingleBTag_all.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
399 fullyhadronic_SingleBTag_all.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
400 fullyhadronic_SingleBTag_all.HTcut = cms.double(450)
401 fullyhadronic_SingleBTag_all.nbjets = cms.uint32(2)
402 fullyhadronic_SingleBTag_all.bjetSelection = cms.string('pt>30 & abs(eta)<2.4')
403 fullyhadronic_SingleBTag_all.workingpoint = cms.double(0.8484) # Medium
404 # Binning
405 fullyhadronic_SingleBTag_all.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
406 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)
407 fullyhadronic_SingleBTag_all.histoPSet.HTBinning = cms.vdouble(0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900)
408 # Triggers
409 fullyhadronic_SingleBTag_all.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT430_SixPFJet40_PFBTagCSV_1p5_v*')
410 fullyhadronic_SingleBTag_all.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_IsoMu27_v*')
411 
412 fullyhadronic_SingleBTag_jet = hltTOPmonitoring.clone()
413 fullyhadronic_SingleBTag_jet.FolderName= cms.string('HLT/TOP/FullyHadronic/SingleBTag/JetMonitor/')
414 # Selection
415 fullyhadronic_SingleBTag_jet.leptJetDeltaRmin = cms.double(0.0)
416 fullyhadronic_SingleBTag_jet.njets = cms.uint32(6)
417 fullyhadronic_SingleBTag_jet.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
418 fullyhadronic_SingleBTag_jet.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
419 fullyhadronic_SingleBTag_jet.HTcut = cms.double(450)
420 fullyhadronic_SingleBTag_jet.nbjets = cms.uint32(2)
421 fullyhadronic_SingleBTag_jet.bjetSelection = cms.string('pt>30 & abs(eta)<2.4')
422 fullyhadronic_SingleBTag_jet.workingpoint = cms.double(0.8484) # Medium
423 # Binning
424 fullyhadronic_SingleBTag_jet.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
425 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)
426 fullyhadronic_SingleBTag_jet.histoPSet.HTBinning = cms.vdouble(0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900)
427 # Triggers
428 fullyhadronic_SingleBTag_jet.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT430_SixPFJet40_v*')
429 fullyhadronic_SingleBTag_jet.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT430_v*')
430 
431 fullyhadronic_SingleBTag_bjet = hltTOPmonitoring.clone()
432 fullyhadronic_SingleBTag_bjet.FolderName= cms.string('HLT/TOP/FullyHadronic/SingleBTag/BJetMonitor/')
433 # Selection
434 fullyhadronic_SingleBTag_bjet.leptJetDeltaRmin = cms.double(0.0)
435 fullyhadronic_SingleBTag_bjet.njets = cms.uint32(6)
436 fullyhadronic_SingleBTag_bjet.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
437 fullyhadronic_SingleBTag_bjet.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
438 fullyhadronic_SingleBTag_bjet.HTcut = cms.double(450)
439 fullyhadronic_SingleBTag_bjet.nbjets = cms.uint32(2)
440 fullyhadronic_SingleBTag_bjet.bjetSelection = cms.string('pt>30 & abs(eta)<2.4')
441 fullyhadronic_SingleBTag_bjet.workingpoint = cms.double(0.5426) # Loose
442 # Binning
443 fullyhadronic_SingleBTag_bjet.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
444 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)
445 fullyhadronic_SingleBTag_bjet.histoPSet.HTBinning = cms.vdouble(0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900)
446 # Triggers
447 fullyhadronic_SingleBTag_bjet.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT430_SixPFJet40_PFBTagCSV_1p5_v*')
448 fullyhadronic_SingleBTag_bjet.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT430_SixPFJet40_v*')
449 
450 fullyhadronic_SingleBTag_ref = hltTOPmonitoring.clone()
451 fullyhadronic_SingleBTag_ref.FolderName= cms.string('HLT/TOP/FullyHadronic/SingleBTag/RefMonitor/')
452 # Selection
453 fullyhadronic_SingleBTag_ref.leptJetDeltaRmin = cms.double(0.0)
454 fullyhadronic_SingleBTag_ref.njets = cms.uint32(6)
455 fullyhadronic_SingleBTag_ref.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
456 fullyhadronic_SingleBTag_ref.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
457 fullyhadronic_SingleBTag_ref.HTcut = cms.double(400)
458 fullyhadronic_SingleBTag_ref.nbjets = cms.uint32(0)
459 fullyhadronic_SingleBTag_ref.bjetSelection = cms.string('pt>30 & abs(eta)<2.4')
460 fullyhadronic_SingleBTag_ref.workingpoint = cms.double(0.8484) # Medium
461 # Binning
462 fullyhadronic_SingleBTag_ref.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
463 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)
464 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)
465 # Triggers
466 fullyhadronic_SingleBTag_ref.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT430_SixPFJet40_v*')
467 fullyhadronic_SingleBTag_ref.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_IsoMu27_v*')
468 
469 # TripleBTag
470 fullyhadronic_TripleBTag_all = hltTOPmonitoring.clone()
471 fullyhadronic_TripleBTag_all.FolderName = cms.string('HLT/TOP/FullyHadronic/TripleBTag/GlobalMonitor/')
472 # Selections
473 fullyhadronic_TripleBTag_all.leptJetDeltaRmin = cms.double(0.0)
474 fullyhadronic_TripleBTag_all.njets = cms.uint32(4)
475 fullyhadronic_TripleBTag_all.jetSelection = cms.string('pt>45 & abs(eta)<2.4')
476 fullyhadronic_TripleBTag_all.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
477 fullyhadronic_TripleBTag_all.HTcut = cms.double(500)
478 fullyhadronic_TripleBTag_all.nbjets = cms.uint32(4)
479 fullyhadronic_TripleBTag_all.bjetSelection = cms.string('pt>45 & abs(eta)<2.4')
480 fullyhadronic_TripleBTag_all.workingpoint = cms.double(0.8484) # Medium
481 # Binning
482 fullyhadronic_TripleBTag_all.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
483 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)
484 fullyhadronic_TripleBTag_all.histoPSet.HTBinning = cms.vdouble(0,460,480,500,520,540,560,580,600,650,700,750,800,850,900)
485 # Triggers
486 fullyhadronic_TripleBTag_all.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT300PT30_QuadPFJet_75_60_45_40_TriplePFBTagCSV_3p0_v*')
487 fullyhadronic_TripleBTag_all.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_IsoMu27_v*')
488 
489 fullyhadronic_TripleBTag_jet = hltTOPmonitoring.clone()
490 fullyhadronic_TripleBTag_jet.FolderName = cms.string('HLT/TOP/FullyHadronic/TripleBTag/JetMonitor/')
491 # Selections
492 fullyhadronic_TripleBTag_jet.leptJetDeltaRmin = cms.double(0.0)
493 fullyhadronic_TripleBTag_jet.njets = cms.uint32(4)
494 fullyhadronic_TripleBTag_jet.jetSelection = cms.string('pt>45 & abs(eta)<2.4')
495 fullyhadronic_TripleBTag_jet.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
496 fullyhadronic_TripleBTag_jet.HTcut = cms.double(500)
497 fullyhadronic_TripleBTag_jet.nbjets = cms.uint32(4)
498 fullyhadronic_TripleBTag_jet.bjetSelection = cms.string('pt>45 & abs(eta)<2.4')
499 fullyhadronic_TripleBTag_jet.workingpoint = cms.double(0.8484) # Medium
500 # Binning
501 fullyhadronic_TripleBTag_jet.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
502 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)
503 fullyhadronic_TripleBTag_jet.histoPSet.HTBinning = cms.vdouble(0,460,480,500,520,540,560,580,600,650,700,750,800,850,900)
504 # Triggers
505 fullyhadronic_TripleBTag_jet.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT300PT30_QuadPFJet_75_60_45_40_v*')
506 fullyhadronic_TripleBTag_jet.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT350_v*')
507 
508 fullyhadronic_TripleBTag_bjet = hltTOPmonitoring.clone()
509 fullyhadronic_TripleBTag_bjet.FolderName = cms.string('HLT/TOP/FullyHadronic/TripleBTag/BJetMonitor/')
510 # Selections
511 fullyhadronic_TripleBTag_bjet.leptJetDeltaRmin = cms.double(0.0)
512 fullyhadronic_TripleBTag_bjet.njets = cms.uint32(4)
513 fullyhadronic_TripleBTag_bjet.jetSelection = cms.string('pt>45 & abs(eta)<2.4')
514 fullyhadronic_TripleBTag_bjet.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
515 fullyhadronic_TripleBTag_bjet.HTcut = cms.double(500)
516 fullyhadronic_TripleBTag_bjet.nbjets = cms.uint32(4)
517 fullyhadronic_TripleBTag_bjet.bjetSelection = cms.string('pt>45 & abs(eta)<2.4')
518 fullyhadronic_TripleBTag_bjet.workingpoint = cms.double(0.5426) # Loose
519 # Binning
520 fullyhadronic_TripleBTag_bjet.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
521 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)
522 fullyhadronic_TripleBTag_bjet.histoPSet.HTBinning = cms.vdouble(0,460,480,500,520,540,560,580,600,650,700,750,800,850,900)
523 # Triggers
524 fullyhadronic_TripleBTag_bjet.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT300PT30_QuadPFJet_75_60_45_40_TriplePFBTagCSV_3p0_v*')
525 fullyhadronic_TripleBTag_bjet.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT300PT30_QuadPFJet_75_60_45_40_v*')
526 
527 #DeepCSV
528 
529 fullyhadronic_DoubleBTag_DeepCSV_all = hltTOPmonitoring.clone()
530 fullyhadronic_DoubleBTag_DeepCSV_all.FolderName = cms.string('HLT/TOP/FullyHadronic/DoubleBTag/GlobalMonitor_DeepCSV/')
531 # Selections
532 fullyhadronic_DoubleBTag_DeepCSV_all.leptJetDeltaRmin = cms.double(0.0)
533 fullyhadronic_DoubleBTag_DeepCSV_all.njets = cms.uint32(6)
534 fullyhadronic_DoubleBTag_DeepCSV_all.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
535 fullyhadronic_DoubleBTag_DeepCSV_all.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
536 fullyhadronic_DoubleBTag_DeepCSV_all.HTcut = cms.double(450)
537 fullyhadronic_DoubleBTag_DeepCSV_all.nbjets = cms.uint32(2)
538 fullyhadronic_DoubleBTag_DeepCSV_all.bjetSelection = cms.string('pt>30 & abs(eta)<2.4')
539 fullyhadronic_DoubleBTag_DeepCSV_all.btagalgo = cms.InputTag("pfDeepCSVJetTags")
540 fullyhadronic_DoubleBTag_DeepCSV_all.workingpoint = cms.double(0.6324) # DeepCSV Medium
541 # Binning
542 fullyhadronic_DoubleBTag_DeepCSV_all.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
543 fullyhadronic_DoubleBTag_DeepCSV_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)
544 fullyhadronic_DoubleBTag_DeepCSV_all.histoPSet.HTBinning = cms.vdouble(0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900)
545 # Triggers
546 fullyhadronic_DoubleBTag_DeepCSV_all.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT380_SixPFJet32_DoublePFBTagDeepCSV_2p2_v*')
547 fullyhadronic_DoubleBTag_DeepCSV_all.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_IsoMu27_v*')
548 
549 fullyhadronic_DoubleBTag_DeepCSV_jet = hltTOPmonitoring.clone()
550 fullyhadronic_DoubleBTag_DeepCSV_jet.FolderName = cms.string('HLT/TOP/FullyHadronic/DoubleBTag/JetMonitor_DeepCSV/')
551 # Selections
552 fullyhadronic_DoubleBTag_DeepCSV_jet.leptJetDeltaRmin = cms.double(0.0)
553 fullyhadronic_DoubleBTag_DeepCSV_jet.njets = cms.uint32(6)
554 fullyhadronic_DoubleBTag_DeepCSV_jet.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
555 fullyhadronic_DoubleBTag_DeepCSV_jet.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
556 fullyhadronic_DoubleBTag_DeepCSV_jet.HTcut = cms.double(450)
557 fullyhadronic_DoubleBTag_DeepCSV_jet.nbjets = cms.uint32(2)
558 fullyhadronic_DoubleBTag_DeepCSV_jet.bjetSelection = cms.string('pt>30 & abs(eta)<2.4')
559 fullyhadronic_DoubleBTag_DeepCSV_jet.btagalgo = cms.InputTag("pfDeepCSVJetTags")
560 fullyhadronic_DoubleBTag_DeepCSV_jet.workingpoint = cms.double(0.6324) # DeepCSV Medium
561 # Binning
562 fullyhadronic_DoubleBTag_DeepCSV_jet.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
563 fullyhadronic_DoubleBTag_DeepCSV_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)
564 fullyhadronic_DoubleBTag_DeepCSV_jet.histoPSet.HTBinning = cms.vdouble(0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900)
565 # Triggers
566 fullyhadronic_DoubleBTag_DeepCSV_jet.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT380_SixPFJet32_DoublePFBTagDeepCSV_2p2_v*')
567 fullyhadronic_DoubleBTag_DeepCSV_jet.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT370_v*')
568 
569 fullyhadronic_DoubleBTag_DeepCSV_bjet = hltTOPmonitoring.clone()
570 fullyhadronic_DoubleBTag_DeepCSV_bjet.FolderName = cms.string('HLT/TOP/FullyHadronic/DoubleBTag/BJetMonitor_DeepCSV/')
571 # Selections
572 fullyhadronic_DoubleBTag_DeepCSV_bjet.leptJetDeltaRmin = cms.double(0.0)
573 fullyhadronic_DoubleBTag_DeepCSV_bjet.njets = cms.uint32(6)
574 fullyhadronic_DoubleBTag_DeepCSV_bjet.jetSelection = cms.string('pt>30 & abs(eta)<2.4')
575 fullyhadronic_DoubleBTag_DeepCSV_bjet.HTdefinition = cms.string('pt>30 & abs(eta)<2.4')
576 fullyhadronic_DoubleBTag_DeepCSV_bjet.HTcut = cms.double(450)
577 fullyhadronic_DoubleBTag_DeepCSV_bjet.nbjets = cms.uint32(2)
578 fullyhadronic_DoubleBTag_DeepCSV_bjet.bjetSelection = cms.string('pt>30 & abs(eta)<2.4')
579 fullyhadronic_DoubleBTag_DeepCSV_bjet.btagalgo = cms.InputTag("pfDeepCSVJetTags")
580 fullyhadronic_DoubleBTag_DeepCSV_bjet.workingpoint = cms.double(0.45)
581 # Binning
582 fullyhadronic_DoubleBTag_DeepCSV_bjet.histoPSet.htPSet = cms.PSet(nbins=cms.uint32(50), xmin=cms.double(0.0), xmax=cms.double(1000) )
583 fullyhadronic_DoubleBTag_DeepCSV_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)
584 fullyhadronic_DoubleBTag_DeepCSV_bjet.histoPSet.HTBinning = cms.vdouble(0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900)
585 # Triggers
586 fullyhadronic_DoubleBTag_DeepCSV_bjet.numGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT380_SixPFJet32_DoublePFBTagDeepCSV_2p2_v*')
587 fullyhadronic_DoubleBTag_DeepCSV_bjet.denGenericTriggerEventPSet.hltPaths = cms.vstring('HLT_PFHT380_SixPFJet32_v*')
588 
589 
590 topMonitorHLT = cms.Sequence(
591  )
592 
593 topHLTDQMSourceExtra = cms.Sequence(
594  topEleJet_ele
595  + topEleJet_jet
596  + topEleJet_all
597  + topEleHT_ele
598  + topEleHT_ht
599  + topEleHT_all
600  + topSingleMuonHLTMonitor_Mu24
601  + topSingleMuonHLTMonitor_Mu27
602  + topSingleMuonHLTMonitor_Mu50
603  + topDiElectronHLTMonitor
604  + topDiMuonHLTMonitor_noDz
605  + topDiMuonHLTMonitor_Dz
606  + topDiMuonHLTMonitor_Mass8
607  + topElecMuonHLTMonitor
608  + fullyhadronic_ref350
609  + fullyhadronic_ref370
610  + fullyhadronic_ref430
611  + fullyhadronic_DoubleBTag_all
612  + fullyhadronic_DoubleBTag_jet
613  + fullyhadronic_DoubleBTag_bjet
614  + fullyhadronic_DoubleBTag_ref
615  + fullyhadronic_SingleBTag_all
616  + fullyhadronic_SingleBTag_jet
617  + fullyhadronic_SingleBTag_bjet
618  + fullyhadronic_SingleBTag_ref
619  + fullyhadronic_TripleBTag_all
620  + fullyhadronic_TripleBTag_jet
621  + fullyhadronic_TripleBTag_bjet
622  + topDiElectronHLTMonitor_Dz
623  + topElecMuonHLTMonitor_Dz_Mu12Ele23
624  + topElecMuonHLTMonitor_Dz_Mu8Ele23
625  + topElecMuonHLTMonitor_Dz_Mu23Ele12
626  + topElecMuonHLTMonitor_Mu12Ele23
627  + topElecMuonHLTMonitor_Mu8Ele23
628  + topElecMuonHLTMonitor_Mu23Ele12
629  + topElecMuonHLTMonitor_Mu12Ele23_ref
630  + topElecMuonHLTMonitor_Mu8Ele23_ref
631  + topElecMuonHLTMonitor_Mu23Ele12_ref
632  + topDiMuonHLTMonitor_Dz_Mu17_Mu8
633  + fullyhadronic_DoubleBTag_DeepCSV_all
634  + fullyhadronic_DoubleBTag_DeepCSV_jet
635  + fullyhadronic_DoubleBTag_DeepCSV_bjet
636 )