test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalSubdetDigiMonitor.cc
Go to the documentation of this file.
4 
5 /*struct HistLim
6 {
7  HistLim(int nbin, float mini, float maxi)
8  : n(nbin), min(mini), max(maxi) {}
9  int n;
10  float min;
11  float max;
12 };*/
13 
15  const std::string & subdet, int noise)
16 : subdet_(subdet),
17  noise_(noise)
18 {
19 
20  // defaults are for HB
21 
22  HistLim Ndigis(2600,0.,2600.);
23  HistLim ndigis(50, 0., 50.);
24  HistLim sime(200, 0., 1.0);
25  HistLim digiAmp(700, -100., 600.);
26  HistLim ratio(250, 0., 2500.);
27  HistLim sumAmp(100, -500., 1500.);
28 
29  HistLim nbin(10,0.,10.);
30 
31  HistLim pedestal(75, 0., 15.);
32  HistLim pedestalfC(400,-10.,30.);
33 
34  HistLim frac(52, -0.02, 1.02);
35 
36  HistLim pedLim(80, 0., 8.);
37  HistLim pedWidthLim(100, 0., 2.);
38 
39  HistLim gainLim(120, 0.,0.6);
40  HistLim gainWidthLim(100, 0.,0.3);
41 
42  HistLim ietaLim( 82, -41., 41.);
43  HistLim iphiLim(72, 0., 72.);
44 
45  if(subdet_ == "HE")
46  {
47  sime = HistLim(200, 0., 1.0);
48  digiAmp = HistLim(250, -100., 400.);
49  }
50  else if(subdet_ == "HF")
51  {
52  ndigis = HistLim(500, 0., 500.);
53  sime = HistLim(100, 0., 100.);
54  digiAmp = HistLim(420, -100., 2000.);
55  ratio = HistLim(120, 0., 120.);
56  pedLim = HistLim(100, 0., 20.);
57  pedWidthLim = HistLim(100, 0., 5.);
58 
59  }
60  else if(subdet_ == "HO")
61  {
62  sime = HistLim(200, 0., 1.0);
63  digiAmp = HistLim(200, 0., 200.);
64  gainLim = HistLim(150, 0., 1.5);
65  }
66 
67  Char_t histo[100];
68  const char * sub = subdet_.c_str();
69  ibooker.setCurrentFolder("HcalDigisV/HcalDigiTask");
70 
71  /*
72  std::cout << " HcalSubdetDigiMonitor : "
73  << " subdet " << subdet_
74  << " noise_ " << noise_
75  << std::endl;
76  */
77 
78  if(noise_ == 0) {
79 
80  // number of digis in each subdetector
81 
82  sprintf (histo, "HcalDigiTask_Ndigis_%s", sub ) ;
83  meNdigis = book1D(ibooker, histo, Ndigis);
84 
85  // maps of occupancies
86  sprintf (histo, "HcalDigiTask_ieta_iphi_occupancy_map_depth1_%s", sub ) ;
87  meOccupancy_map_depth1 = book2D(ibooker, histo, ietaLim, iphiLim);
88 
89  sprintf (histo, "HcalDigiTask_ieta_iphi_occupancy_map_depth2_%s", sub ) ;
90  meOccupancy_map_depth2 = book2D(ibooker, histo, ietaLim, iphiLim);
91 
92  sprintf (histo, "HcalDigiTask_ieta_iphi_occupancy_map_depth3_%s", sub ) ;
93  meOccupancy_map_depth3 = book2D(ibooker, histo, ietaLim, iphiLim);
94 
95  sprintf (histo, "HcalDigiTask_ieta_iphi_occupancy_map_depth4_%s", sub ) ;
96  meOccupancy_map_depth4 = book2D(ibooker, histo, ietaLim, iphiLim);
97 
98  // occupancies vs ieta
99  sprintf (histo, "HcalDigiTask_occupancy_vs_ieta_depth1_%s", sub ) ;
100  meOccupancy_vs_ieta_depth1 = book1D(ibooker, histo, ietaLim);
101 
102  sprintf (histo, "HcalDigiTask_occupancy_vs_ieta_depth2_%s", sub ) ;
103  meOccupancy_vs_ieta_depth2 = book1D(ibooker, histo, ietaLim);
104 
105  sprintf (histo, "HcalDigiTask_occupancy_vs_ieta_depth3_%s", sub ) ;
106  meOccupancy_vs_ieta_depth3 = book1D(ibooker, histo, ietaLim);
107 
108  sprintf (histo, "HcalDigiTask_occupancy_vs_ieta_depth4_%s", sub ) ;
109  meOccupancy_vs_ieta_depth4 = book1D(ibooker, histo, ietaLim);
110 
111 
112  // maps of sum of amplitudes (sum lin.digis(4,5,6,7) - ped) all depths
113  sprintf (histo, "HcalDigiTask_ieta_iphi_map_of_amplitudes_fC_depth1_%s", sub ) ;
114  meAmplIetaIphi1= book2D(ibooker, histo, ietaLim, iphiLim);
115  sprintf (histo, "HcalDigiTask_ieta_iphi_map_of_amplitudes_fC_depth2_%s", sub ) ;
116  meAmplIetaIphi2= book2D(ibooker, histo, ietaLim, iphiLim);
117  sprintf (histo, "HcalDigiTask_ieta_iphi_map_of_amplitudes_fC_depth3_%s", sub ) ;
118  meAmplIetaIphi3= book2D(ibooker, histo, ietaLim, iphiLim);
119  sprintf (histo, "HcalDigiTask_ieta_iphi_map_of_amplitudes_fC_depth4_%s", sub ) ;
120  meAmplIetaIphi4= book2D(ibooker, histo, ietaLim, iphiLim);
121  // just 1D of all cells' amplitudes
122  sprintf (histo, "HcalDigiTask_sum_all_amplitudes_%s", sub);
123  meSumAmp = book1D(ibooker, histo, sumAmp);
124 
125  sprintf (histo, "HcalDigiTask_number_of_amplitudes_above_10fC_%s", sub);
126  menDigis = book1D(ibooker, histo, ndigis);
127 
128  sprintf (histo, "HcalDigiTask_ADC0_adc_depth1_%s", sub);
129  meADC0_depth1 = book1D(ibooker, histo, pedestal);
130  sprintf (histo, "HcalDigiTask_ADC0_adc_depth2_%s", sub);
131  meADC0_depth2 = book1D(ibooker, histo, pedestal);
132  sprintf (histo, "HcalDigiTask_ADC0_adc_depth3_%s", sub);
133  meADC0_depth3 = book1D(ibooker, histo, pedestal);
134  sprintf (histo, "HcalDigiTask_ADC0_adc_depth4_%s", sub);
135  meADC0_depth4 = book1D(ibooker, histo, pedestal);
136 
137  sprintf (histo, "HcalDigiTask_ADC0_fC_depth1_%s", sub);
138  meADC0fC_depth1 = book1D(ibooker, histo, pedestalfC);
139  sprintf (histo, "HcalDigiTask_ADC0_fC_depth2_%s", sub);
140  meADC0fC_depth2 = book1D(ibooker, histo, pedestalfC);
141  sprintf (histo, "HcalDigiTask_ADC0_fC_depth3_%s", sub);
142  meADC0fC_depth3 = book1D(ibooker, histo, pedestalfC);
143  sprintf (histo, "HcalDigiTask_ADC0_fC_depth4_%s", sub);
144  meADC0fC_depth4 = book1D(ibooker, histo, pedestalfC);
145 
146  sprintf (histo, "HcalDigiTask_signal_amplitude_%s", sub);
147  meSignalAmp = book1D(ibooker, histo, digiAmp );
148  sprintf (histo, "HcalDigiTask_signal_amplitude_depth1_%s", sub);
149  meSignalAmp1 = book1D(ibooker, histo, digiAmp );
150  sprintf (histo, "HcalDigiTask_signal_amplitude_depth2_%s", sub);
151  meSignalAmp2 = book1D(ibooker, histo, digiAmp );
152  sprintf (histo, "HcalDigiTask_signal_amplitude_depth3_%s", sub);
153  meSignalAmp3 = book1D(ibooker, histo, digiAmp );
154  sprintf (histo, "HcalDigiTask_signal_amplitude_depth4_%s", sub);
155  meSignalAmp4 = book1D(ibooker, histo, digiAmp );
156 
157 
158  sprintf (histo, "HcalDigiTask_signal_amplitude_vs_bin_all_depths_%s", sub);
159  meSignalTimeSlice = book2D(ibooker, histo, nbin, digiAmp);
160 
161  sprintf (histo, "HcalDigiTask_all_amplitudes_vs_bin_depth1%s", sub);
162  meAll10slices_depth1 = book2D(ibooker, histo, nbin, digiAmp);
163  sprintf (histo, "HcalDigiTask_all_amplitudes_vs_bin_depth2%s", sub);
164  meAll10slices_depth2 = book2D(ibooker, histo, nbin, digiAmp);
165 
166  sprintf (histo, "HcalDigiTask_all_amplitudes_vs_bin_1D_depth1_%s", sub);
167  meAll10slices1D_depth1 = book1D(ibooker, histo, nbin);
168  sprintf (histo, "HcalDigiTask_all_amplitudes_vs_bin_1D_depth2_%s", sub);
169  meAll10slices1D_depth2 = book1D(ibooker, histo, nbin);
170 
171  sprintf (histo, "HcalDigiTask_bin_5_frac_%s", sub);
172  meBin5Frac = book1D(ibooker, histo, frac);
173  sprintf (histo, "HcalDigiTask_bin_6_7_frac_%s", sub);
174  meBin67Frac = book1D(ibooker, histo, frac);
175 
176 
177  sprintf (histo, "HcalDigiTask_amplitude_vs_simhits_%s", sub);
178  meDigiSimhit = book2D(ibooker, histo, sime, digiAmp);
179  sprintf (histo, "HcalDigiTask_amplitude_vs_simhits_depth1_%s", sub);
180  meDigiSimhit1 = book2D(ibooker, histo, sime, digiAmp);
181  sprintf (histo, "HcalDigiTask_amplitude_vs_simhits_depth2_%s", sub);
182  meDigiSimhit2 = book2D(ibooker, histo, sime, digiAmp);
183  sprintf (histo, "HcalDigiTask_amplitude_vs_simhits_depth3_%s", sub);
184  meDigiSimhit3 = book2D(ibooker, histo, sime, digiAmp);
185  sprintf (histo, "HcalDigiTask_amplitude_vs_simhits_depth4_%s", sub);
186  meDigiSimhit4 = book2D(ibooker, histo, sime, digiAmp);
187 
188  sprintf (histo, "HcalDigiTask_amplitude_vs_simhits_profile_%s", sub);
189  meDigiSimhitProfile = bookProfile(ibooker, histo, sime, digiAmp);
190  sprintf (histo, "HcalDigiTask_amplitude_vs_simhits_profile_depth1_%s",sub);
191  meDigiSimhitProfile1 = bookProfile(ibooker, histo, sime, digiAmp);
192  sprintf (histo, "HcalDigiTask_amplitude_vs_simhits_profile_depth2_%s",sub);
193  meDigiSimhitProfile2 = bookProfile(ibooker, histo, sime, digiAmp);
194  sprintf (histo, "HcalDigiTask_amplitude_vs_simhits_profile_depth3_%s",sub);
195  meDigiSimhitProfile3 = bookProfile(ibooker, histo, sime, digiAmp);
196  sprintf (histo, "HcalDigiTask_amplitude_vs_simhits_profile_depth4_%s",sub);
197  meDigiSimhitProfile4 = bookProfile(ibooker, histo, sime, digiAmp);
198 
199  sprintf (histo, "HcalDigiTask_ratio_amplitude_vs_simhits_%s", sub);
200  meRatioDigiSimhit = book1D(ibooker, histo, ratio);
201  sprintf (histo, "HcalDigiTask_ratio_amplitude_vs_simhits_depth1_%s", sub);
202  meRatioDigiSimhit1 = book1D(ibooker, histo, ratio);
203  sprintf (histo, "HcalDigiTask_ratio_amplitude_vs_simhits_depth2_%s", sub);
204  meRatioDigiSimhit2 = book1D(ibooker, histo, ratio);
205  sprintf (histo, "HcalDigiTask_ratio_amplitude_vs_simhits_depth3_%s", sub);
206  meRatioDigiSimhit3 = book1D(ibooker, histo, ratio);
207  sprintf (histo, "HcalDigiTask_ratio_amplitude_vs_simhits_depth4_%s", sub);
208  meRatioDigiSimhit4 = book1D(ibooker, histo, ratio);
209 
210  }
211  else { // noise only
212 
213  // EVENT "1" distributions of all cells properties
214 
215 
216  if(subdet_ == "HB" || subdet_ == "HE" || subdet_ == "HF") {
217  sprintf (histo, "HcalDigiTask_gain_capId0_Depth1_%s", sub);
218  meGain0Depth1 = book1D(ibooker, histo,gainLim);
219  sprintf (histo, "HcalDigiTask_gain_capId1_Depth1_%s", sub);
220  meGain1Depth1 = book1D(ibooker, histo,gainLim);
221  sprintf (histo, "HcalDigiTask_gain_capId2_Depth1_%s", sub);
222  meGain2Depth1 = book1D(ibooker, histo,gainLim);
223  sprintf (histo, "HcalDigiTask_gain_capId3_Depth1_%s", sub);
224  meGain3Depth1 = book1D(ibooker, histo,gainLim);
225 
226  sprintf (histo, "HcalDigiTask_gain_capId0_Depth2_%s", sub);
227  meGain0Depth2 = book1D(ibooker, histo,gainLim);
228  sprintf (histo, "HcalDigiTask_gain_capId1_Depth2_%s", sub);
229  meGain1Depth2 = book1D(ibooker, histo,gainLim);
230  sprintf (histo, "HcalDigiTask_gain_capId2_Depth2_%s", sub);
231  meGain2Depth2 = book1D(ibooker, histo,gainLim);
232  sprintf (histo, "HcalDigiTask_gain_capId3_Depth2_%s", sub);
233  meGain3Depth2 = book1D(ibooker, histo,gainLim);
234 
235  sprintf (histo, "HcalDigiTask_gainWidth_capId0_Depth1_%s", sub);
236  meGainWidth0Depth1 = book1D(ibooker, histo,gainWidthLim);
237  sprintf (histo, "HcalDigiTask_gainWidth_capId1_Depth1_%s", sub);
238  meGainWidth1Depth1 = book1D(ibooker, histo,gainWidthLim);
239  sprintf (histo, "HcalDigiTask_gainWidth_capId2_Depth1_%s", sub);
240  meGainWidth2Depth1 = book1D(ibooker, histo,gainWidthLim);
241  sprintf (histo, "HcalDigiTask_gainWidth_capId3_Depth1_%s", sub);
242  meGainWidth3Depth1 = book1D(ibooker, histo,gainWidthLim);
243 
244  sprintf (histo, "HcalDigiTask_gainWidth_capId0_Depth2_%s", sub);
245  meGainWidth0Depth2 = book1D(ibooker, histo,gainWidthLim);
246  sprintf (histo, "HcalDigiTask_gainWidth_capId1_Depth2_%s", sub);
247  meGainWidth1Depth2 = book1D(ibooker, histo,gainWidthLim);
248  sprintf (histo, "HcalDigiTask_gainWidth_capId2_Depth2_%s", sub);
249  meGainWidth2Depth2 = book1D(ibooker, histo,gainWidthLim);
250  sprintf (histo, "HcalDigiTask_gainWidth_capId3_Depth2_%s", sub);
251  meGainWidth3Depth2 = book1D(ibooker, histo,gainWidthLim);
252 
253  sprintf (histo, "HcalDigiTask_pedestal_capId0_Depth1_%s", sub);
254  mePed0Depth1 = book1D(ibooker, histo,pedLim);
255  sprintf (histo, "HcalDigiTask_pedestal_capId1_Depth1_%s", sub);
256  mePed1Depth1 = book1D(ibooker, histo,pedLim);
257  sprintf (histo, "HcalDigiTask_pedestal_capId2_Depth1_%s", sub);
258  mePed2Depth1 = book1D(ibooker, histo,pedLim);
259  sprintf (histo, "HcalDigiTask_pedestal_capId3_Depth1_%s", sub);
260  mePed3Depth1 = book1D(ibooker, histo,pedLim);
261 
262  sprintf (histo, "HcalDigiTask_pedestal_capId0_Depth2_%s", sub);
263  mePed0Depth2 = book1D(ibooker, histo,pedLim);
264  sprintf (histo, "HcalDigiTask_pedestal_capId1_Depth2_%s", sub);
265  mePed1Depth2 = book1D(ibooker, histo,pedLim);
266  sprintf (histo, "HcalDigiTask_pedestal_capId2_Depth2_%s", sub);
267  mePed2Depth2 = book1D(ibooker, histo,pedLim);
268  sprintf (histo, "HcalDigiTask_pedestal_capId3_Depth2_%s", sub);
269  mePed3Depth2 = book1D(ibooker, histo,pedLim);
270 
271  sprintf (histo, "HcalDigiTask_pedestal_width_capId0_Depth1_%s", sub);
272  mePedWidth0Depth1 = book1D(ibooker, histo,pedWidthLim);
273  sprintf (histo, "HcalDigiTask_pedestal_width_capId1_Depth1_%s", sub);
274  mePedWidth1Depth1 = book1D(ibooker, histo,pedWidthLim);
275  sprintf (histo, "HcalDigiTask_pedestal_width_capId2_Depth1_%s", sub);
276  mePedWidth2Depth1 = book1D(ibooker, histo,pedWidthLim);
277  sprintf (histo, "HcalDigiTask_pedestal_width_capId3_Depth1_%s", sub);
278  mePedWidth3Depth1 = book1D(ibooker, histo,pedWidthLim);
279 
280  sprintf (histo, "HcalDigiTask_pedestal_width_capId0_Depth2_%s", sub);
281  mePedWidth0Depth2 = book1D(ibooker, histo,pedWidthLim);
282  sprintf (histo, "HcalDigiTask_pedestal_width_capId1_Depth2_%s", sub);
283  mePedWidth1Depth2 = book1D(ibooker, histo,pedWidthLim);
284  sprintf (histo, "HcalDigiTask_pedestal_width_capId2_Depth2_%s", sub);
285  mePedWidth2Depth2 = book1D(ibooker, histo,pedWidthLim);
286  sprintf (histo, "HcalDigiTask_pedestal_width_capId3_Depth2_%s", sub);
287  mePedWidth3Depth2 = book1D(ibooker, histo,pedWidthLim);
288 
289 
290  }
291 
292  if(subdet_ == "HE") {
293  sprintf (histo, "HcalDigiTask_gain_capId0_Depth3_%s", sub);
294  meGain0Depth3 = book1D(ibooker, histo,gainLim);
295  sprintf (histo, "HcalDigiTask_gain_capId1_Depth3_%s", sub);
296  meGain1Depth3 = book1D(ibooker, histo,gainLim);
297  sprintf (histo, "HcalDigiTask_gain_capId2_Depth3_%s", sub);
298  meGain2Depth3 = book1D(ibooker, histo,gainLim);
299  sprintf (histo, "HcalDigiTask_gain_capId3_Depth3_%s", sub);
300  meGain3Depth3 = book1D(ibooker, histo,gainLim);
301 
302  sprintf (histo, "HcalDigiTask_gainWidth_capId0_Depth3_%s", sub);
303  meGainWidth0Depth3 = book1D(ibooker, histo,gainWidthLim);
304  sprintf (histo, "HcalDigiTask_gainWidth_capId1_Depth3_%s", sub);
305  meGainWidth1Depth3 = book1D(ibooker, histo,gainWidthLim);
306  sprintf (histo, "HcalDigiTask_gainWidth_capId2_Depth3_%s", sub);
307  meGainWidth2Depth3 = book1D(ibooker, histo,gainWidthLim);
308  sprintf (histo, "HcalDigiTask_gainWidth_capId3_Depth3_%s", sub);
309  meGainWidth3Depth3 = book1D(ibooker, histo,gainWidthLim);
310 
311  sprintf (histo, "HcalDigiTask_pedestal_capId0_Depth3_%s", sub);
312  mePed0Depth3 = book1D(ibooker, histo,pedLim);
313  sprintf (histo, "HcalDigiTask_pedestal_capId1_Depth3_%s", sub);
314  mePed1Depth3 = book1D(ibooker, histo,pedLim);
315  sprintf (histo, "HcalDigiTask_pedestal_capId2_Depth3_%s", sub);
316  mePed2Depth3 = book1D(ibooker, histo,pedLim);
317  sprintf (histo, "HcalDigiTask_pedestal_capId3_Depth3_%s", sub);
318  mePed3Depth3 = book1D(ibooker, histo,pedLim);
319 
320  sprintf (histo, "HcalDigiTask_pedestal_width_capId0_Depth3_%s", sub);
321  mePedWidth0Depth3 = book1D(ibooker, histo,pedWidthLim);
322  sprintf (histo, "HcalDigiTask_pedestal_width_capId1_Depth3_%s", sub);
323  mePedWidth1Depth3 = book1D(ibooker, histo,pedWidthLim);
324  sprintf (histo, "HcalDigiTask_pedestal_width_capId2_Depth3_%s", sub);
325  mePedWidth2Depth3 = book1D(ibooker, histo,pedWidthLim);
326  sprintf (histo, "HcalDigiTask_pedestal_width_capId3_Depth3_%s", sub);
327  mePedWidth3Depth3 = book1D(ibooker, histo,pedWidthLim);
328 
329  }
330 
331  if(subdet_ == "HO") {
332  sprintf (histo, "HcalDigiTask_gain_capId0_Depth4_%s", sub);
333  meGain0Depth4 = book1D(ibooker, histo,gainLim);
334  sprintf (histo, "HcalDigiTask_gain_capId1_Depth4_%s", sub);
335  meGain1Depth4 = book1D(ibooker, histo,gainLim);
336  sprintf (histo, "HcalDigiTask_gain_capId2_Depth4_%s", sub);
337  meGain2Depth4 = book1D(ibooker, histo,gainLim);
338  sprintf (histo, "HcalDigiTask_gain_capId3_Depth4_%s", sub);
339  meGain3Depth4 = book1D(ibooker, histo,gainLim);
340 
341  sprintf (histo, "HcalDigiTask_gainWidth_capId0_Depth4_%s", sub);
342  meGainWidth0Depth4 = book1D(ibooker, histo,gainWidthLim);
343  sprintf (histo, "HcalDigiTask_gainWidth_capId1_Depth4_%s", sub);
344  meGainWidth1Depth4 = book1D(ibooker, histo,gainWidthLim);
345  sprintf (histo, "HcalDigiTask_gainWidth_capId2_Depth4_%s", sub);
346  meGainWidth2Depth4 = book1D(ibooker, histo,gainWidthLim);
347  sprintf (histo, "HcalDigiTask_gainWidth_capId3_Depth4_%s", sub);
348  meGainWidth3Depth4 = book1D(ibooker, histo,gainWidthLim);
349 
350 
351  sprintf (histo, "HcalDigiTask_pedestal_capId0_Depth4_%s", sub);
352  mePed0Depth4 = book1D(ibooker, histo,pedLim);
353  sprintf (histo, "HcalDigiTask_pedestal_capId1_Depth4_%s", sub);
354  mePed1Depth4 = book1D(ibooker, histo,pedLim);
355  sprintf (histo, "HcalDigiTask_pedestal_capId2_Depth4_%s", sub);
356  mePed2Depth4 = book1D(ibooker, histo,pedLim);
357  sprintf (histo, "HcalDigiTask_pedestal_capId3_Depth4_%s", sub);
358  mePed3Depth4 = book1D(ibooker, histo,pedLim);
359 
360  sprintf (histo, "HcalDigiTask_pedestal_width_capId0_Depth4_%s", sub);
361  mePedWidth0Depth4 = book1D(ibooker, histo,pedWidthLim);
362  sprintf (histo, "HcalDigiTask_pedestal_width_capId1_Depth4_%s", sub);
363  mePedWidth1Depth4 = book1D(ibooker, histo,pedWidthLim);
364  sprintf (histo, "HcalDigiTask_pedestal_width_capId2_Depth4_%s", sub);
365  mePedWidth2Depth4 = book1D(ibooker, histo,pedWidthLim);
366  sprintf (histo, "HcalDigiTask_pedestal_width_capId3_Depth4_%s", sub);
367  mePedWidth3Depth4 = book1D(ibooker, histo,pedWidthLim);
368 
369  }
370 
371  sprintf (histo, "HcalDigiTask_gainMap_Depth1_%s", sub);
372  meGainMap1 = book2D(ibooker, histo, ietaLim, iphiLim);
373  sprintf (histo, "HcalDigiTask_gainMap_Depth2_%s", sub);
374  meGainMap2 = book2D(ibooker, histo, ietaLim, iphiLim);
375  sprintf (histo, "HcalDigiTask_gainMap_Depth3_%s", sub);
376  meGainMap3 = book2D(ibooker, histo, ietaLim, iphiLim);
377  sprintf (histo, "HcalDigiTask_gainMap_Depth4_%s", sub);
378  meGainMap4 = book2D(ibooker, histo, ietaLim, iphiLim);
379 
380  sprintf (histo, "HcalDigiTask_pwidthMap_Depth1_%s", sub);
381  mePwidthMap1 = book2D(ibooker, histo, ietaLim, iphiLim);
382  sprintf (histo, "HcalDigiTask_pwidthMap_Depth2_%s", sub);
383  mePwidthMap2 = book2D(ibooker, histo, ietaLim, iphiLim);
384  sprintf (histo, "HcalDigiTask_pwidthMap_Depth3_%s", sub);
385  mePwidthMap3 = book2D(ibooker, histo, ietaLim, iphiLim);
386  sprintf (histo, "HcalDigiTask_pwidthMap_Depth4_%s", sub);
387  mePwidthMap4 = book2D(ibooker, histo, ietaLim, iphiLim);
388 
389  } //end of noise-only
390 }
391 
392 
395 {
396  return ib.book1D(name, name, lim.n, lim.min, lim.max);
397 }
398 
399 
403 {
404  return ib.book2D(name, name, lim1.n, lim1.min, lim1.max,
405  lim2.n, lim2.min, lim2.max);
406 }
407 
411 {
412  return ib.bookProfile(name, name, lim1.n, lim1.min, lim1.max,
413  lim2.n, lim2.min, lim2.max);
414 }
415 
416 
417 
MonitorElement * meDigiSimhit1
static const char noise_[]
MonitorElement * meADC0fC_depth1
MonitorElement * meAmplIetaIphi3
MonitorElement * meGainWidth1Depth4
MonitorElement * meSignalTimeSlice
MonitorElement * meDigiSimhit3
MonitorElement * mePedWidth3Depth1
MonitorElement * meAmplIetaIphi2
int ib
Definition: cuy.py:660
MonitorElement * meGain1Depth3
MonitorElement * meADC0_depth1
MonitorElement * meOccupancy_map_depth3
MonitorElement * meDigiSimhitProfile4
MonitorElement * meRatioDigiSimhit4
MonitorElement * bookProfile(Args &&...args)
Definition: DQMStore.h:157
MonitorElement * bookProfile(DQMStore::IBooker &ib, const std::string &name, HistLim lim1, HistLim lim2)
MonitorElement * meDigiSimhit2
MonitorElement * meGain0Depth2
MonitorElement * meGain2Depth4
MonitorElement * meOccupancy_vs_ieta_depth4
MonitorElement * meDigiSimhitProfile1
MonitorElement * meGainWidth1Depth1
MonitorElement * meOccupancy_vs_ieta_depth1
MonitorElement * meGainWidth3Depth1
MonitorElement * meRatioDigiSimhit2
MonitorElement * mePedWidth2Depth4
MonitorElement * meRatioDigiSimhit3
MonitorElement * meAll10slices1D_depth1
MonitorElement * meAll10slices_depth1
MonitorElement * meDigiSimhitProfile2
MonitorElement * meDigiSimhit4
MonitorElement * meGain0Depth3
MonitorElement * meADC0fC_depth4
MonitorElement * meGain1Depth2
MonitorElement * meGain3Depth4
MonitorElement * meGain2Depth3
MonitorElement * mePedWidth1Depth2
MonitorElement * meGainWidth2Depth2
MonitorElement * meGain1Depth4
MonitorElement * book1D(DQMStore::IBooker &ib, const std::string &name, HistLim lim)
MonitorElement * meGainWidth2Depth1
MonitorElement * meGain3Depth3
MonitorElement * mePedWidth0Depth3
MonitorElement * meAll10slices1D_depth2
MonitorElement * meGainWidth0Depth4
MonitorElement * meADC0fC_depth2
MonitorElement * meGainWidth1Depth3
MonitorElement * mePedWidth1Depth1
MonitorElement * mePedWidth2Depth3
MonitorElement * meDigiSimhitProfile3
MonitorElement * mePedWidth0Depth4
MonitorElement * meADC0_depth2
MonitorElement * meADC0_depth3
MonitorElement * meGain1Depth1
MonitorElement * mePedWidth3Depth3
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
MonitorElement * meADC0_depth4
MonitorElement * mePedWidth2Depth1
MonitorElement * mePedWidth0Depth1
MonitorElement * meGainWidth0Depth2
MonitorElement * meGain0Depth4
MonitorElement * meGainWidth3Depth4
MonitorElement * mePedWidth2Depth2
MonitorElement * meAll10slices_depth2
MonitorElement * mePedWidth3Depth2
MonitorElement * meOccupancy_vs_ieta_depth3
MonitorElement * meGain3Depth2
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:276
MonitorElement * book2D(DQMStore::IBooker &ib, const std::string &name, HistLim lim1, HistLim lim2)
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
MonitorElement * meOccupancy_map_depth2
MonitorElement * meGainWidth2Depth4
MonitorElement * meOccupancy_map_depth4
MonitorElement * meGainWidth0Depth3
MonitorElement * meRatioDigiSimhit
MonitorElement * meGainWidth3Depth2
HcalSubdetDigiMonitor(DQMStore::IBooker &ibooker, const std::string &subdet, int noise)
MonitorElement * mePedWidth3Depth4
MonitorElement * meDigiSimhitProfile
MonitorElement * meGain3Depth1
MonitorElement * mePedWidth1Depth3
MonitorElement * meGainWidth2Depth3
MonitorElement * mePedWidth1Depth4
MonitorElement * meADC0fC_depth3
MonitorElement * mePedWidth0Depth2
MonitorElement * meGain2Depth2
MonitorElement * meGain2Depth1
MonitorElement * meAmplIetaIphi4
MonitorElement * meOccupancy_map_depth1
MonitorElement * meGainWidth0Depth1
MonitorElement * meAmplIetaIphi1
MonitorElement * meGainWidth1Depth2
MonitorElement * meGain0Depth1
MonitorElement * meGainWidth3Depth3
MonitorElement * meOccupancy_vs_ieta_depth2
MonitorElement * meRatioDigiSimhit1