CMS 3D CMS Logo

OccupancyTask_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 tpThreshold = 4.
4 recHitThreshold = 0.5
5 lumiCheck = False
6 
7 ecalOccupancyTask = cms.untracked.PSet(
8  params = cms.untracked.PSet(
9  recHitThreshold = cms.untracked.double(recHitThreshold),
10  tpThreshold = cms.untracked.double(tpThreshold),
11  metadata = cms.InputTag('onlineMetaDataDigis'),
12  lumiCheck = cms.untracked.bool(lumiCheck)
13  ),
14  MEs = cms.untracked.PSet(
15  TrendNTPDigi = cms.untracked.PSet(
16  path = cms.untracked.string('Ecal/Trends/OccupancyTask %(prefix)s number of filtered TP digis'),
17  kind = cms.untracked.string('TProfile'),
18  otype = cms.untracked.string('Ecal2P'),
19  btype = cms.untracked.string('Trend'),
20  description = cms.untracked.string('Trend of the per-event number of TP digis with Et > ' + str(tpThreshold) + ' GeV.')
21  ),
22  TPDigiThrProjPhi = cms.untracked.PSet(
23  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi thr occupancy%(suffix)s projection phi'),
24  kind = cms.untracked.string('TH1F'),
25  otype = cms.untracked.string('Ecal3P'),
26  btype = cms.untracked.string('ProjPhi'),
27  description = cms.untracked.string('Projection of the occupancy of TP digis with Et > ' + str(tpThreshold) + ' GeV.')
28  ),
29  DCC = cms.untracked.PSet(
30  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT DCC entries'),
31  kind = cms.untracked.string('TH1F'),
32  otype = cms.untracked.string('Ecal2P'),
33  btype = cms.untracked.string('DCC'),
34  description = cms.untracked.string('Number of entries recoreded by each FED')
35  ),
36  DigiDCC = cms.untracked.PSet(
37  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sOT digi occupancy summary 1D'), # in SummaryClient for historical reasons
38  kind = cms.untracked.string('TH1F'),
39  otype = cms.untracked.string('Ecal2P'),
40  btype = cms.untracked.string('DCC'),
41  description = cms.untracked.string('DCC digi occupancy.')
42  ),
43  DigiProjPhi = cms.untracked.PSet(
44  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT digi occupancy%(suffix)s projection phi'),
45  kind = cms.untracked.string('TH1F'),
46  otype = cms.untracked.string('Ecal3P'),
47  btype = cms.untracked.string('ProjPhi'),
48  description = cms.untracked.string('Projection of digi occupancy.')
49  ),
50 # TPDigiProjEta = cms.untracked.PSet(
51 # path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi occupancy%(suffix)s projection eta'),
52 # kind = cms.untracked.string('TH1F'),
53 # otype = cms.untracked.string('Ecal3P'),
54 # btype = cms.untracked.string('ProjEta'),
55 # description = cms.untracked.string('Projection of TP digi occupancy.')
56 # ),
57  Digi = cms.untracked.PSet(
58  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT digi occupancy %(sm)s'),
59  kind = cms.untracked.string('TH2F'),
60  otype = cms.untracked.string('SM'),
61  btype = cms.untracked.string('Crystal'),
62  description = cms.untracked.string('Digi occupancy.')
63  ),
64  DigiProjEta = cms.untracked.PSet(
65  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT digi occupancy%(suffix)s projection eta'),
66  kind = cms.untracked.string('TH1F'),
67  otype = cms.untracked.string('Ecal3P'),
68  btype = cms.untracked.string('ProjEta'),
69  description = cms.untracked.string('Projection of digi occupancy.')
70  ),
71  TrendNRecHitThr = cms.untracked.PSet(
72  path = cms.untracked.string('Ecal/Trends/OccupancyTask %(prefix)s number of filtered recHits'),
73  kind = cms.untracked.string('TProfile'),
74  otype = cms.untracked.string('Ecal2P'),
75  btype = cms.untracked.string('Trend'),
76  description = cms.untracked.string('Trend of the per-event number of rec hits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.')
77  ),
78 # TPDigiAll = cms.untracked.PSet(
79 # path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi occupancy%(suffix)s'),
80 # kind = cms.untracked.string('TH2F'),
81 # otype = cms.untracked.string('Ecal3P'),
82 # btype = cms.untracked.string('TriggerTower'),
83 # description = cms.untracked.string('TP digi occupancy.')
84 # ),
85  TPDigiThrProjEta = cms.untracked.PSet(
86  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi thr occupancy%(suffix)s projection eta'),
87  kind = cms.untracked.string('TH1F'),
88  otype = cms.untracked.string('Ecal3P'),
89  btype = cms.untracked.string('ProjEta'),
90  description = cms.untracked.string('Projection of the occupancy of TP digis with Et > ' + str(tpThreshold) + ' GeV.')
91  ),
92  TrendNDigi = cms.untracked.PSet(
93  path = cms.untracked.string('Ecal/Trends/OccupancyTask %(prefix)s number of digis'),
94  kind = cms.untracked.string('TProfile'),
95  otype = cms.untracked.string('Ecal2P'),
96  btype = cms.untracked.string('Trend'),
97  description = cms.untracked.string('Trend of the per-event number of digis.')
98  ),
99  RecHitThr1D = cms.untracked.PSet(
100  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT number of filtered rec hits in event'),
101  kind = cms.untracked.string('TH1F'),
102  otype = cms.untracked.string('Ecal2P'),
103  xaxis = cms.untracked.PSet(
104  high = cms.untracked.double(500.0),
105  nbins = cms.untracked.int32(100),
106  low = cms.untracked.double(0.0)
107  ),
108  btype = cms.untracked.string('User'),
109  description = cms.untracked.string('Occupancy of rec hits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.')
110  ),
111  Digi1D = cms.untracked.PSet(
112  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT number of digis in event'),
113  kind = cms.untracked.string('TH1F'),
114  otype = cms.untracked.string('Ecal2P'),
115  xaxis = cms.untracked.PSet(
116  high = cms.untracked.double(3000.0),
117  nbins = cms.untracked.int32(100),
118  low = cms.untracked.double(0.0)
119  ),
120  btype = cms.untracked.string('User'),
121  description = cms.untracked.string('Distribution of the number of digis per event.')
122  ),
123  DigiAll = cms.untracked.PSet(
124  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT digi occupancy%(suffix)s'),
125  kind = cms.untracked.string('TH2F'),
126  otype = cms.untracked.string('Ecal3P'),
127  btype = cms.untracked.string('SuperCrystal'),
128  description = cms.untracked.string('Digi occupancy.')
129  ),
130  DigiAllByLumi = cms.untracked.PSet(
131  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT digi occupancy%(suffix)s by lumi'),
132  kind = cms.untracked.string('TH2F'),
133  otype = cms.untracked.string('Ecal3P'),
134  btype = cms.untracked.string('SuperCrystal'),
135  description = cms.untracked.string('Digi occupancy for this lumisection.')
136  ),
137  RecHitThrProjEta = cms.untracked.PSet(
138  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy%(suffix)s projection eta'),
139  kind = cms.untracked.string('TH1F'),
140  otype = cms.untracked.string('Ecal3P'),
141  btype = cms.untracked.string('ProjEta'),
142  description = cms.untracked.string('Projection of the occupancy of rec hits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.')
143  ),
144  RecHitProjEta = cms.untracked.PSet(
145  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit occupancy%(suffix)s projection eta'),
146  kind = cms.untracked.string('TH1F'),
147  otype = cms.untracked.string('Ecal3P'),
148  btype = cms.untracked.string('ProjEta'),
149  description = cms.untracked.string('Projection of the occupancy of all rec hits.')
150  ),
151  TPDigiThrAll = cms.untracked.PSet(
152  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi thr occupancy%(suffix)s'),
153  kind = cms.untracked.string('TH2F'),
154  otype = cms.untracked.string('Ecal3P'),
155  btype = cms.untracked.string('TriggerTower'),
156  description = cms.untracked.string('Occupancy for TP digis with Et > ' + str(tpThreshold) + ' GeV.')
157  ),
158  TPDigiThrAllByLumi = cms.untracked.PSet(
159  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi thr occupancy%(suffix)s by lumi'),
160  kind = cms.untracked.string('TH2F'),
161  otype = cms.untracked.string('Ecal3P'),
162  btype = cms.untracked.string('TriggerTower'),
163  description = cms.untracked.string('TP digi occupancy for this lumisection. Only includes TP digis with Et > ' + str(tpThreshold) + ' GeV.')
164  ),
165  TPDigiRCT = cms.untracked.PSet(
166  path = cms.untracked.string('EcalBarrel/EBOccupancyTask/TP digi thr occupancy in RCT coordinates'),
167  kind = cms.untracked.string('TH2F'),
168  otype = cms.untracked.string('Ecal'),
169  btype = cms.untracked.string('RCT'),
170  description = cms.untracked.string('Occupancy for TP digis with Et > ' + str(tpThreshold) + ' GeV in RCT coordinates')
171  ),
172  RecHitThrAll = cms.untracked.PSet(
173  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy%(suffix)s'),
174  kind = cms.untracked.string('TH2F'),
175  otype = cms.untracked.string('Ecal3P'),
176  btype = cms.untracked.string('SuperCrystal'),
177  description = cms.untracked.string('Occupancy for rec hits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.')
178  ),
179  RecHitThrAllByLumi = cms.untracked.PSet(
180  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy%(suffix)s by lumi'),
181  kind = cms.untracked.string('TH2F'),
182  otype = cms.untracked.string('Ecal3P'),
183  btype = cms.untracked.string('SuperCrystal'),
184  description = cms.untracked.string('Filtered rechit cccupancy for this lumisection. Only includes rechits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.')
185  ),
186  RecHitAll = cms.untracked.PSet(
187  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit occupancy%(suffix)s'),
188  kind = cms.untracked.string('TH2F'),
189  otype = cms.untracked.string('Ecal3P'),
190  btype = cms.untracked.string('Crystal'),
191  description = cms.untracked.string('Rec hit occupancy.')
192  ),
193  RecHitProjPhi = cms.untracked.PSet(
194  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit occupancy%(suffix)s projection phi'),
195  kind = cms.untracked.string('TH1F'),
196  otype = cms.untracked.string('Ecal3P'),
197  btype = cms.untracked.string('ProjPhi'),
198  description = cms.untracked.string('Projection of the rec hit occupancy.')
199  ),
200  RecHitThrProjPhi = cms.untracked.PSet(
201  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy%(suffix)s projection phi'),
202  kind = cms.untracked.string('TH1F'),
203  otype = cms.untracked.string('Ecal3P'),
204  btype = cms.untracked.string('ProjPhi'),
205  description = cms.untracked.string('Projection of the occupancy of rec hits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.')
206  ),
207  RecHitThrmvp = cms.untracked.PSet(
208  kind = cms.untracked.string('TH2F'),
209  yaxis = cms.untracked.PSet(
210  high = cms.untracked.double(500.0),
211  nbins = cms.untracked.int32(50),
212  low = cms.untracked.double(0.0),
213  title = cms.untracked.string('Nrechits(z-,near)')
214  ),
215  otype = cms.untracked.string('Ecal2P'),
216  xaxis = cms.untracked.PSet(
217  high = cms.untracked.double(500.0),
218  nbins = cms.untracked.int32(50),
219  low = cms.untracked.double(0.0),
220  title = cms.untracked.string('Nrechits(z+,far)')
221  ),
222  btype = cms.untracked.string('User'),
223  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy correlation'),
224  description = cms.untracked.string('Filtered rechit occupancy correlation.')
225  ),
226  RecHitThrpm = cms.untracked.PSet(
227  kind = cms.untracked.string('TH1F'),
228  otype = cms.untracked.string('Ecal2P'),
229  xaxis = cms.untracked.PSet(
230  high = cms.untracked.double(1000.0),
231  nbins = cms.untracked.int32(100),
232  low = cms.untracked.double(-1000.0),
233  title = cms.untracked.string('Nrechits(z+,far) - Nrechits(z-,near)')
234  ),
235  btype = cms.untracked.string('User'),
236  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy z+(far) - z-(near)'),
237  description = cms.untracked.string('Filtered rechit occupancy difference.')
238  ),
239  LaserCorrProjEta = cms.untracked.PSet(
240  path = cms.untracked.string('Ecal/Trends/%(prefix)sOT Laser Transparency correction from DB %(suffix)s eta projection'),
241  kind = cms.untracked.string('TProfile'),
242  yaxis = cms.untracked.PSet(
243  title= cms.untracked.string('Laser transparency correction')
244  ),
245  otype = cms.untracked.string('Ecal3P'),
246  btype = cms.untracked.string('ProjEta'),
247  description = cms.untracked.string('Projection of average laser transparency correction from DB.')
248  ),
249  TrendEventsperLumi = cms.untracked.PSet(
250  path = cms.untracked.string('Ecal/Trends/Number of Events per Lumisection'),
251  kind = cms.untracked.string('TProfile'),
252  otype = cms.untracked.string('Ecal2P'),
253  btype = cms.untracked.string('Trend'),
254  description = cms.untracked.string('Trend of the number of events per lumisection')
255  ),
256  TrendPUperLumi = cms.untracked.PSet(
257  path = cms.untracked.string('Ecal/Trends/PU per Lumisection'),
258  kind = cms.untracked.string('TProfile'),
259  otype = cms.untracked.string('Ecal2P'),
260  btype = cms.untracked.string('Trend'),
261  description = cms.untracked.string('Trend of the pile up per lumisection')
262  ),
263  AELoss = cms.untracked.PSet(
264  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT AE Loss%(suffix)s'),
265  kind = cms.untracked.string('TH2F'),
266  otype = cms.untracked.string('Ecal3P'),
267  btype = cms.untracked.string('SuperCrystal'),
268  description = cms.untracked.string('AE Loss from inference')
269  ),
270  AEReco = cms.untracked.PSet(
271  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT AE Reco%(suffix)s'),
272  kind = cms.untracked.string('TH2F'),
273  otype = cms.untracked.string('Ecal3P'),
274  btype = cms.untracked.string('SuperCrystal'),
275  description = cms.untracked.string('AE Reco')
276  ),
277  PU = cms.untracked.PSet(
278  path = cms.untracked.string('Ecal/EventInfo/PU in the lumi'),
279  kind = cms.untracked.string('REAL'),
280  otype = cms.untracked.string('None'),
281  btype = cms.untracked.string('User'),
282  description = cms.untracked.string('Pile up in this lumisection')
283  ),
284  NEvents = cms.untracked.PSet(
285  path = cms.untracked.string('Ecal/EventInfo/Number of events in the lumi'),
286  kind = cms.untracked.string('REAL'),
287  otype = cms.untracked.string('None'),
288  btype = cms.untracked.string('User'),
289  description = cms.untracked.string('Number of events in this lumisection')
290  ),
291  BadTowerCount = cms.untracked.PSet(
292  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT ML bad tower count%(suffix)s'),
293  kind = cms.untracked.string('TH2F'),
294  otype = cms.untracked.string('Ecal3P'),
295  btype = cms.untracked.string('SuperCrystal'),
296  description = cms.untracked.string('Count of bad towers flagged by the ML model.')
297  ),
298  BadTowerCountNorm = cms.untracked.PSet(
299  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT ML bad tower count normalized%(suffix)s'),
300  kind = cms.untracked.string('TH2F'),
301  otype = cms.untracked.string('Ecal3P'),
302  btype = cms.untracked.string('SuperCrystal'),
303  description = cms.untracked.string('Count of bad towers flagged by the ML model normalized by the no.of LS')
304  )
305 # TPDigiProjPhi = cms.untracked.PSet(
306 # path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi occupancy%(suffix)s projection phi'),
307 # kind = cms.untracked.string('TH1F'),
308 # otype = cms.untracked.string('Ecal3P'),
309 # btype = cms.untracked.string('ProjPhi'),
310 # description = cms.untracked.string('Projection of TP digi occupancy.')
311 # )
312 
313  )
314 )
315 
#define str(s)