CMS 3D CMS Logo

LaserDQM.cc
Go to the documentation of this file.
1 
11 
15 
17  : theDebugLevel(theConf.getUntrackedParameter<int>("DebugLevel", 0)),
18  theSearchPhiTIB(theConf.getUntrackedParameter<double>("SearchWindowPhiTIB", 0.05)),
19  theSearchPhiTOB(theConf.getUntrackedParameter<double>("SearchWindowPhiTOB", 0.05)),
20  theSearchPhiTEC(theConf.getUntrackedParameter<double>("SearchWindowPhiTEC", 0.05)),
21  theSearchZTIB(theConf.getUntrackedParameter<double>("SearchWindowZTIB", 1.0)),
22  theSearchZTOB(theConf.getUntrackedParameter<double>("SearchWindowZTOB", 1.0)),
23  theDigiProducersList(theConf.getParameter<Parameters>("DigiProducersList")),
24  theDQMFileName(theConf.getUntrackedParameter<std::string>("DQMFileName", "testDQM.root")),
25  theDaqMonitorBEI(),
26  theMEBeam0Ring4Disc1PosAdcCounts(nullptr),
27  theMEBeam0Ring4Disc2PosAdcCounts(nullptr),
28  theMEBeam0Ring4Disc3PosAdcCounts(nullptr),
29  theMEBeam0Ring4Disc4PosAdcCounts(nullptr),
30  theMEBeam0Ring4Disc5PosAdcCounts(nullptr),
31  theMEBeam0Ring4Disc6PosAdcCounts(nullptr),
32  theMEBeam0Ring4Disc7PosAdcCounts(nullptr),
33  theMEBeam0Ring4Disc8PosAdcCounts(nullptr),
34  theMEBeam0Ring4Disc9PosAdcCounts(nullptr),
35  // Adc counts for Beam 1 in Ring 4
36  theMEBeam1Ring4Disc1PosAdcCounts(nullptr),
37  theMEBeam1Ring4Disc2PosAdcCounts(nullptr),
38  theMEBeam1Ring4Disc3PosAdcCounts(nullptr),
39  theMEBeam1Ring4Disc4PosAdcCounts(nullptr),
40  theMEBeam1Ring4Disc5PosAdcCounts(nullptr),
41  theMEBeam1Ring4Disc6PosAdcCounts(nullptr),
42  theMEBeam1Ring4Disc7PosAdcCounts(nullptr),
43  theMEBeam1Ring4Disc8PosAdcCounts(nullptr),
44  theMEBeam1Ring4Disc9PosAdcCounts(nullptr),
45  // plots for TEC2TEC
46  theMEBeam1Ring4Disc1PosTEC2TECAdcCounts(nullptr),
47  theMEBeam1Ring4Disc2PosTEC2TECAdcCounts(nullptr),
48  theMEBeam1Ring4Disc3PosTEC2TECAdcCounts(nullptr),
49  theMEBeam1Ring4Disc4PosTEC2TECAdcCounts(nullptr),
50  theMEBeam1Ring4Disc5PosTEC2TECAdcCounts(nullptr),
51  // Adc counts for Beam 2 in Ring 4
52  theMEBeam2Ring4Disc1PosAdcCounts(nullptr),
53  theMEBeam2Ring4Disc2PosAdcCounts(nullptr),
54  theMEBeam2Ring4Disc3PosAdcCounts(nullptr),
55  theMEBeam2Ring4Disc4PosAdcCounts(nullptr),
56  theMEBeam2Ring4Disc5PosAdcCounts(nullptr),
57  theMEBeam2Ring4Disc6PosAdcCounts(nullptr),
58  theMEBeam2Ring4Disc7PosAdcCounts(nullptr),
59  theMEBeam2Ring4Disc8PosAdcCounts(nullptr),
60  theMEBeam2Ring4Disc9PosAdcCounts(nullptr),
61  // plots for TEC2TEC
62  theMEBeam2Ring4Disc1PosTEC2TECAdcCounts(nullptr),
63  theMEBeam2Ring4Disc2PosTEC2TECAdcCounts(nullptr),
64  theMEBeam2Ring4Disc3PosTEC2TECAdcCounts(nullptr),
65  theMEBeam2Ring4Disc4PosTEC2TECAdcCounts(nullptr),
66  theMEBeam2Ring4Disc5PosTEC2TECAdcCounts(nullptr),
67  // Adc counts for Beam 3 in Ring 4
68  theMEBeam3Ring4Disc1PosAdcCounts(nullptr),
69  theMEBeam3Ring4Disc2PosAdcCounts(nullptr),
70  theMEBeam3Ring4Disc3PosAdcCounts(nullptr),
71  theMEBeam3Ring4Disc4PosAdcCounts(nullptr),
72  theMEBeam3Ring4Disc5PosAdcCounts(nullptr),
73  theMEBeam3Ring4Disc6PosAdcCounts(nullptr),
74  theMEBeam3Ring4Disc7PosAdcCounts(nullptr),
75  theMEBeam3Ring4Disc8PosAdcCounts(nullptr),
76  theMEBeam3Ring4Disc9PosAdcCounts(nullptr),
77  // Adc counts for Beam 4 in Ring 4
78  theMEBeam4Ring4Disc1PosAdcCounts(nullptr),
79  theMEBeam4Ring4Disc2PosAdcCounts(nullptr),
80  theMEBeam4Ring4Disc3PosAdcCounts(nullptr),
81  theMEBeam4Ring4Disc4PosAdcCounts(nullptr),
82  theMEBeam4Ring4Disc5PosAdcCounts(nullptr),
83  theMEBeam4Ring4Disc6PosAdcCounts(nullptr),
84  theMEBeam4Ring4Disc7PosAdcCounts(nullptr),
85  theMEBeam4Ring4Disc8PosAdcCounts(nullptr),
86  theMEBeam4Ring4Disc9PosAdcCounts(nullptr),
87  // plots for TEC2TEC
88  theMEBeam4Ring4Disc1PosTEC2TECAdcCounts(nullptr),
89  theMEBeam4Ring4Disc2PosTEC2TECAdcCounts(nullptr),
90  theMEBeam4Ring4Disc3PosTEC2TECAdcCounts(nullptr),
91  theMEBeam4Ring4Disc4PosTEC2TECAdcCounts(nullptr),
92  theMEBeam4Ring4Disc5PosTEC2TECAdcCounts(nullptr),
93  // Adc counts for Beam 5 in Ring 4
94  theMEBeam5Ring4Disc1PosAdcCounts(nullptr),
95  theMEBeam5Ring4Disc2PosAdcCounts(nullptr),
96  theMEBeam5Ring4Disc3PosAdcCounts(nullptr),
97  theMEBeam5Ring4Disc4PosAdcCounts(nullptr),
98  theMEBeam5Ring4Disc5PosAdcCounts(nullptr),
99  theMEBeam5Ring4Disc6PosAdcCounts(nullptr),
100  theMEBeam5Ring4Disc7PosAdcCounts(nullptr),
101  theMEBeam5Ring4Disc8PosAdcCounts(nullptr),
102  theMEBeam5Ring4Disc9PosAdcCounts(nullptr),
103  // Adc counts for Beam 6 in Ring 4
104  theMEBeam6Ring4Disc1PosAdcCounts(nullptr),
105  theMEBeam6Ring4Disc2PosAdcCounts(nullptr),
106  theMEBeam6Ring4Disc3PosAdcCounts(nullptr),
107  theMEBeam6Ring4Disc4PosAdcCounts(nullptr),
108  theMEBeam6Ring4Disc5PosAdcCounts(nullptr),
109  theMEBeam6Ring4Disc6PosAdcCounts(nullptr),
110  theMEBeam6Ring4Disc7PosAdcCounts(nullptr),
111  theMEBeam6Ring4Disc8PosAdcCounts(nullptr),
112  theMEBeam6Ring4Disc9PosAdcCounts(nullptr),
113  // plots for TEC2TEC
114  theMEBeam6Ring4Disc1PosTEC2TECAdcCounts(nullptr),
115  theMEBeam6Ring4Disc2PosTEC2TECAdcCounts(nullptr),
116  theMEBeam6Ring4Disc3PosTEC2TECAdcCounts(nullptr),
117  theMEBeam6Ring4Disc4PosTEC2TECAdcCounts(nullptr),
118  theMEBeam6Ring4Disc5PosTEC2TECAdcCounts(nullptr),
119  // Adc counts for Beam 7 in Ring 4
120  theMEBeam7Ring4Disc1PosAdcCounts(nullptr),
121  theMEBeam7Ring4Disc2PosAdcCounts(nullptr),
122  theMEBeam7Ring4Disc3PosAdcCounts(nullptr),
123  theMEBeam7Ring4Disc4PosAdcCounts(nullptr),
124  theMEBeam7Ring4Disc5PosAdcCounts(nullptr),
125  theMEBeam7Ring4Disc6PosAdcCounts(nullptr),
126  theMEBeam7Ring4Disc7PosAdcCounts(nullptr),
127  theMEBeam7Ring4Disc8PosAdcCounts(nullptr),
128  theMEBeam7Ring4Disc9PosAdcCounts(nullptr),
129  // plots for TEC2TEC
130  theMEBeam7Ring4Disc1PosTEC2TECAdcCounts(nullptr),
131  theMEBeam7Ring4Disc2PosTEC2TECAdcCounts(nullptr),
132  theMEBeam7Ring4Disc3PosTEC2TECAdcCounts(nullptr),
133  theMEBeam7Ring4Disc4PosTEC2TECAdcCounts(nullptr),
134  theMEBeam7Ring4Disc5PosTEC2TECAdcCounts(nullptr),
135  // Adc counts for Beam 0 in Ring 6
136  theMEBeam0Ring6Disc1PosAdcCounts(nullptr),
137  theMEBeam0Ring6Disc2PosAdcCounts(nullptr),
138  theMEBeam0Ring6Disc3PosAdcCounts(nullptr),
139  theMEBeam0Ring6Disc4PosAdcCounts(nullptr),
140  theMEBeam0Ring6Disc5PosAdcCounts(nullptr),
141  theMEBeam0Ring6Disc6PosAdcCounts(nullptr),
142  theMEBeam0Ring6Disc7PosAdcCounts(nullptr),
143  theMEBeam0Ring6Disc8PosAdcCounts(nullptr),
144  theMEBeam0Ring6Disc9PosAdcCounts(nullptr),
145  // Adc counts for Beam 1 in Ring 6
146  theMEBeam1Ring6Disc1PosAdcCounts(nullptr),
147  theMEBeam1Ring6Disc2PosAdcCounts(nullptr),
148  theMEBeam1Ring6Disc3PosAdcCounts(nullptr),
149  theMEBeam1Ring6Disc4PosAdcCounts(nullptr),
150  theMEBeam1Ring6Disc5PosAdcCounts(nullptr),
151  theMEBeam1Ring6Disc6PosAdcCounts(nullptr),
152  theMEBeam1Ring6Disc7PosAdcCounts(nullptr),
153  theMEBeam1Ring6Disc8PosAdcCounts(nullptr),
154  theMEBeam1Ring6Disc9PosAdcCounts(nullptr),
155  // Adc counts for Beam 2 in Ring 6
156  theMEBeam2Ring6Disc1PosAdcCounts(nullptr),
157  theMEBeam2Ring6Disc2PosAdcCounts(nullptr),
158  theMEBeam2Ring6Disc3PosAdcCounts(nullptr),
159  theMEBeam2Ring6Disc4PosAdcCounts(nullptr),
160  theMEBeam2Ring6Disc5PosAdcCounts(nullptr),
161  theMEBeam2Ring6Disc6PosAdcCounts(nullptr),
162  theMEBeam2Ring6Disc7PosAdcCounts(nullptr),
163  theMEBeam2Ring6Disc8PosAdcCounts(nullptr),
164  theMEBeam2Ring6Disc9PosAdcCounts(nullptr),
165  // Adc counts for Beam 3 in Ring 6
166  theMEBeam3Ring6Disc1PosAdcCounts(nullptr),
167  theMEBeam3Ring6Disc2PosAdcCounts(nullptr),
168  theMEBeam3Ring6Disc3PosAdcCounts(nullptr),
169  theMEBeam3Ring6Disc4PosAdcCounts(nullptr),
170  theMEBeam3Ring6Disc5PosAdcCounts(nullptr),
171  theMEBeam3Ring6Disc6PosAdcCounts(nullptr),
172  theMEBeam3Ring6Disc7PosAdcCounts(nullptr),
173  theMEBeam3Ring6Disc8PosAdcCounts(nullptr),
174  theMEBeam3Ring6Disc9PosAdcCounts(nullptr),
175  // Adc counts for Beam 4 in Ring 6
176  theMEBeam4Ring6Disc1PosAdcCounts(nullptr),
177  theMEBeam4Ring6Disc2PosAdcCounts(nullptr),
178  theMEBeam4Ring6Disc3PosAdcCounts(nullptr),
179  theMEBeam4Ring6Disc4PosAdcCounts(nullptr),
180  theMEBeam4Ring6Disc5PosAdcCounts(nullptr),
181  theMEBeam4Ring6Disc6PosAdcCounts(nullptr),
182  theMEBeam4Ring6Disc7PosAdcCounts(nullptr),
183  theMEBeam4Ring6Disc8PosAdcCounts(nullptr),
184  theMEBeam4Ring6Disc9PosAdcCounts(nullptr),
185  // Adc counts for Beam 5 in Ring 6
186  theMEBeam5Ring6Disc1PosAdcCounts(nullptr),
187  theMEBeam5Ring6Disc2PosAdcCounts(nullptr),
188  theMEBeam5Ring6Disc3PosAdcCounts(nullptr),
189  theMEBeam5Ring6Disc4PosAdcCounts(nullptr),
190  theMEBeam5Ring6Disc5PosAdcCounts(nullptr),
191  theMEBeam5Ring6Disc6PosAdcCounts(nullptr),
192  theMEBeam5Ring6Disc7PosAdcCounts(nullptr),
193  theMEBeam5Ring6Disc8PosAdcCounts(nullptr),
194  theMEBeam5Ring6Disc9PosAdcCounts(nullptr),
195  // Adc counts for Beam 6 in Ring 6
196  theMEBeam6Ring6Disc1PosAdcCounts(nullptr),
197  theMEBeam6Ring6Disc2PosAdcCounts(nullptr),
198  theMEBeam6Ring6Disc3PosAdcCounts(nullptr),
199  theMEBeam6Ring6Disc4PosAdcCounts(nullptr),
200  theMEBeam6Ring6Disc5PosAdcCounts(nullptr),
201  theMEBeam6Ring6Disc6PosAdcCounts(nullptr),
202  theMEBeam6Ring6Disc7PosAdcCounts(nullptr),
203  theMEBeam6Ring6Disc8PosAdcCounts(nullptr),
204  theMEBeam6Ring6Disc9PosAdcCounts(nullptr),
205  // Adc counts for Beam 7 in Ring 6
206  theMEBeam7Ring6Disc1PosAdcCounts(nullptr),
207  theMEBeam7Ring6Disc2PosAdcCounts(nullptr),
208  theMEBeam7Ring6Disc3PosAdcCounts(nullptr),
209  theMEBeam7Ring6Disc4PosAdcCounts(nullptr),
210  theMEBeam7Ring6Disc5PosAdcCounts(nullptr),
211  theMEBeam7Ring6Disc6PosAdcCounts(nullptr),
212  theMEBeam7Ring6Disc7PosAdcCounts(nullptr),
213  theMEBeam7Ring6Disc8PosAdcCounts(nullptr),
214  theMEBeam7Ring6Disc9PosAdcCounts(nullptr),
215  /* Laser Beams in TEC- */
216  // Adc counts for Beam 0 in Ring 4
217  theMEBeam0Ring4Disc1NegAdcCounts(nullptr),
218  theMEBeam0Ring4Disc2NegAdcCounts(nullptr),
219  theMEBeam0Ring4Disc3NegAdcCounts(nullptr),
220  theMEBeam0Ring4Disc4NegAdcCounts(nullptr),
221  theMEBeam0Ring4Disc5NegAdcCounts(nullptr),
222  theMEBeam0Ring4Disc6NegAdcCounts(nullptr),
223  theMEBeam0Ring4Disc7NegAdcCounts(nullptr),
224  theMEBeam0Ring4Disc8NegAdcCounts(nullptr),
225  theMEBeam0Ring4Disc9NegAdcCounts(nullptr),
226  // Adc counts for Beam 1 in Ring 4
227  theMEBeam1Ring4Disc1NegAdcCounts(nullptr),
228  theMEBeam1Ring4Disc2NegAdcCounts(nullptr),
229  theMEBeam1Ring4Disc3NegAdcCounts(nullptr),
230  theMEBeam1Ring4Disc4NegAdcCounts(nullptr),
231  theMEBeam1Ring4Disc5NegAdcCounts(nullptr),
232  theMEBeam1Ring4Disc6NegAdcCounts(nullptr),
233  theMEBeam1Ring4Disc7NegAdcCounts(nullptr),
234  theMEBeam1Ring4Disc8NegAdcCounts(nullptr),
235  theMEBeam1Ring4Disc9NegAdcCounts(nullptr),
236  // plots for TEC2TEC
237  theMEBeam1Ring4Disc1NegTEC2TECAdcCounts(nullptr),
238  theMEBeam1Ring4Disc2NegTEC2TECAdcCounts(nullptr),
239  theMEBeam1Ring4Disc3NegTEC2TECAdcCounts(nullptr),
240  theMEBeam1Ring4Disc4NegTEC2TECAdcCounts(nullptr),
241  theMEBeam1Ring4Disc5NegTEC2TECAdcCounts(nullptr),
242  // Adc counts for Beam 2 in Ring 4
243  theMEBeam2Ring4Disc1NegAdcCounts(nullptr),
244  theMEBeam2Ring4Disc2NegAdcCounts(nullptr),
245  theMEBeam2Ring4Disc3NegAdcCounts(nullptr),
246  theMEBeam2Ring4Disc4NegAdcCounts(nullptr),
247  theMEBeam2Ring4Disc5NegAdcCounts(nullptr),
248  theMEBeam2Ring4Disc6NegAdcCounts(nullptr),
249  theMEBeam2Ring4Disc7NegAdcCounts(nullptr),
250  theMEBeam2Ring4Disc8NegAdcCounts(nullptr),
251  theMEBeam2Ring4Disc9NegAdcCounts(nullptr),
252  // plots for TEC2TEC
253  theMEBeam2Ring4Disc1NegTEC2TECAdcCounts(nullptr),
254  theMEBeam2Ring4Disc2NegTEC2TECAdcCounts(nullptr),
255  theMEBeam2Ring4Disc3NegTEC2TECAdcCounts(nullptr),
256  theMEBeam2Ring4Disc4NegTEC2TECAdcCounts(nullptr),
257  theMEBeam2Ring4Disc5NegTEC2TECAdcCounts(nullptr),
258  // Adc counts for Beam 3 in Ring 4
259  theMEBeam3Ring4Disc1NegAdcCounts(nullptr),
260  theMEBeam3Ring4Disc2NegAdcCounts(nullptr),
261  theMEBeam3Ring4Disc3NegAdcCounts(nullptr),
262  theMEBeam3Ring4Disc4NegAdcCounts(nullptr),
263  theMEBeam3Ring4Disc5NegAdcCounts(nullptr),
264  theMEBeam3Ring4Disc6NegAdcCounts(nullptr),
265  theMEBeam3Ring4Disc7NegAdcCounts(nullptr),
266  theMEBeam3Ring4Disc8NegAdcCounts(nullptr),
267  theMEBeam3Ring4Disc9NegAdcCounts(nullptr),
268  // Adc counts for Beam 4 in Ring 4
269  theMEBeam4Ring4Disc1NegAdcCounts(nullptr),
270  theMEBeam4Ring4Disc2NegAdcCounts(nullptr),
271  theMEBeam4Ring4Disc3NegAdcCounts(nullptr),
272  theMEBeam4Ring4Disc4NegAdcCounts(nullptr),
273  theMEBeam4Ring4Disc5NegAdcCounts(nullptr),
274  theMEBeam4Ring4Disc6NegAdcCounts(nullptr),
275  theMEBeam4Ring4Disc7NegAdcCounts(nullptr),
276  theMEBeam4Ring4Disc8NegAdcCounts(nullptr),
277  theMEBeam4Ring4Disc9NegAdcCounts(nullptr),
278  // plots for TEC2TEC
279  theMEBeam4Ring4Disc1NegTEC2TECAdcCounts(nullptr),
280  theMEBeam4Ring4Disc2NegTEC2TECAdcCounts(nullptr),
281  theMEBeam4Ring4Disc3NegTEC2TECAdcCounts(nullptr),
282  theMEBeam4Ring4Disc4NegTEC2TECAdcCounts(nullptr),
283  theMEBeam4Ring4Disc5NegTEC2TECAdcCounts(nullptr),
284  // Adc counts for Beam 5 in Ring 4
285  theMEBeam5Ring4Disc1NegAdcCounts(nullptr),
286  theMEBeam5Ring4Disc2NegAdcCounts(nullptr),
287  theMEBeam5Ring4Disc3NegAdcCounts(nullptr),
288  theMEBeam5Ring4Disc4NegAdcCounts(nullptr),
289  theMEBeam5Ring4Disc5NegAdcCounts(nullptr),
290  theMEBeam5Ring4Disc6NegAdcCounts(nullptr),
291  theMEBeam5Ring4Disc7NegAdcCounts(nullptr),
292  theMEBeam5Ring4Disc8NegAdcCounts(nullptr),
293  theMEBeam5Ring4Disc9NegAdcCounts(nullptr),
294  // Adc counts for Beam 6 in Ring 4
295  theMEBeam6Ring4Disc1NegAdcCounts(nullptr),
296  theMEBeam6Ring4Disc2NegAdcCounts(nullptr),
297  theMEBeam6Ring4Disc3NegAdcCounts(nullptr),
298  theMEBeam6Ring4Disc4NegAdcCounts(nullptr),
299  theMEBeam6Ring4Disc5NegAdcCounts(nullptr),
300  theMEBeam6Ring4Disc6NegAdcCounts(nullptr),
301  theMEBeam6Ring4Disc7NegAdcCounts(nullptr),
302  theMEBeam6Ring4Disc8NegAdcCounts(nullptr),
303  theMEBeam6Ring4Disc9NegAdcCounts(nullptr),
304  // plots for TEC2TEC
305  theMEBeam6Ring4Disc1NegTEC2TECAdcCounts(nullptr),
306  theMEBeam6Ring4Disc2NegTEC2TECAdcCounts(nullptr),
307  theMEBeam6Ring4Disc3NegTEC2TECAdcCounts(nullptr),
308  theMEBeam6Ring4Disc4NegTEC2TECAdcCounts(nullptr),
309  theMEBeam6Ring4Disc5NegTEC2TECAdcCounts(nullptr),
310  // Adc counts for Beam 7 in Ring 4
311  theMEBeam7Ring4Disc1NegAdcCounts(nullptr),
312  theMEBeam7Ring4Disc2NegAdcCounts(nullptr),
313  theMEBeam7Ring4Disc3NegAdcCounts(nullptr),
314  theMEBeam7Ring4Disc4NegAdcCounts(nullptr),
315  theMEBeam7Ring4Disc5NegAdcCounts(nullptr),
316  theMEBeam7Ring4Disc6NegAdcCounts(nullptr),
317  theMEBeam7Ring4Disc7NegAdcCounts(nullptr),
318  theMEBeam7Ring4Disc8NegAdcCounts(nullptr),
319  theMEBeam7Ring4Disc9NegAdcCounts(nullptr),
320  // plots for TEC2TEC
321  theMEBeam7Ring4Disc1NegTEC2TECAdcCounts(nullptr),
322  theMEBeam7Ring4Disc2NegTEC2TECAdcCounts(nullptr),
323  theMEBeam7Ring4Disc3NegTEC2TECAdcCounts(nullptr),
324  theMEBeam7Ring4Disc4NegTEC2TECAdcCounts(nullptr),
325  theMEBeam7Ring4Disc5NegTEC2TECAdcCounts(nullptr),
326  // Adc counts for Beam 0 in Ring 6
327  theMEBeam0Ring6Disc1NegAdcCounts(nullptr),
328  theMEBeam0Ring6Disc2NegAdcCounts(nullptr),
329  theMEBeam0Ring6Disc3NegAdcCounts(nullptr),
330  theMEBeam0Ring6Disc4NegAdcCounts(nullptr),
331  theMEBeam0Ring6Disc5NegAdcCounts(nullptr),
332  theMEBeam0Ring6Disc6NegAdcCounts(nullptr),
333  theMEBeam0Ring6Disc7NegAdcCounts(nullptr),
334  theMEBeam0Ring6Disc8NegAdcCounts(nullptr),
335  theMEBeam0Ring6Disc9NegAdcCounts(nullptr),
336  // Adc counts for Beam 1 in Ring 6
337  theMEBeam1Ring6Disc1NegAdcCounts(nullptr),
338  theMEBeam1Ring6Disc2NegAdcCounts(nullptr),
339  theMEBeam1Ring6Disc3NegAdcCounts(nullptr),
340  theMEBeam1Ring6Disc4NegAdcCounts(nullptr),
341  theMEBeam1Ring6Disc5NegAdcCounts(nullptr),
342  theMEBeam1Ring6Disc6NegAdcCounts(nullptr),
343  theMEBeam1Ring6Disc7NegAdcCounts(nullptr),
344  theMEBeam1Ring6Disc8NegAdcCounts(nullptr),
345  theMEBeam1Ring6Disc9NegAdcCounts(nullptr),
346  // Adc counts for Beam 2 in Ring 6
347  theMEBeam2Ring6Disc1NegAdcCounts(nullptr),
348  theMEBeam2Ring6Disc2NegAdcCounts(nullptr),
349  theMEBeam2Ring6Disc3NegAdcCounts(nullptr),
350  theMEBeam2Ring6Disc4NegAdcCounts(nullptr),
351  theMEBeam2Ring6Disc5NegAdcCounts(nullptr),
352  theMEBeam2Ring6Disc6NegAdcCounts(nullptr),
353  theMEBeam2Ring6Disc7NegAdcCounts(nullptr),
354  theMEBeam2Ring6Disc8NegAdcCounts(nullptr),
355  theMEBeam2Ring6Disc9NegAdcCounts(nullptr),
356  // Adc counts for Beam 3 in Ring 6
357  theMEBeam3Ring6Disc1NegAdcCounts(nullptr),
358  theMEBeam3Ring6Disc2NegAdcCounts(nullptr),
359  theMEBeam3Ring6Disc3NegAdcCounts(nullptr),
360  theMEBeam3Ring6Disc4NegAdcCounts(nullptr),
361  theMEBeam3Ring6Disc5NegAdcCounts(nullptr),
362  theMEBeam3Ring6Disc6NegAdcCounts(nullptr),
363  theMEBeam3Ring6Disc7NegAdcCounts(nullptr),
364  theMEBeam3Ring6Disc8NegAdcCounts(nullptr),
365  theMEBeam3Ring6Disc9NegAdcCounts(nullptr),
366  // Adc counts for Beam 4 in Ring 6
367  theMEBeam4Ring6Disc1NegAdcCounts(nullptr),
368  theMEBeam4Ring6Disc2NegAdcCounts(nullptr),
369  theMEBeam4Ring6Disc3NegAdcCounts(nullptr),
370  theMEBeam4Ring6Disc4NegAdcCounts(nullptr),
371  theMEBeam4Ring6Disc5NegAdcCounts(nullptr),
372  theMEBeam4Ring6Disc6NegAdcCounts(nullptr),
373  theMEBeam4Ring6Disc7NegAdcCounts(nullptr),
374  theMEBeam4Ring6Disc8NegAdcCounts(nullptr),
375  theMEBeam4Ring6Disc9NegAdcCounts(nullptr),
376  // Adc counts for Beam 5 in Ring 6
377  theMEBeam5Ring6Disc1NegAdcCounts(nullptr),
378  theMEBeam5Ring6Disc2NegAdcCounts(nullptr),
379  theMEBeam5Ring6Disc3NegAdcCounts(nullptr),
380  theMEBeam5Ring6Disc4NegAdcCounts(nullptr),
381  theMEBeam5Ring6Disc5NegAdcCounts(nullptr),
382  theMEBeam5Ring6Disc6NegAdcCounts(nullptr),
383  theMEBeam5Ring6Disc7NegAdcCounts(nullptr),
384  theMEBeam5Ring6Disc8NegAdcCounts(nullptr),
385  theMEBeam5Ring6Disc9NegAdcCounts(nullptr),
386  // Adc counts for Beam 6 in Ring 6
387  theMEBeam6Ring6Disc1NegAdcCounts(nullptr),
388  theMEBeam6Ring6Disc2NegAdcCounts(nullptr),
389  theMEBeam6Ring6Disc3NegAdcCounts(nullptr),
390  theMEBeam6Ring6Disc4NegAdcCounts(nullptr),
391  theMEBeam6Ring6Disc5NegAdcCounts(nullptr),
392  theMEBeam6Ring6Disc6NegAdcCounts(nullptr),
393  theMEBeam6Ring6Disc7NegAdcCounts(nullptr),
394  theMEBeam6Ring6Disc8NegAdcCounts(nullptr),
395  theMEBeam6Ring6Disc9NegAdcCounts(nullptr),
396  // Adc counts for Beam 7 in Ring 6
397  theMEBeam7Ring6Disc1NegAdcCounts(nullptr),
398  theMEBeam7Ring6Disc2NegAdcCounts(nullptr),
399  theMEBeam7Ring6Disc3NegAdcCounts(nullptr),
400  theMEBeam7Ring6Disc4NegAdcCounts(nullptr),
401  theMEBeam7Ring6Disc5NegAdcCounts(nullptr),
402  theMEBeam7Ring6Disc6NegAdcCounts(nullptr),
403  theMEBeam7Ring6Disc7NegAdcCounts(nullptr),
404  theMEBeam7Ring6Disc8NegAdcCounts(nullptr),
405  theMEBeam7Ring6Disc9NegAdcCounts(nullptr),
406  // TOB Beams
407  // Adc counts for Beam 0
408  theMEBeam0TOBPosition1AdcCounts(nullptr),
409  theMEBeam0TOBPosition2AdcCounts(nullptr),
410  theMEBeam0TOBPosition3AdcCounts(nullptr),
411  theMEBeam0TOBPosition4AdcCounts(nullptr),
412  theMEBeam0TOBPosition5AdcCounts(nullptr),
413  theMEBeam0TOBPosition6AdcCounts(nullptr),
414  // Adc counts for Beam 1
415  theMEBeam1TOBPosition1AdcCounts(nullptr),
416  theMEBeam1TOBPosition2AdcCounts(nullptr),
417  theMEBeam1TOBPosition3AdcCounts(nullptr),
418  theMEBeam1TOBPosition4AdcCounts(nullptr),
419  theMEBeam1TOBPosition5AdcCounts(nullptr),
420  theMEBeam1TOBPosition6AdcCounts(nullptr),
421  // Adc counts for Beam 2
422  theMEBeam2TOBPosition1AdcCounts(nullptr),
423  theMEBeam2TOBPosition2AdcCounts(nullptr),
424  theMEBeam2TOBPosition3AdcCounts(nullptr),
425  theMEBeam2TOBPosition4AdcCounts(nullptr),
426  theMEBeam2TOBPosition5AdcCounts(nullptr),
427  theMEBeam2TOBPosition6AdcCounts(nullptr),
428  // Adc counts for Beam 3
429  theMEBeam3TOBPosition1AdcCounts(nullptr),
430  theMEBeam3TOBPosition2AdcCounts(nullptr),
431  theMEBeam3TOBPosition3AdcCounts(nullptr),
432  theMEBeam3TOBPosition4AdcCounts(nullptr),
433  theMEBeam3TOBPosition5AdcCounts(nullptr),
434  theMEBeam3TOBPosition6AdcCounts(nullptr),
435  // Adc counts for Beam 4
436  theMEBeam4TOBPosition1AdcCounts(nullptr),
437  theMEBeam4TOBPosition2AdcCounts(nullptr),
438  theMEBeam4TOBPosition3AdcCounts(nullptr),
439  theMEBeam4TOBPosition4AdcCounts(nullptr),
440  theMEBeam4TOBPosition5AdcCounts(nullptr),
441  theMEBeam4TOBPosition6AdcCounts(nullptr),
442  // Adc counts for Beam 5
443  theMEBeam5TOBPosition1AdcCounts(nullptr),
444  theMEBeam5TOBPosition2AdcCounts(nullptr),
445  theMEBeam5TOBPosition3AdcCounts(nullptr),
446  theMEBeam5TOBPosition4AdcCounts(nullptr),
447  theMEBeam5TOBPosition5AdcCounts(nullptr),
448  theMEBeam5TOBPosition6AdcCounts(nullptr),
449  // Adc counts for Beam 6
450  theMEBeam6TOBPosition1AdcCounts(nullptr),
451  theMEBeam6TOBPosition2AdcCounts(nullptr),
452  theMEBeam6TOBPosition3AdcCounts(nullptr),
453  theMEBeam6TOBPosition4AdcCounts(nullptr),
454  theMEBeam6TOBPosition5AdcCounts(nullptr),
455  theMEBeam6TOBPosition6AdcCounts(nullptr),
456  // Adc counts for Beam 7
457  theMEBeam7TOBPosition1AdcCounts(nullptr),
458  theMEBeam7TOBPosition2AdcCounts(nullptr),
459  theMEBeam7TOBPosition3AdcCounts(nullptr),
460  theMEBeam7TOBPosition4AdcCounts(nullptr),
461  theMEBeam7TOBPosition5AdcCounts(nullptr),
462  theMEBeam7TOBPosition6AdcCounts(nullptr),
463  // TIB Beams
464  // Adc counts for Beam 0
465  theMEBeam0TIBPosition1AdcCounts(nullptr),
466  theMEBeam0TIBPosition2AdcCounts(nullptr),
467  theMEBeam0TIBPosition3AdcCounts(nullptr),
468  theMEBeam0TIBPosition4AdcCounts(nullptr),
469  theMEBeam0TIBPosition5AdcCounts(nullptr),
470  theMEBeam0TIBPosition6AdcCounts(nullptr),
471  // Adc counts for Beam 1
472  theMEBeam1TIBPosition1AdcCounts(nullptr),
473  theMEBeam1TIBPosition2AdcCounts(nullptr),
474  theMEBeam1TIBPosition3AdcCounts(nullptr),
475  theMEBeam1TIBPosition4AdcCounts(nullptr),
476  theMEBeam1TIBPosition5AdcCounts(nullptr),
477  theMEBeam1TIBPosition6AdcCounts(nullptr),
478  // Adc counts for Beam 2
479  theMEBeam2TIBPosition1AdcCounts(nullptr),
480  theMEBeam2TIBPosition2AdcCounts(nullptr),
481  theMEBeam2TIBPosition3AdcCounts(nullptr),
482  theMEBeam2TIBPosition4AdcCounts(nullptr),
483  theMEBeam2TIBPosition5AdcCounts(nullptr),
484  theMEBeam2TIBPosition6AdcCounts(nullptr),
485  // Adc counts for Beam 3
486  theMEBeam3TIBPosition1AdcCounts(nullptr),
487  theMEBeam3TIBPosition2AdcCounts(nullptr),
488  theMEBeam3TIBPosition3AdcCounts(nullptr),
489  theMEBeam3TIBPosition4AdcCounts(nullptr),
490  theMEBeam3TIBPosition5AdcCounts(nullptr),
491  theMEBeam3TIBPosition6AdcCounts(nullptr),
492  // Adc counts for Beam 4
493  theMEBeam4TIBPosition1AdcCounts(nullptr),
494  theMEBeam4TIBPosition2AdcCounts(nullptr),
495  theMEBeam4TIBPosition3AdcCounts(nullptr),
496  theMEBeam4TIBPosition4AdcCounts(nullptr),
497  theMEBeam4TIBPosition5AdcCounts(nullptr),
498  theMEBeam4TIBPosition6AdcCounts(nullptr),
499  // Adc counts for Beam 5
500  theMEBeam5TIBPosition1AdcCounts(nullptr),
501  theMEBeam5TIBPosition2AdcCounts(nullptr),
502  theMEBeam5TIBPosition3AdcCounts(nullptr),
503  theMEBeam5TIBPosition4AdcCounts(nullptr),
504  theMEBeam5TIBPosition5AdcCounts(nullptr),
505  theMEBeam5TIBPosition6AdcCounts(nullptr),
506  // Adc counts for Beam 6
507  theMEBeam6TIBPosition1AdcCounts(nullptr),
508  theMEBeam6TIBPosition2AdcCounts(nullptr),
509  theMEBeam6TIBPosition3AdcCounts(nullptr),
510  theMEBeam6TIBPosition4AdcCounts(nullptr),
511  theMEBeam6TIBPosition5AdcCounts(nullptr),
512  theMEBeam6TIBPosition6AdcCounts(nullptr),
513  // Adc counts for Beam 7
514  theMEBeam7TIBPosition1AdcCounts(nullptr),
515  theMEBeam7TIBPosition2AdcCounts(nullptr),
516  theMEBeam7TIBPosition3AdcCounts(nullptr),
517  theMEBeam7TIBPosition4AdcCounts(nullptr),
518  theMEBeam7TIBPosition5AdcCounts(nullptr),
519  theMEBeam7TIBPosition6AdcCounts(nullptr) {
520  // load the configuration from the ParameterSet
521  edm::LogInfo("LaserDQM") << "==========================================================="
522  << "\n=== Start configuration ==="
523  << "\n theDebugLevel = " << theDebugLevel
524  << "\n theSearchPhiTIB = " << theSearchPhiTIB
525  << "\n theSearchPhiTOB = " << theSearchPhiTOB
526  << "\n theSearchPhiTEC = " << theSearchPhiTEC
527  << "\n theSearchZTIB = " << theSearchZTIB
528  << "\n theSearchZTOB = " << theSearchZTOB
529  << "\n DQM filename = " << theDQMFileName
530  << "\n===========================================================";
531 }
532 
534 
535 void LaserDQM::analyze(edm::Event const &theEvent, edm::EventSetup const &theSetup) {
536  // do the Tracker Statistics
537  trackerStatistics(theEvent, theSetup);
538 }
539 
541  // get hold of DQM Backend interface
543 
544  // initialize the Monitor Elements
545  initMonitors();
546 }
547 
549 
552  edm::DetSet<SiStripDigi>::const_iterator digiRangeIteratorEnd) {
553  // get the ROOT object from the MonitorElement
554  TH1F *theMEHistogram = theMonitor->getTH1F();
555 
556  // loop over all the digis in this det
557  for (; digiRangeIterator != digiRangeIteratorEnd; ++digiRangeIterator) {
558  const SiStripDigi *digi = &*digiRangeIterator;
559 
560  if (theDebugLevel > 4) {
561  std::cout << " Channel " << digi->channel() << " has " << digi->adc() << " adc counts " << std::endl;
562  }
563 
564  // fill the number of adc counts in the histogram
565  if (digi->channel() < 512) {
566  Double_t theBinContent = theMEHistogram->GetBinContent(digi->channel()) + digi->adc();
567  theMEHistogram->SetBinContent(digi->channel(), theBinContent);
568  }
569  }
570 }
571 
572 // define the SEAL module
573 
double theSearchZTIB
Definition: LaserDQM.h:53
LaserDQM(edm::ParameterSet const &theConf)
constructor
Definition: LaserDQM.cc:16
double theSearchPhiTIB
Definition: LaserDQM.h:50
double theSearchPhiTOB
Definition: LaserDQM.h:51
std::string theDQMFileName
Definition: LaserDQM.h:60
TH1F * getTH1F() const
void fillAdcCounts(MonitorElement *theMonitor, edm::DetSet< SiStripDigi >::const_iterator digiRangeIterator, edm::DetSet< SiStripDigi >::const_iterator digiRangeIteratorEnd)
fill adc counts from the laser beam into a monitor histogram
Definition: LaserDQM.cc:550
#define nullptr
void analyze(edm::Event const &theEvent, edm::EventSetup const &theSetup) override
this method will do the user analysis
Definition: LaserDQM.cc:535
void endJob(void) override
end job
Definition: LaserDQM.cc:548
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
~LaserDQM() override
destructor
Definition: LaserDQM.cc:533
void trackerStatistics(edm::Event const &theEvent, edm::EventSetup const &theSetup)
find dets which are hit by a laser beam and fill the monitors
A Digi for the silicon strip detector, containing both strip and adc information, and suitable for st...
Definition: SiStripDigi.h:12
std::vector< edm::ParameterSet > Parameters
Definition: LaserDQM.h:24
void beginJob() override
begin job
Definition: LaserDQM.cc:540
int theDebugLevel
Definition: LaserDQM.h:49
void initMonitors()
initialize monitors
DQMStore * theDaqMonitorBEI
Definition: LaserDQM.h:63
double theSearchZTOB
Definition: LaserDQM.h:54
void save(std::string const &filename, std::string const &path="", std::string const &pattern="", std::string const &rewrite="", uint32_t run=0, uint32_t lumi=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, std::string const &fileupdate="RECREATE")
Definition: DQMStore.cc:2465
double theSearchPhiTEC
Definition: LaserDQM.h:52
collection_type::const_iterator const_iterator
Definition: DetSet.h:33
const uint16_t & adc() const
Definition: SiStripDigi.h:34
const uint16_t & channel() const
Definition: SiStripDigi.h:35