1 import FWCore.ParameterSet.Config
as cms
5 partialPathName =
"HLT_AK4CaloJet30_v"
6 hltHICaloJet30 = cms.PSet(
7 triggerSelection = cms.string(partialPathName+
"*"),
8 handlerType = cms.string(
"FromHLT"),
9 partialPathName = cms.string(partialPathName),
10 partialFilterName = cms.string(
"hltSingleAK4CaloJet"),
11 dqmhistolabel = cms.string(
"hltHICaloJet30"),
12 mainDQMDirname = cms.untracked.string(dirname),
13 singleObjectsPreselection = cms.string(
"1==1"),
14 singleObjectDrawables = cms.VPSet(
15 cms.PSet (name = cms.string(
"pt"), expression = cms.string(
"pt"), bins = cms.int32(58), min = cms.double(10), max = cms.double(300)),
16 cms.PSet (name = cms.string(
"eta"), expression = cms.string(
"eta"), bins = cms.int32(100), min = cms.double(-5), max = cms.double(5)),
17 cms.PSet (name = cms.string(
"phi"), expression = cms.string(
"phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
19 combinedObjectSelection = cms.string(
"1==1"),
20 combinedObjectSortCriteria = cms.string(
"at(0).pt"),
21 combinedObjectDimension = cms.int32(1),
22 combinedObjectDrawables = cms.VPSet()
24 ret.append(hltHICaloJet30)
26 hltHICaloJet40 = hltHICaloJet30.clone(partialPathName = cms.string(
"HLT_AK4CaloJet40_v"),
27 triggerSelection = cms.string(
"HLT_AK4CaloJet40_v*"),
28 dqmhistolabel = cms.string(
"hltHICaloJet40")
30 ret.append(hltHICaloJet40)
32 hltHICaloJet50 = hltHICaloJet30.clone(partialPathName = cms.string(
"HLT_AK4CaloJet50_v"),
33 triggerSelection = cms.string(
"HLT_AK4CaloJet50_v*"),
34 dqmhistolabel = cms.string(
"hltHICaloJet50")
36 ret.append(hltHICaloJet50)
38 hltHICaloJet80 = hltHICaloJet30.clone(partialPathName = cms.string(
"HLT_AK4CaloJet80_v"),
39 triggerSelection = cms.string(
"HLT_AK4CaloJet80_v*"),
40 dqmhistolabel = cms.string(
"hltHICaloJet80")
42 ret.append(hltHICaloJet80)
44 hltHICaloJet100 = hltHICaloJet30.clone(partialPathName = cms.string(
"HLT_AK4CaloJet100_v"),
45 triggerSelection = cms.string(
"HLT_AK4CaloJet100_v*"),
46 dqmhistolabel = cms.string(
"hltHICaloJet100")
48 ret.append(hltHICaloJet100)
50 hltHICaloJet30ForEndOfFill = hltHICaloJet30.clone(partialPathName = cms.string(
"HLT_AK4CaloJet30ForEndOfFill_v"),
51 triggerSelection = cms.string(
"HLT_AK4CaloJet30ForEndOfFill_v*"),
52 dqmhistolabel = cms.string(
"hltHICaloJet30ForEndOfFill")
54 ret.append(hltHICaloJet30ForEndOfFill)
56 hltHICaloJet40ForEndOfFill = hltHICaloJet30.clone(partialPathName = cms.string(
"HLT_AK4CaloJet40ForEndOfFill_v"),
57 triggerSelection = cms.string(
"HLT_AK4CaloJet40ForEndOfFill_v*"),
58 dqmhistolabel = cms.string(
"hltHICaloJet40ForEndOfFill")
60 ret.append(hltHICaloJet40ForEndOfFill)
62 hltHICaloJet50ForEndOfFill = hltHICaloJet30.clone(partialPathName = cms.string(
"HLT_AK4CaloJet50ForEndOfFill_v"),
63 triggerSelection = cms.string(
"HLT_AK4CaloJet50ForEndOfFill_v*"),
64 dqmhistolabel = cms.string(
"hltHICaloJet50ForEndOfFill")
66 ret.append(hltHICaloJet50ForEndOfFill)
69 hltHIPFJet30 = hltHICaloJet30.clone(partialPathName = cms.string(
"HLT_AK4PFJet30_v"),
70 triggerSelection = cms.string(
"HLT_AK4PFJet30_v*"),
71 dqmhistolabel = cms.string(
"hltHIPFJet30"),
72 partialFilterName = cms.string(
"hltSingleAK4PFJet")
74 ret.append(hltHIPFJet30)
76 hltHIPFJet50 = hltHIPFJet30.clone(partialPathName = cms.string(
"HLT_AK4PFJet50_v"),
77 triggerSelection = cms.string(
"HLT_AK4PFJet50_v*"),
78 dqmhistolabel = cms.string(
"hltHIPFJet50")
80 ret.append(hltHIPFJet50)
82 hltHIPFJet80 = hltHIPFJet30.clone(partialPathName = cms.string(
"HLT_AK4PFJet80_v"),
83 triggerSelection = cms.string(
"HLT_AK4PFJet80_v*"),
84 dqmhistolabel = cms.string(
"hltHIPFJet80")
86 ret.append(hltHIPFJet80)
88 hltHIPFJet100 = hltHIPFJet30.clone(partialPathName = cms.string(
"HLT_AK4PFJet100_v"),
89 triggerSelection = cms.string(
"HLT_AK4PFJet100_v*"),
90 dqmhistolabel = cms.string(
"hltHIPFJet100")
92 ret.append(hltHIPFJet100)
94 hltHIPFJet30ForEndOfFill = hltHIPFJet30.clone(partialPathName = cms.string(
"HLT_AK4PFJet30ForEndOfFill_v"),
95 triggerSelection = cms.string(
"HLT_AK4PFJet30ForEndOfFill_v*"),
96 dqmhistolabel = cms.string(
"hltHIPFJet30ForEndOfFill")
98 ret.append(hltHIPFJet30ForEndOfFill)
100 hltHIPFJet50ForEndOfFill = hltHIPFJet30.clone(partialPathName = cms.string(
"HLT_AK4PFJet50ForEndOfFill_v"),
101 triggerSelection = cms.string(
"HLT_AK4PFJet50ForEndOfFill_v*"),
102 dqmhistolabel = cms.string(
"hltHIPFJet50ForEndOfFill")
104 ret.append(hltHIPFJet50ForEndOfFill)
106 hltHISinglePhoton10 = hltHICaloJet30.clone(partialPathName = cms.string(
"HLT_HISinglePhoton10_v"),
107 triggerSelection = cms.string(
"HLT_HISinglePhoton10_v*"),
108 dqmhistolabel = cms.string(
"hltHISinglePhoton10"),
109 partialFilterName = cms.string(
"hltHIPhoton")
111 ret.append(hltHISinglePhoton10)
113 hltHISinglePhoton15 = hltHISinglePhoton10.clone(partialPathName = cms.string(
"HLT_HISinglePhoton15_v"),
114 triggerSelection = cms.string(
"HLT_HISinglePhoton15_v*"),
115 dqmhistolabel = cms.string(
"hltHISinglePhoton15")
117 ret.append(hltHISinglePhoton15)
120 hltHISinglePhoton20 = hltHISinglePhoton10.clone(partialPathName = cms.string(
"HLT_HISinglePhoton20_v"),
121 triggerSelection = cms.string(
"HLT_HISinglePhoton20_v*"),
122 dqmhistolabel = cms.string(
"hltHISinglePhoton20")
124 ret.append(hltHISinglePhoton20)
126 hltHISinglePhoton40 = hltHISinglePhoton10.clone(partialPathName = cms.string(
"HLT_HISinglePhoton40_v"),
127 triggerSelection = cms.string(
"HLT_HISinglePhoton40_v*"),
128 dqmhistolabel = cms.string(
"hltHISinglePhoton40")
130 ret.append(hltHISinglePhoton40)
132 hltHISinglePhoton60 = hltHISinglePhoton10.clone(partialPathName = cms.string(
"HLT_HISinglePhoton60_v"),
133 triggerSelection = cms.string(
"HLT_HISinglePhoton60_v*"),
134 dqmhistolabel = cms.string(
"hltHISinglePhoton60")
136 ret.append(hltHISinglePhoton60)
138 hltHISinglePhoton10ForEndOfFill = hltHISinglePhoton10.clone(partialPathName = cms.string(
"HLT_HISinglePhoton10ForEndOfFill_v"),
139 triggerSelection = cms.string(
"HLT_HISinglePhoton10ForEndOfFill_v*"),
140 dqmhistolabel = cms.string(
"hltHISinglePhoton10ForEndOfFill")
142 ret.append(hltHISinglePhoton10ForEndOfFill)
144 hltHISinglePhoton15ForEndOfFill = hltHISinglePhoton10.clone(partialPathName = cms.string(
"HLT_HISinglePhoton15ForEndOfFill_v"),
145 triggerSelection = cms.string(
"HLT_HISinglePhoton15ForEndOfFill_v*"),
146 dqmhistolabel = cms.string(
"hltHISinglePhoton15ForEndOfFill")
148 ret.append(hltHISinglePhoton15ForEndOfFill)
150 hltHISinglePhoton20ForEndOfFill = hltHISinglePhoton10.clone(partialPathName = cms.string(
"HLT_HISinglePhoton20ForEndOfFill_v"),
151 triggerSelection = cms.string(
"HLT_HISinglePhoton20ForEndOfFill_v*"),
152 dqmhistolabel = cms.string(
"hltHISinglePhoton20ForEndOfFill")
154 ret.append(hltHISinglePhoton20ForEndOfFill)
160 thresholds = [12, 20, 30, 50]
162 partialPathName =
"HLT_FullTrack"+str(t)+
"_v"
163 hltFullTrack = cms.PSet(
164 triggerSelection = cms.string(partialPathName+
"*"),
165 handlerType = cms.string(
"FromHLT"),
166 partialPathName = cms.string(partialPathName),
167 partialFilterName = cms.string(
"hltHighPtFullTrack"),
168 dqmhistolabel = cms.string(
"hltHighPtFullTrack"),
169 mainDQMDirname = cms.untracked.string(dirname),
170 singleObjectsPreselection = cms.string(
"1==1"),
171 singleObjectDrawables = cms.VPSet(
172 cms.PSet (name = cms.string(
"pt"), expression = cms.string(
"pt"), bins = cms.int32(100), min = cms.double(0), max = cms.double(100)),
173 cms.PSet (name = cms.string(
"eta"), expression = cms.string(
"eta"), bins = cms.int32(100), min = cms.double(-2.5), max = cms.double(2.5)),
174 cms.PSet (name = cms.string(
"phi"), expression = cms.string(
"phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
176 combinedObjectSelection = cms.string(
"1==1"),
177 combinedObjectSortCriteria = cms.string(
"at(0).pt"),
178 combinedObjectDimension = cms.int32(1),
179 combinedObjectDrawables = cms.VPSet()
181 ret.append(hltFullTrack)
184 for t
in thresholds2:
185 partialPathName =
"HLT_FullTrack"+str(t)+
"ForEndOfFill_v"
186 hltFullTrack = cms.PSet(
187 triggerSelection = cms.string(partialPathName+
"*"),
188 handlerType = cms.string(
"FromHLT"),
189 partialPathName = cms.string(partialPathName),
190 partialFilterName = cms.string(
"hltHighPtFullTrack"),
191 dqmhistolabel = cms.string(
"hltHighPtFullTrack"),
192 mainDQMDirname = cms.untracked.string(dirname),
193 singleObjectsPreselection = cms.string(
"1==1"),
194 singleObjectDrawables = cms.VPSet(
195 cms.PSet (name = cms.string(
"pt"), expression = cms.string(
"pt"), bins = cms.int32(100), min = cms.double(0), max = cms.double(100)),
196 cms.PSet (name = cms.string(
"eta"), expression = cms.string(
"eta"), bins = cms.int32(100), min = cms.double(-2.5), max = cms.double(2.5)),
197 cms.PSet (name = cms.string(
"phi"), expression = cms.string(
"phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
199 combinedObjectSelection = cms.string(
"1==1"),
200 combinedObjectSortCriteria = cms.string(
"at(0).pt"),
201 combinedObjectDimension = cms.int32(1),
202 combinedObjectDrawables = cms.VPSet()
204 ret.append(hltFullTrack)
218 HILowLumiHLTOfflineSource = cms.EDAnalyzer(
"FSQDiJetAve",
219 triggerConfiguration = cms.PSet(
220 hltResults = cms.InputTag(
'TriggerResults',
'',processName),
221 l1tResults = cms.InputTag(
''),
223 daqPartitions = cms.uint32(1),
224 l1tIgnoreMask = cms.bool(
False ),
225 l1techIgnorePrescales = cms.bool(
False ),
226 throw = cms.bool(
False )
241 triggerSummaryLabel = cms.InputTag(
"hltTriggerSummaryAOD",
"", processName),
242 triggerResultsLabel = cms.InputTag(
"TriggerResults",
"", processName),
243 useGenWeight = cms.bool(
False),
249 HILowLumiHLTOfflineSourceSequence = cms.Sequence(HILowLumiHLTOfflineSource)