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 
6 ecalOccupancyTask = cms.untracked.PSet(
7  params = cms.untracked.PSet(
8  recHitThreshold = cms.untracked.double(recHitThreshold),
9  tpThreshold = cms.untracked.double(tpThreshold)
10  ),
11  MEs = cms.untracked.PSet(
12  TrendNTPDigi = cms.untracked.PSet(
13  path = cms.untracked.string('Ecal/Trends/OccupancyTask %(prefix)s number of filtered TP digis'),
14  kind = cms.untracked.string('TProfile'),
15  otype = cms.untracked.string('Ecal2P'),
16  btype = cms.untracked.string('Trend'),
17  description = cms.untracked.string('Trend of the per-event number of TP digis with Et > ' + str(tpThreshold) + ' GeV.')
18  ),
19  TPDigiThrProjPhi = cms.untracked.PSet(
20  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi thr occupancy%(suffix)s projection phi'),
21  kind = cms.untracked.string('TH1F'),
22  otype = cms.untracked.string('Ecal3P'),
23  btype = cms.untracked.string('ProjPhi'),
24  description = cms.untracked.string('Projection of the occupancy of TP digis with Et > ' + str(tpThreshold) + ' GeV.')
25  ),
26  DCC = cms.untracked.PSet(
27  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT DCC entries'),
28  kind = cms.untracked.string('TH1F'),
29  otype = cms.untracked.string('Ecal2P'),
30  btype = cms.untracked.string('DCC'),
31  description = cms.untracked.string('Number of entries recoreded by each FED')
32  ),
33  DigiDCC = cms.untracked.PSet(
34  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sOT digi occupancy summary 1D'), # in SummaryClient for historical reasons
35  kind = cms.untracked.string('TH1F'),
36  otype = cms.untracked.string('Ecal2P'),
37  btype = cms.untracked.string('DCC'),
38  description = cms.untracked.string('DCC digi occupancy.')
39  ),
40  DigiProjPhi = cms.untracked.PSet(
41  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT digi occupancy%(suffix)s projection phi'),
42  kind = cms.untracked.string('TH1F'),
43  otype = cms.untracked.string('Ecal3P'),
44  btype = cms.untracked.string('ProjPhi'),
45  description = cms.untracked.string('Projection of digi occupancy.')
46  ),
47 # TPDigiProjEta = cms.untracked.PSet(
48 # path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi occupancy%(suffix)s projection eta'),
49 # kind = cms.untracked.string('TH1F'),
50 # otype = cms.untracked.string('Ecal3P'),
51 # btype = cms.untracked.string('ProjEta'),
52 # description = cms.untracked.string('Projection of TP digi occupancy.')
53 # ),
54  Digi = cms.untracked.PSet(
55  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT digi occupancy %(sm)s'),
56  kind = cms.untracked.string('TH2F'),
57  otype = cms.untracked.string('SM'),
58  btype = cms.untracked.string('Crystal'),
59  description = cms.untracked.string('Digi occupancy.')
60  ),
61  DigiProjEta = cms.untracked.PSet(
62  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT digi occupancy%(suffix)s projection eta'),
63  kind = cms.untracked.string('TH1F'),
64  otype = cms.untracked.string('Ecal3P'),
65  btype = cms.untracked.string('ProjEta'),
66  description = cms.untracked.string('Projection of digi occupancy.')
67  ),
68  TrendNRecHitThr = cms.untracked.PSet(
69  path = cms.untracked.string('Ecal/Trends/OccupancyTask %(prefix)s number of filtered recHits'),
70  kind = cms.untracked.string('TProfile'),
71  otype = cms.untracked.string('Ecal2P'),
72  btype = cms.untracked.string('Trend'),
73  description = cms.untracked.string('Trend of the per-event number of rec hits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.')
74  ),
75 # TPDigiAll = cms.untracked.PSet(
76 # path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi occupancy%(suffix)s'),
77 # kind = cms.untracked.string('TH2F'),
78 # otype = cms.untracked.string('Ecal3P'),
79 # btype = cms.untracked.string('TriggerTower'),
80 # description = cms.untracked.string('TP digi occupancy.')
81 # ),
82  TPDigiThrProjEta = cms.untracked.PSet(
83  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi thr occupancy%(suffix)s projection eta'),
84  kind = cms.untracked.string('TH1F'),
85  otype = cms.untracked.string('Ecal3P'),
86  btype = cms.untracked.string('ProjEta'),
87  description = cms.untracked.string('Projection of the occupancy of TP digis with Et > ' + str(tpThreshold) + ' GeV.')
88  ),
89  TrendNDigi = cms.untracked.PSet(
90  path = cms.untracked.string('Ecal/Trends/OccupancyTask %(prefix)s number of digis'),
91  kind = cms.untracked.string('TProfile'),
92  otype = cms.untracked.string('Ecal2P'),
93  btype = cms.untracked.string('Trend'),
94  description = cms.untracked.string('Trend of the per-event number of digis.')
95  ),
96  RecHitThr1D = cms.untracked.PSet(
97  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT number of filtered rec hits in event'),
98  kind = cms.untracked.string('TH1F'),
99  otype = cms.untracked.string('Ecal2P'),
100  xaxis = cms.untracked.PSet(
101  high = cms.untracked.double(500.0),
102  nbins = cms.untracked.int32(100),
103  low = cms.untracked.double(0.0)
104  ),
105  btype = cms.untracked.string('User'),
106  description = cms.untracked.string('Occupancy of rec hits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.')
107  ),
108  Digi1D = cms.untracked.PSet(
109  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT number of digis in event'),
110  kind = cms.untracked.string('TH1F'),
111  otype = cms.untracked.string('Ecal2P'),
112  xaxis = cms.untracked.PSet(
113  high = cms.untracked.double(3000.0),
114  nbins = cms.untracked.int32(100),
115  low = cms.untracked.double(0.0)
116  ),
117  btype = cms.untracked.string('User'),
118  description = cms.untracked.string('Distribution of the number of digis per event.')
119  ),
120  DigiAll = cms.untracked.PSet(
121  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT digi occupancy%(suffix)s'),
122  kind = cms.untracked.string('TH2F'),
123  otype = cms.untracked.string('Ecal3P'),
124  btype = cms.untracked.string('SuperCrystal'),
125  description = cms.untracked.string('Digi occupancy.')
126  ),
127  DigiAllByLumi = cms.untracked.PSet(
128  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT digi occupancy%(suffix)s by lumi'),
129  kind = cms.untracked.string('TH2F'),
130  otype = cms.untracked.string('Ecal3P'),
131  btype = cms.untracked.string('SuperCrystal'),
132  description = cms.untracked.string('Digi occupancy for this lumisection.')
133  ),
134  RecHitThrProjEta = cms.untracked.PSet(
135  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy%(suffix)s projection eta'),
136  kind = cms.untracked.string('TH1F'),
137  otype = cms.untracked.string('Ecal3P'),
138  btype = cms.untracked.string('ProjEta'),
139  description = cms.untracked.string('Projection of the occupancy of rec hits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.')
140  ),
141  RecHitProjEta = cms.untracked.PSet(
142  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit occupancy%(suffix)s projection eta'),
143  kind = cms.untracked.string('TH1F'),
144  otype = cms.untracked.string('Ecal3P'),
145  btype = cms.untracked.string('ProjEta'),
146  description = cms.untracked.string('Projection of the occupancy of all rec hits.')
147  ),
148  TPDigiThrAll = cms.untracked.PSet(
149  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi thr occupancy%(suffix)s'),
150  kind = cms.untracked.string('TH2F'),
151  otype = cms.untracked.string('Ecal3P'),
152  btype = cms.untracked.string('TriggerTower'),
153  description = cms.untracked.string('Occupancy for TP digis with Et > ' + str(tpThreshold) + ' GeV.')
154  ),
155  TPDigiThrAllByLumi = cms.untracked.PSet(
156  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi thr occupancy%(suffix)s by lumi'),
157  kind = cms.untracked.string('TH2F'),
158  otype = cms.untracked.string('Ecal3P'),
159  btype = cms.untracked.string('TriggerTower'),
160  description = cms.untracked.string('TP digi occupancy for this lumisection. Only includes TP digis with Et > ' + str(tpThreshold) + ' GeV.')
161  ),
162  TPDigiRCT = cms.untracked.PSet(
163  path = cms.untracked.string('EcalBarrel/EBOccupancyTask/TP digi thr occupancy in RCT coordinates'),
164  kind = cms.untracked.string('TH2F'),
165  otype = cms.untracked.string('Ecal'),
166  btype = cms.untracked.string('RCT'),
167  description = cms.untracked.string('Occupancy for TP digis with Et > ' + str(tpThreshold) + ' GeV in RCT coordinates')
168  ),
169  RecHitThrAll = cms.untracked.PSet(
170  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy%(suffix)s'),
171  kind = cms.untracked.string('TH2F'),
172  otype = cms.untracked.string('Ecal3P'),
173  btype = cms.untracked.string('SuperCrystal'),
174  description = cms.untracked.string('Occupancy for rec hits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.')
175  ),
176  RecHitThrAllByLumi = cms.untracked.PSet(
177  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy%(suffix)s by lumi'),
178  kind = cms.untracked.string('TH2F'),
179  otype = cms.untracked.string('Ecal3P'),
180  btype = cms.untracked.string('SuperCrystal'),
181  description = cms.untracked.string('Filtered rechit cccupancy for this lumisection. Only includes rechits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.')
182  ),
183  RecHitAll = cms.untracked.PSet(
184  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit occupancy%(suffix)s'),
185  kind = cms.untracked.string('TH2F'),
186  otype = cms.untracked.string('Ecal3P'),
187  btype = cms.untracked.string('Crystal'),
188  description = cms.untracked.string('Rec hit occupancy.')
189  ),
190  RecHitProjPhi = cms.untracked.PSet(
191  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit occupancy%(suffix)s projection phi'),
192  kind = cms.untracked.string('TH1F'),
193  otype = cms.untracked.string('Ecal3P'),
194  btype = cms.untracked.string('ProjPhi'),
195  description = cms.untracked.string('Projection of the rec hit occupancy.')
196  ),
197  RecHitThrProjPhi = cms.untracked.PSet(
198  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy%(suffix)s projection phi'),
199  kind = cms.untracked.string('TH1F'),
200  otype = cms.untracked.string('Ecal3P'),
201  btype = cms.untracked.string('ProjPhi'),
202  description = cms.untracked.string('Projection of the occupancy of rec hits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.')
203  ),
204  RecHitThrmvp = cms.untracked.PSet(
205  kind = cms.untracked.string('TH2F'),
206  yaxis = cms.untracked.PSet(
207  high = cms.untracked.double(500.0),
208  nbins = cms.untracked.int32(50),
209  low = cms.untracked.double(0.0),
210  title = cms.untracked.string('Nrechits(z-,near)')
211  ),
212  otype = cms.untracked.string('Ecal2P'),
213  xaxis = cms.untracked.PSet(
214  high = cms.untracked.double(500.0),
215  nbins = cms.untracked.int32(50),
216  low = cms.untracked.double(0.0),
217  title = cms.untracked.string('Nrechits(z+,far)')
218  ),
219  btype = cms.untracked.string('User'),
220  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy correlation'),
221  description = cms.untracked.string('Filtered rechit occupancy correlation.')
222  ),
223  RecHitThrpm = cms.untracked.PSet(
224  kind = cms.untracked.string('TH1F'),
225  otype = cms.untracked.string('Ecal2P'),
226  xaxis = cms.untracked.PSet(
227  high = cms.untracked.double(1000.0),
228  nbins = cms.untracked.int32(100),
229  low = cms.untracked.double(-1000.0),
230  title = cms.untracked.string('Nrechits(z+,far) - Nrechits(z-,near)')
231  ),
232  btype = cms.untracked.string('User'),
233  path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy z+(far) - z-(near)'),
234  description = cms.untracked.string('Filtered rechit occupancy difference.')
235  )
236 # TPDigiProjPhi = cms.untracked.PSet(
237 # path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi occupancy%(suffix)s projection phi'),
238 # kind = cms.untracked.string('TH1F'),
239 # otype = cms.untracked.string('Ecal3P'),
240 # btype = cms.untracked.string('ProjPhi'),
241 # description = cms.untracked.string('Projection of TP digi occupancy.')
242 # )
243 
244  )
245 )
246 
#define str(s)