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")
14 doPFTaus = cms.untracked.bool(
True),
15 ptMin = cms.untracked.double(15.0),
16 etaMin = cms.untracked.double(-2.5),
17 etaMax = cms.untracked.double(2.5),
18 phiMin = cms.untracked.double(-3.15),
19 phiMax = cms.untracked.double(3.15),
20 PFTauProducer = cms.untracked.InputTag(
"hpsPFTauProducer")
22 Electrons = cms.untracked.PSet(
23 ElectronCollection = cms.untracked.InputTag(
"gedGsfElectrons"),
24 doID = cms.untracked.bool(
False),
25 InnerConeDR = cms.untracked.double(0.02),
26 MaxIsoVar = cms.untracked.double(0.02),
27 doElectrons = cms.untracked.bool(
True),
28 TrackCollection = cms.untracked.InputTag(
"generalTracks"),
29 OuterConeDR = cms.untracked.double(0.6),
30 ptMin = cms.untracked.double(15.0),
31 doTrackIso = cms.untracked.bool(
True),
32 ptMinTrack = cms.untracked.double(1.5),
33 lipMinTrack = cms.untracked.double(0.2),
34 IdCollection = cms.untracked.InputTag(
"elecIDext")
36 Jets = cms.untracked.PSet(
37 JetCollection = cms.untracked.InputTag(
"ak4PFJetsCHS"),
38 etMin = cms.untracked.double(15.0),
39 doJets = cms.untracked.bool(
False)
41 Towers = cms.untracked.PSet(
42 TowerCollection = cms.untracked.InputTag(
"towerMaker"),
43 etMin = cms.untracked.double(10.0),
44 doTowers = cms.untracked.bool(
False),
45 towerIsolation = cms.untracked.double(5.0)
48 Muons = cms.untracked.PSet(
49 doMuons = cms.untracked.bool(
True),
50 MuonCollection = cms.untracked.InputTag(
"muons"),
51 ptMin = cms.untracked.double(15.0)
54 Photons = cms.untracked.PSet(
55 doPhotons = cms.untracked.bool(
False),
56 PhotonCollection = cms.untracked.InputTag(
"gedPhotons"),
57 etMin = cms.untracked.double(15.0),
58 ECALIso = cms.untracked.double(3.0)
61 MET = cms.untracked.PSet(
62 doMET = cms.untracked.bool(
True),
63 METCollection = cms.untracked.InputTag(
"caloMet"),
64 ptMin = cms.untracked.double(0.0)
67 EtaMin = cms.untracked.double(-2.3),
68 EtaMax = cms.untracked.double(2.3),
69 PhiMin = cms.untracked.double(-3.15),
70 PhiMax = cms.untracked.double(3.15)
77 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
79 HLTProcessName = cms.untracked.string(hltTauDQMofflineProcess),
80 DQMBaseFolder = cms.untracked.string(
"HLT/TAU/PFTaus"),
81 PlotLevel = cms.untracked.int32(kVital),
82 TriggerResultsSrc = cms.untracked.InputTag(
"TriggerResults",
"", hltTauDQMofflineProcess),
83 TriggerEventSrc = cms.untracked.InputTag(
"hltTriggerSummaryAOD",
"", hltTauDQMofflineProcess),
84 L1Plotter = cms.untracked.PSet(
85 DQMFolder = cms.untracked.string(
'L1'),
86 L1Taus = cms.untracked.InputTag(
"caloStage2Digis",
"Tau"),
87 L1ETM = cms.untracked.InputTag(
"caloStage2Digis",
"EtSum"),
88 L1ETMMin = cms.untracked.double(50),
90 Paths = cms.untracked.string(
"PFTau"),
91 PtHistoBins = cms.untracked.int32(50),
92 PtHistoMax = cms.untracked.double(500),
93 PathSummaryPlotter = cms.untracked.PSet(
94 DQMFolder = cms.untracked.string(
'Summary'),
97 doMatching = cms.untracked.bool(
True),
98 matchFilters = cms.untracked.VPSet(
100 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"PFTaus"),
101 matchObjectID = cms.untracked.int32(15),
104 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"Electrons"),
105 matchObjectID = cms.untracked.int32(11),
108 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"Muons"),
109 matchObjectID = cms.untracked.int32(13),
112 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"MET"),
113 matchObjectID = cms.untracked.int32(0),
119 hltTauOfflineMonitor_PNetTaus = hltTauOfflineMonitor_PFTaus.clone(
120 DQMBaseFolder = cms.untracked.string(
"HLT/TAU/PNetTaus"),
121 Paths = cms.untracked.string(
"PNetTauh")
124 hltTauOfflineMonitor_Inclusive = hltTauOfflineMonitor_PFTaus.clone(
125 DQMBaseFolder =
"HLT/TAU/Inclusive",
127 doMatching = cms.untracked.bool(
False),
128 matchFilters = cms.untracked.VPSet(),
133 genericTriggerSelectionParameters = cms.PSet(
134 andOr = cms.bool(
False ),
135 dbLabel = cms.string(
"PFTauDQMTrigger"),
136 andOrHlt = cms.bool(
True),
137 hltInputTag = cms.InputTag(
"TriggerResults",
"", hltTauDQMofflineProcess),
139 errorReplyHlt = cms.bool(
False),
140 verbosityLevel = cms.uint32(0)
142 return genericTriggerSelectionParameters
145 hltTauOfflineMonitor_TagAndProbe = hltTauOfflineMonitor_PFTaus.clone(
146 DQMBaseFolder =
"HLT/TAU/TagAndProbe",
148 doMatching = cms.untracked.bool(
True),
149 matchFilters = cms.untracked.VPSet(
151 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"PFTaus"),
152 matchObjectID = cms.untracked.int32(15),
155 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"Electrons"),
156 matchObjectID = cms.untracked.int32(11),
159 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"Muons"),
160 matchObjectID = cms.untracked.int32(13),
163 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"MET"),
164 matchObjectID = cms.untracked.int32(0),
168 TagAndProbe = cms.untracked.VPSet(
170 name = cms.string(
'MuTauTemplate'),
171 xvariable = cms.string(
'Tau'),
172 nPtBins = cms.int32(20),
173 ptmin = cms.double(0.),
174 ptmax = cms.double(200.),
175 nEtaBins = cms.int32(20),
176 etamin = cms.double(-2.5),
177 etamax = cms.double(2.5),
178 nPhiBins = cms.int32(20),
179 phimin = cms.double(-3.15),
180 phimax = cms.double(3.15),
185 name = cms.string(
'ETauTemplate'),
186 xvariable = cms.string(
'Tau'),
187 nPtBins = cms.int32(20),
188 ptmin = cms.double(0.),
189 ptmax = cms.double(200.),
190 nEtaBins = cms.int32(20),
191 etamin = cms.double(-2.5),
192 etamax = cms.double(2.5),
193 nPhiBins = cms.int32(20),
194 phimin = cms.double(-3.15),
195 phimax = cms.double(3.15),
200 name = cms.string(
'TauMETTemplate'),
201 xvariable = cms.string(
'MET'),
202 nPtBins = cms.int32(50),
203 ptmin = cms.double(0.),
204 ptmax = cms.double(500.),
205 nPhiBins = cms.int32(20),
206 phimin = cms.double(-3.15),
207 phimax = cms.double(3.15),
212 name = cms.string(
'IsoMu20_eta2p1'),
213 xvariable = cms.string(
'Muon'),
214 nPtBins = cms.int32(20),
215 ptmin = cms.double(0.),
216 ptmax = cms.double(200.),
217 nEtaBins = cms.int32(20),
218 etamin = cms.double(-2.5),
219 etamax = cms.double(2.5),
220 nPhiBins = cms.int32(20),
221 phimin = cms.double(-3.15),
222 phimax = cms.double(3.15),
225 nOfflObjs = cms.untracked.uint32(2)
228 name = cms.string(
'IsoMu24_eta2p1'),
229 xvariable = cms.string(
'Muon'),
230 nPtBins = cms.int32(20),
231 ptmin = cms.double(0.),
232 ptmax = cms.double(200.),
233 nEtaBins = cms.int32(20),
234 etamin = cms.double(-2.5),
235 etamax = cms.double(2.5),
236 nPhiBins = cms.int32(20),
237 phimin = cms.double(-3.15),
238 phimax = cms.double(3.15),
243 name = cms.string(
'Ele24_eta2p1_WPTight_Gsf'),
244 xvariable = cms.string(
'Electron'),
245 nPtBins = cms.int32(20),
246 ptmin = cms.double(0.),
247 ptmax = cms.double(200.),
248 nEtaBins = cms.int32(20),
249 etamin = cms.double(-2.5),
250 etamax = cms.double(2.5),
251 nPhiBins = cms.int32(20),
252 phimin = cms.double(-3.15),
253 phimax = cms.double(3.15),
def TriggerSelectionParameters(hltpaths)