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_Inclusive = hltTauOfflineMonitor_PFTaus.clone(
120 DQMBaseFolder =
"HLT/TAU/Inclusive",
122 doMatching = cms.untracked.bool(
False),
123 matchFilters = cms.untracked.VPSet(),
128 genericTriggerSelectionParameters = cms.PSet(
129 andOr = cms.bool(
False ),
130 dbLabel = cms.string(
"PFTauDQMTrigger"),
131 andOrHlt = cms.bool(
True),
132 hltInputTag = cms.InputTag(
"TriggerResults",
"", hltTauDQMofflineProcess),
134 errorReplyHlt = cms.bool(
False),
135 verbosityLevel = cms.uint32(0)
137 return genericTriggerSelectionParameters
140 hltTauOfflineMonitor_TagAndProbe = hltTauOfflineMonitor_PFTaus.clone(
141 DQMBaseFolder =
"HLT/TAU/TagAndProbe",
143 doMatching = cms.untracked.bool(
True),
144 matchFilters = cms.untracked.VPSet(
146 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"PFTaus"),
147 matchObjectID = cms.untracked.int32(15),
150 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"Electrons"),
151 matchObjectID = cms.untracked.int32(11),
154 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"Muons"),
155 matchObjectID = cms.untracked.int32(13),
158 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"MET"),
159 matchObjectID = cms.untracked.int32(0),
163 TagAndProbe = cms.untracked.VPSet(
165 name = cms.string(
'MuTauTemplate'),
166 xvariable = cms.string(
'Tau'),
167 nPtBins = cms.int32(20),
168 ptmin = cms.double(0.),
169 ptmax = cms.double(200.),
170 nEtaBins = cms.int32(20),
171 etamin = cms.double(-2.5),
172 etamax = cms.double(2.5),
173 nPhiBins = cms.int32(20),
174 phimin = cms.double(-3.15),
175 phimax = cms.double(3.15),
180 name = cms.string(
'ETauTemplate'),
181 xvariable = cms.string(
'Tau'),
182 nPtBins = cms.int32(20),
183 ptmin = cms.double(0.),
184 ptmax = cms.double(200.),
185 nEtaBins = cms.int32(20),
186 etamin = cms.double(-2.5),
187 etamax = cms.double(2.5),
188 nPhiBins = cms.int32(20),
189 phimin = cms.double(-3.15),
190 phimax = cms.double(3.15),
195 name = cms.string(
'TauMETTemplate'),
196 xvariable = cms.string(
'MET'),
197 nPtBins = cms.int32(50),
198 ptmin = cms.double(0.),
199 ptmax = cms.double(500.),
200 nPhiBins = cms.int32(20),
201 phimin = cms.double(-3.15),
202 phimax = cms.double(3.15),
207 name = cms.string(
'IsoMu20_eta2p1'),
208 xvariable = cms.string(
'Muon'),
209 nPtBins = cms.int32(20),
210 ptmin = cms.double(0.),
211 ptmax = cms.double(200.),
212 nEtaBins = cms.int32(20),
213 etamin = cms.double(-2.5),
214 etamax = cms.double(2.5),
215 nPhiBins = cms.int32(20),
216 phimin = cms.double(-3.15),
217 phimax = cms.double(3.15),
220 nOfflObjs = cms.untracked.uint32(2)
223 name = cms.string(
'IsoMu24_eta2p1'),
224 xvariable = cms.string(
'Muon'),
225 nPtBins = cms.int32(20),
226 ptmin = cms.double(0.),
227 ptmax = cms.double(200.),
228 nEtaBins = cms.int32(20),
229 etamin = cms.double(-2.5),
230 etamax = cms.double(2.5),
231 nPhiBins = cms.int32(20),
232 phimin = cms.double(-3.15),
233 phimax = cms.double(3.15),
238 name = cms.string(
'Ele24_eta2p1_WPTight_Gsf'),
239 xvariable = cms.string(
'Electron'),
240 nPtBins = cms.int32(20),
241 ptmin = cms.double(0.),
242 ptmax = cms.double(200.),
243 nEtaBins = cms.int32(20),
244 etamin = cms.double(-2.5),
245 etamax = cms.double(2.5),
246 nPhiBins = cms.int32(20),
247 phimin = cms.double(-3.15),
248 phimax = cms.double(3.15),
def TriggerSelectionParameters(hltpaths)