1 import FWCore.ParameterSet.Config
as cms
3 hltTauDQMofflineProcess =
"HLT" 6 TauRefProducer = cms.EDProducer(
"HLTTauRefProducer",
8 PFTaus = cms.untracked.PSet(
9 PFTauDiscriminatorContainers = cms.untracked.VInputTag(),
10 PFTauDiscriminatorContainerWPs = cms.untracked.vstring(),
11 PFTauDiscriminators = cms.untracked.VInputTag(
12 cms.InputTag(
"hpsPFTauDiscriminationByDecayModeFinding"),
13 cms.InputTag(
"hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits"),
14 cms.InputTag(
"hpsPFTauDiscriminationByLooseMuonRejection3"),
15 cms.InputTag(
"hpsPFTauDiscriminationByMVA6TightElectronRejection")
17 doPFTaus = cms.untracked.bool(
True),
18 ptMin = cms.untracked.double(15.0),
19 etaMin = cms.untracked.double(-2.5),
20 etaMax = cms.untracked.double(2.5),
21 phiMin = cms.untracked.double(-3.15),
22 phiMax = cms.untracked.double(3.15),
23 PFTauProducer = cms.untracked.InputTag(
"hpsPFTauProducer")
25 Electrons = cms.untracked.PSet(
26 ElectronCollection = cms.untracked.InputTag(
"gedGsfElectrons"),
27 doID = cms.untracked.bool(
False),
28 InnerConeDR = cms.untracked.double(0.02),
29 MaxIsoVar = cms.untracked.double(0.02),
30 doElectrons = cms.untracked.bool(
True),
31 TrackCollection = cms.untracked.InputTag(
"generalTracks"),
32 OuterConeDR = cms.untracked.double(0.6),
33 ptMin = cms.untracked.double(15.0),
34 doTrackIso = cms.untracked.bool(
True),
35 ptMinTrack = cms.untracked.double(1.5),
36 lipMinTrack = cms.untracked.double(0.2),
37 IdCollection = cms.untracked.InputTag(
"elecIDext")
39 Jets = cms.untracked.PSet(
40 JetCollection = cms.untracked.InputTag(
"ak4PFJetsCHS"),
41 etMin = cms.untracked.double(15.0),
42 doJets = cms.untracked.bool(
False)
44 Towers = cms.untracked.PSet(
45 TowerCollection = cms.untracked.InputTag(
"towerMaker"),
46 etMin = cms.untracked.double(10.0),
47 doTowers = cms.untracked.bool(
False),
48 towerIsolation = cms.untracked.double(5.0)
51 Muons = cms.untracked.PSet(
52 doMuons = cms.untracked.bool(
True),
53 MuonCollection = cms.untracked.InputTag(
"muons"),
54 ptMin = cms.untracked.double(15.0)
57 Photons = cms.untracked.PSet(
58 doPhotons = cms.untracked.bool(
False),
59 PhotonCollection = cms.untracked.InputTag(
"gedPhotons"),
60 etMin = cms.untracked.double(15.0),
61 ECALIso = cms.untracked.double(3.0)
64 MET = cms.untracked.PSet(
65 doMET = cms.untracked.bool(
True),
66 METCollection = cms.untracked.InputTag(
"caloMet"),
67 ptMin = cms.untracked.double(0.0)
70 EtaMin = cms.untracked.double(-2.3),
71 EtaMax = cms.untracked.double(2.3),
72 PhiMin = cms.untracked.double(-3.15),
73 PhiMax = cms.untracked.double(3.15)
80 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
82 HLTProcessName = cms.untracked.string(hltTauDQMofflineProcess),
83 DQMBaseFolder = cms.untracked.string(
"HLT/TAU/PFTaus"),
84 PlotLevel = cms.untracked.int32(kVital),
85 TriggerResultsSrc = cms.untracked.InputTag(
"TriggerResults",
"", hltTauDQMofflineProcess),
86 TriggerEventSrc = cms.untracked.InputTag(
"hltTriggerSummaryAOD",
"", hltTauDQMofflineProcess),
87 L1Plotter = cms.untracked.PSet(
88 DQMFolder = cms.untracked.string(
'L1'),
89 L1Taus = cms.untracked.InputTag(
"caloStage2Digis",
"Tau"),
90 L1ETM = cms.untracked.InputTag(
"caloStage2Digis",
"EtSum"),
91 L1ETMMin = cms.untracked.double(50),
93 Paths = cms.untracked.string(
"PFTau"),
94 PtHistoBins = cms.untracked.int32(50),
95 PtHistoMax = cms.untracked.double(500),
96 PathSummaryPlotter = cms.untracked.PSet(
97 DQMFolder = cms.untracked.string(
'Summary'),
100 doMatching = cms.untracked.bool(
True),
101 matchFilters = cms.untracked.VPSet(
103 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"PFTaus"),
104 matchObjectID = cms.untracked.int32(15),
107 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"Electrons"),
108 matchObjectID = cms.untracked.int32(11),
111 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"Muons"),
112 matchObjectID = cms.untracked.int32(13),
115 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"MET"),
116 matchObjectID = cms.untracked.int32(0),
122 hltTauOfflineMonitor_Inclusive = hltTauOfflineMonitor_PFTaus.clone(
123 DQMBaseFolder =
"HLT/TAU/Inclusive",
125 doMatching = cms.untracked.bool(
False),
126 matchFilters = cms.untracked.VPSet(),
131 genericTriggerSelectionParameters = cms.PSet(
132 andOr = cms.bool(
False ),
133 dbLabel = cms.string(
"PFTauDQMTrigger"),
134 andOrHlt = cms.bool(
True),
135 hltInputTag = cms.InputTag(
"TriggerResults",
"", hltTauDQMofflineProcess),
137 errorReplyHlt = cms.bool(
False),
138 verbosityLevel = cms.uint32(0)
140 return genericTriggerSelectionParameters
143 hltTauOfflineMonitor_TagAndProbe = hltTauOfflineMonitor_PFTaus.clone(
144 DQMBaseFolder =
"HLT/TAU/TagAndProbe",
146 doMatching = cms.untracked.bool(
True),
147 matchFilters = cms.untracked.VPSet(
149 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"PFTaus"),
150 matchObjectID = cms.untracked.int32(15),
153 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"Electrons"),
154 matchObjectID = cms.untracked.int32(11),
157 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"Muons"),
158 matchObjectID = cms.untracked.int32(13),
161 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"MET"),
162 matchObjectID = cms.untracked.int32(0),
166 TagAndProbe = cms.untracked.VPSet(
168 name = cms.string(
'MuTauTemplate'),
169 xvariable = cms.string(
'Tau'),
170 nPtBins = cms.int32(20),
171 ptmin = cms.double(0.),
172 ptmax = cms.double(200.),
173 nEtaBins = cms.int32(20),
174 etamin = cms.double(-2.5),
175 etamax = cms.double(2.5),
176 nPhiBins = cms.int32(20),
177 phimin = cms.double(-3.15),
178 phimax = cms.double(3.15),
183 name = cms.string(
'ETauTemplate'),
184 xvariable = cms.string(
'Tau'),
185 nPtBins = cms.int32(20),
186 ptmin = cms.double(0.),
187 ptmax = cms.double(200.),
188 nEtaBins = cms.int32(20),
189 etamin = cms.double(-2.5),
190 etamax = cms.double(2.5),
191 nPhiBins = cms.int32(20),
192 phimin = cms.double(-3.15),
193 phimax = cms.double(3.15),
198 name = cms.string(
'TauMETTemplate'),
199 xvariable = cms.string(
'MET'),
200 nPtBins = cms.int32(50),
201 ptmin = cms.double(0.),
202 ptmax = cms.double(500.),
203 nPhiBins = cms.int32(20),
204 phimin = cms.double(-3.15),
205 phimax = cms.double(3.15),
210 name = cms.string(
'IsoMu20_eta2p1'),
211 xvariable = cms.string(
'Muon'),
212 nPtBins = cms.int32(20),
213 ptmin = cms.double(0.),
214 ptmax = cms.double(200.),
215 nEtaBins = cms.int32(20),
216 etamin = cms.double(-2.5),
217 etamax = cms.double(2.5),
218 nPhiBins = cms.int32(20),
219 phimin = cms.double(-3.15),
220 phimax = cms.double(3.15),
223 nOfflObjs = cms.untracked.uint32(2)
226 name = cms.string(
'IsoMu24_eta2p1'),
227 xvariable = cms.string(
'Muon'),
228 nPtBins = cms.int32(20),
229 ptmin = cms.double(0.),
230 ptmax = cms.double(200.),
231 nEtaBins = cms.int32(20),
232 etamin = cms.double(-2.5),
233 etamax = cms.double(2.5),
234 nPhiBins = cms.int32(20),
235 phimin = cms.double(-3.15),
236 phimax = cms.double(3.15),
241 name = cms.string(
'Ele24_eta2p1_WPTight_Gsf'),
242 xvariable = cms.string(
'Electron'),
243 nPtBins = cms.int32(20),
244 ptmin = cms.double(0.),
245 ptmax = cms.double(200.),
246 nEtaBins = cms.int32(20),
247 etamin = cms.double(-2.5),
248 etamax = cms.double(2.5),
249 nPhiBins = cms.int32(20),
250 phimin = cms.double(-3.15),
251 phimax = cms.double(3.15),
def TriggerSelectionParameters(hltpaths)