00001 #include "Validation/HcalDigis/src/HcalSubdetDigiMonitor.h"
00002 #include "DQMServices/Core/interface/DQMStore.h"
00003 #include "DQMServices/Core/interface/MonitorElement.h"
00004
00005 struct HistLim
00006 {
00007 HistLim(int nbin, float mini, float maxi)
00008 : n(nbin), min(mini), max(maxi) {}
00009 int n;
00010 float min;
00011 float max;
00012 };
00013
00014 HcalSubdetDigiMonitor::HcalSubdetDigiMonitor(DQMStore* dbe,
00015 const std::string & subdet, int noise)
00016 : dbe_(dbe),
00017 subdet_(subdet),
00018 noise_(noise)
00019 {
00020
00021
00022
00023 HistLim Ndigis(2600,0.,2600.);
00024 HistLim ndigis(50, 0., 50.);
00025 HistLim sime(200, 0., 1.0);
00026 HistLim digiAmp(700, -100., 600.);
00027 HistLim ratio(250, 0., 2500.);
00028 HistLim sumAmp(100, -500., 1500.);
00029
00030 HistLim nbin(10,0.,10.);
00031
00032 HistLim pedestal(75, 0., 15.);
00033 HistLim pedestalfC(400,-10.,30.);
00034
00035 HistLim frac(52, -0.02, 1.02);
00036
00037 HistLim pedLim(80, 0., 8.);
00038 HistLim pedWidthLim(100, 0., 2.);
00039
00040 HistLim gainLim(120, 0.,0.6);
00041 HistLim gainWidthLim(100, 0.,0.3);
00042
00043 HistLim ietaLim( 82, -41., 41.);
00044 HistLim iphiLim(72, 0., 72.);
00045
00046 if(subdet_ == "HE")
00047 {
00048 sime = HistLim(200, 0., 1.0);
00049 digiAmp = HistLim(250, -100., 400.);
00050 }
00051 else if(subdet_ == "HF")
00052 {
00053 ndigis = HistLim(500, 0., 500.);
00054 sime = HistLim(100, 0., 100.);
00055 digiAmp = HistLim(420, -100., 2000.);
00056 ratio = HistLim(120, 0., 120.);
00057 pedLim = HistLim(100, 0., 20.);
00058 pedWidthLim = HistLim(100, 0., 5.);
00059
00060 }
00061 else if(subdet_ == "HO")
00062 {
00063 sime = HistLim(200, 0., 1.0);
00064 digiAmp = HistLim(200, 0., 200.);
00065 gainLim = HistLim(150, 0., 1.5);
00066 }
00067
00068 Char_t histo[100];
00069 const char * sub = subdet_.c_str();
00070 if ( dbe_ ) {
00071 dbe_->setCurrentFolder("HcalDigisV/HcalDigiTask");
00072 }
00073
00074
00075
00076
00077
00078
00079
00080
00081 if(noise_ == 0) {
00082
00083
00084
00085 sprintf (histo, "HcalDigiTask_Ndigis_%s", sub ) ;
00086 meNdigis = book1D(histo, Ndigis);
00087
00088
00089 sprintf (histo, "HcalDigiTask_ieta_iphi_occupancy_map_depth1_%s", sub ) ;
00090 meOccupancy_map_depth1 = book2D(histo, ietaLim, iphiLim);
00091
00092 sprintf (histo, "HcalDigiTask_ieta_iphi_occupancy_map_depth2_%s", sub ) ;
00093 meOccupancy_map_depth2 = book2D(histo, ietaLim, iphiLim);
00094
00095 sprintf (histo, "HcalDigiTask_ieta_iphi_occupancy_map_depth3_%s", sub ) ;
00096 meOccupancy_map_depth3 = book2D(histo, ietaLim, iphiLim);
00097
00098 sprintf (histo, "HcalDigiTask_ieta_iphi_occupancy_map_depth4_%s", sub ) ;
00099 meOccupancy_map_depth4 = book2D(histo, ietaLim, iphiLim);
00100
00101
00102 sprintf (histo, "HcalDigiTask_occupancy_vs_ieta_depth1_%s", sub ) ;
00103 meOccupancy_vs_ieta_depth1 = book1D(histo, ietaLim);
00104
00105 sprintf (histo, "HcalDigiTask_occupancy_vs_ieta_depth2_%s", sub ) ;
00106 meOccupancy_vs_ieta_depth2 = book1D(histo, ietaLim);
00107
00108 sprintf (histo, "HcalDigiTask_occupancy_vs_ieta_depth3_%s", sub ) ;
00109 meOccupancy_vs_ieta_depth3 = book1D(histo, ietaLim);
00110
00111 sprintf (histo, "HcalDigiTask_occupancy_vs_ieta_depth4_%s", sub ) ;
00112 meOccupancy_vs_ieta_depth4 = book1D(histo, ietaLim);
00113
00114
00115
00116 sprintf (histo, "HcalDigiTask_ieta_iphi_map_of_amplitudes_fC_depth1_%s", sub ) ;
00117 meAmplIetaIphi1= book2D(histo, ietaLim, iphiLim);
00118 sprintf (histo, "HcalDigiTask_ieta_iphi_map_of_amplitudes_fC_depth2_%s", sub ) ;
00119 meAmplIetaIphi2= book2D(histo, ietaLim, iphiLim);
00120 sprintf (histo, "HcalDigiTask_ieta_iphi_map_of_amplitudes_fC_depth3_%s", sub ) ;
00121 meAmplIetaIphi3= book2D(histo, ietaLim, iphiLim);
00122 sprintf (histo, "HcalDigiTask_ieta_iphi_map_of_amplitudes_fC_depth4_%s", sub ) ;
00123 meAmplIetaIphi4= book2D(histo, ietaLim, iphiLim);
00124
00125 sprintf (histo, "HcalDigiTask_sum_all_amplitudes_%s", sub);
00126 meSumAmp = book1D(histo, sumAmp);
00127
00128 sprintf (histo, "HcalDigiTask_number_of_amplitudes_above_10fC_%s", sub);
00129 menDigis = book1D(histo, ndigis);
00130
00131 sprintf (histo, "HcalDigiTask_ADC0_adc_depth1_%s", sub);
00132 meADC0_depth1 = book1D(histo, pedestal);
00133 sprintf (histo, "HcalDigiTask_ADC0_adc_depth2_%s", sub);
00134 meADC0_depth2 = book1D(histo, pedestal);
00135 sprintf (histo, "HcalDigiTask_ADC0_adc_depth3_%s", sub);
00136 meADC0_depth3 = book1D(histo, pedestal);
00137 sprintf (histo, "HcalDigiTask_ADC0_adc_depth4_%s", sub);
00138 meADC0_depth4 = book1D(histo, pedestal);
00139
00140 sprintf (histo, "HcalDigiTask_ADC0_fC_depth1_%s", sub);
00141 meADC0fC_depth1 = book1D(histo, pedestalfC);
00142 sprintf (histo, "HcalDigiTask_ADC0_fC_depth2_%s", sub);
00143 meADC0fC_depth2 = book1D(histo, pedestalfC);
00144 sprintf (histo, "HcalDigiTask_ADC0_fC_depth3_%s", sub);
00145 meADC0fC_depth3 = book1D(histo, pedestalfC);
00146 sprintf (histo, "HcalDigiTask_ADC0_fC_depth4_%s", sub);
00147 meADC0fC_depth4 = book1D(histo, pedestalfC);
00148
00149 sprintf (histo, "HcalDigiTask_signal_amplitude_%s", sub);
00150 meSignalAmp = book1D(histo, digiAmp );
00151 sprintf (histo, "HcalDigiTask_signal_amplitude_depth1_%s", sub);
00152 meSignalAmp1 = book1D(histo, digiAmp );
00153 sprintf (histo, "HcalDigiTask_signal_amplitude_depth2_%s", sub);
00154 meSignalAmp2 = book1D(histo, digiAmp );
00155 sprintf (histo, "HcalDigiTask_signal_amplitude_depth3_%s", sub);
00156 meSignalAmp3 = book1D(histo, digiAmp );
00157 sprintf (histo, "HcalDigiTask_signal_amplitude_depth4_%s", sub);
00158 meSignalAmp4 = book1D(histo, digiAmp );
00159
00160
00161 sprintf (histo, "HcalDigiTask_signal_amplitude_vs_bin_all_depths_%s", sub);
00162 meSignalTimeSlice = book2D(histo, nbin, digiAmp);
00163
00164 sprintf (histo, "HcalDigiTask_all_amplitudes_vs_bin_depth1%s", sub);
00165 meAll10slices_depth1 = book2D(histo, nbin, digiAmp);
00166 sprintf (histo, "HcalDigiTask_all_amplitudes_vs_bin_depth2%s", sub);
00167 meAll10slices_depth2 = book2D(histo, nbin, digiAmp);
00168
00169 sprintf (histo, "HcalDigiTask_all_amplitudes_vs_bin_1D_depth1_%s", sub);
00170 meAll10slices1D_depth1 = book1D(histo, nbin);
00171 sprintf (histo, "HcalDigiTask_all_amplitudes_vs_bin_1D_depth2_%s", sub);
00172 meAll10slices1D_depth2 = book1D(histo, nbin);
00173
00174 sprintf (histo, "HcalDigiTask_bin_5_frac_%s", sub);
00175 meBin5Frac = book1D(histo, frac);
00176 sprintf (histo, "HcalDigiTask_bin_6_7_frac_%s", sub);
00177 meBin67Frac = book1D(histo, frac);
00178
00179
00180 sprintf (histo, "HcalDigiTask_amplitude_vs_simhits_%s", sub);
00181 meDigiSimhit = book2D(histo, sime, digiAmp);
00182 sprintf (histo, "HcalDigiTask_amplitude_vs_simhits_depth1_%s", sub);
00183 meDigiSimhit1 = book2D(histo, sime, digiAmp);
00184 sprintf (histo, "HcalDigiTask_amplitude_vs_simhits_depth2_%s", sub);
00185 meDigiSimhit2 = book2D(histo, sime, digiAmp);
00186 sprintf (histo, "HcalDigiTask_amplitude_vs_simhits_depth3_%s", sub);
00187 meDigiSimhit3 = book2D(histo, sime, digiAmp);
00188 sprintf (histo, "HcalDigiTask_amplitude_vs_simhits_depth4_%s", sub);
00189 meDigiSimhit4 = book2D(histo, sime, digiAmp);
00190
00191 sprintf (histo, "HcalDigiTask_amplitude_vs_simhits_profile_%s", sub);
00192 meDigiSimhitProfile = bookProfile(histo, sime, digiAmp);
00193 sprintf (histo, "HcalDigiTask_amplitude_vs_simhits_profile_depth1_%s",sub);
00194 meDigiSimhitProfile1 = bookProfile(histo, sime, digiAmp);
00195 sprintf (histo, "HcalDigiTask_amplitude_vs_simhits_profile_depth2_%s",sub);
00196 meDigiSimhitProfile2 = bookProfile(histo, sime, digiAmp);
00197 sprintf (histo, "HcalDigiTask_amplitude_vs_simhits_profile_depth3_%s",sub);
00198 meDigiSimhitProfile3 = bookProfile(histo, sime, digiAmp);
00199 sprintf (histo, "HcalDigiTask_amplitude_vs_simhits_profile_depth4_%s",sub);
00200 meDigiSimhitProfile4 = bookProfile(histo, sime, digiAmp);
00201
00202 sprintf (histo, "HcalDigiTask_ratio_amplitude_vs_simhits_%s", sub);
00203 meRatioDigiSimhit = book1D(histo, ratio);
00204 sprintf (histo, "HcalDigiTask_ratio_amplitude_vs_simhits_depth1_%s", sub);
00205 meRatioDigiSimhit1 = book1D(histo, ratio);
00206 sprintf (histo, "HcalDigiTask_ratio_amplitude_vs_simhits_depth2_%s", sub);
00207 meRatioDigiSimhit2 = book1D(histo, ratio);
00208 sprintf (histo, "HcalDigiTask_ratio_amplitude_vs_simhits_depth3_%s", sub);
00209 meRatioDigiSimhit3 = book1D(histo, ratio);
00210 sprintf (histo, "HcalDigiTask_ratio_amplitude_vs_simhits_depth4_%s", sub);
00211 meRatioDigiSimhit4 = book1D(histo, ratio);
00212
00213 }
00214 else {
00215
00216
00217
00218
00219 if(subdet_ == "HB" || subdet_ == "HE" || subdet_ == "HF") {
00220 sprintf (histo, "HcalDigiTask_gain_capId0_Depth1_%s", sub);
00221 meGain0Depth1 = book1D(histo,gainLim);
00222 sprintf (histo, "HcalDigiTask_gain_capId1_Depth1_%s", sub);
00223 meGain1Depth1 = book1D(histo,gainLim);
00224 sprintf (histo, "HcalDigiTask_gain_capId2_Depth1_%s", sub);
00225 meGain2Depth1 = book1D(histo,gainLim);
00226 sprintf (histo, "HcalDigiTask_gain_capId3_Depth1_%s", sub);
00227 meGain3Depth1 = book1D(histo,gainLim);
00228
00229 sprintf (histo, "HcalDigiTask_gain_capId0_Depth2_%s", sub);
00230 meGain0Depth2 = book1D(histo,gainLim);
00231 sprintf (histo, "HcalDigiTask_gain_capId1_Depth2_%s", sub);
00232 meGain1Depth2 = book1D(histo,gainLim);
00233 sprintf (histo, "HcalDigiTask_gain_capId2_Depth2_%s", sub);
00234 meGain2Depth2 = book1D(histo,gainLim);
00235 sprintf (histo, "HcalDigiTask_gain_capId3_Depth2_%s", sub);
00236 meGain3Depth2 = book1D(histo,gainLim);
00237
00238 sprintf (histo, "HcalDigiTask_gainWidth_capId0_Depth1_%s", sub);
00239 meGainWidth0Depth1 = book1D(histo,gainWidthLim);
00240 sprintf (histo, "HcalDigiTask_gainWidth_capId1_Depth1_%s", sub);
00241 meGainWidth1Depth1 = book1D(histo,gainWidthLim);
00242 sprintf (histo, "HcalDigiTask_gainWidth_capId2_Depth1_%s", sub);
00243 meGainWidth2Depth1 = book1D(histo,gainWidthLim);
00244 sprintf (histo, "HcalDigiTask_gainWidth_capId3_Depth1_%s", sub);
00245 meGainWidth3Depth1 = book1D(histo,gainWidthLim);
00246
00247 sprintf (histo, "HcalDigiTask_gainWidth_capId0_Depth2_%s", sub);
00248 meGainWidth0Depth2 = book1D(histo,gainWidthLim);
00249 sprintf (histo, "HcalDigiTask_gainWidth_capId1_Depth2_%s", sub);
00250 meGainWidth1Depth2 = book1D(histo,gainWidthLim);
00251 sprintf (histo, "HcalDigiTask_gainWidth_capId2_Depth2_%s", sub);
00252 meGainWidth2Depth2 = book1D(histo,gainWidthLim);
00253 sprintf (histo, "HcalDigiTask_gainWidth_capId3_Depth2_%s", sub);
00254 meGainWidth3Depth2 = book1D(histo,gainWidthLim);
00255
00256 sprintf (histo, "HcalDigiTask_pedestal_capId0_Depth1_%s", sub);
00257 mePed0Depth1 = book1D(histo,pedLim);
00258 sprintf (histo, "HcalDigiTask_pedestal_capId1_Depth1_%s", sub);
00259 mePed1Depth1 = book1D(histo,pedLim);
00260 sprintf (histo, "HcalDigiTask_pedestal_capId2_Depth1_%s", sub);
00261 mePed2Depth1 = book1D(histo,pedLim);
00262 sprintf (histo, "HcalDigiTask_pedestal_capId3_Depth1_%s", sub);
00263 mePed3Depth1 = book1D(histo,pedLim);
00264
00265 sprintf (histo, "HcalDigiTask_pedestal_capId0_Depth2_%s", sub);
00266 mePed0Depth2 = book1D(histo,pedLim);
00267 sprintf (histo, "HcalDigiTask_pedestal_capId1_Depth2_%s", sub);
00268 mePed1Depth2 = book1D(histo,pedLim);
00269 sprintf (histo, "HcalDigiTask_pedestal_capId2_Depth2_%s", sub);
00270 mePed2Depth2 = book1D(histo,pedLim);
00271 sprintf (histo, "HcalDigiTask_pedestal_capId3_Depth2_%s", sub);
00272 mePed3Depth2 = book1D(histo,pedLim);
00273
00274 sprintf (histo, "HcalDigiTask_pedestal_width_capId0_Depth1_%s", sub);
00275 mePedWidth0Depth1 = book1D(histo,pedWidthLim);
00276 sprintf (histo, "HcalDigiTask_pedestal_width_capId1_Depth1_%s", sub);
00277 mePedWidth1Depth1 = book1D(histo,pedWidthLim);
00278 sprintf (histo, "HcalDigiTask_pedestal_width_capId2_Depth1_%s", sub);
00279 mePedWidth2Depth1 = book1D(histo,pedWidthLim);
00280 sprintf (histo, "HcalDigiTask_pedestal_width_capId3_Depth1_%s", sub);
00281 mePedWidth3Depth1 = book1D(histo,pedWidthLim);
00282
00283 sprintf (histo, "HcalDigiTask_pedestal_width_capId0_Depth2_%s", sub);
00284 mePedWidth0Depth2 = book1D(histo,pedWidthLim);
00285 sprintf (histo, "HcalDigiTask_pedestal_width_capId1_Depth2_%s", sub);
00286 mePedWidth1Depth2 = book1D(histo,pedWidthLim);
00287 sprintf (histo, "HcalDigiTask_pedestal_width_capId2_Depth2_%s", sub);
00288 mePedWidth2Depth2 = book1D(histo,pedWidthLim);
00289 sprintf (histo, "HcalDigiTask_pedestal_width_capId3_Depth2_%s", sub);
00290 mePedWidth3Depth2 = book1D(histo,pedWidthLim);
00291
00292
00293 }
00294
00295 if(subdet_ == "HE") {
00296 sprintf (histo, "HcalDigiTask_gain_capId0_Depth3_%s", sub);
00297 meGain0Depth3 = book1D(histo,gainLim);
00298 sprintf (histo, "HcalDigiTask_gain_capId1_Depth3_%s", sub);
00299 meGain1Depth3 = book1D(histo,gainLim);
00300 sprintf (histo, "HcalDigiTask_gain_capId2_Depth3_%s", sub);
00301 meGain2Depth3 = book1D(histo,gainLim);
00302 sprintf (histo, "HcalDigiTask_gain_capId3_Depth3_%s", sub);
00303 meGain3Depth3 = book1D(histo,gainLim);
00304
00305 sprintf (histo, "HcalDigiTask_gainWidth_capId0_Depth3_%s", sub);
00306 meGainWidth0Depth3 = book1D(histo,gainWidthLim);
00307 sprintf (histo, "HcalDigiTask_gainWidth_capId1_Depth3_%s", sub);
00308 meGainWidth1Depth3 = book1D(histo,gainWidthLim);
00309 sprintf (histo, "HcalDigiTask_gainWidth_capId2_Depth3_%s", sub);
00310 meGainWidth2Depth3 = book1D(histo,gainWidthLim);
00311 sprintf (histo, "HcalDigiTask_gainWidth_capId3_Depth3_%s", sub);
00312 meGainWidth3Depth3 = book1D(histo,gainWidthLim);
00313
00314 sprintf (histo, "HcalDigiTask_pedestal_capId0_Depth3_%s", sub);
00315 mePed0Depth3 = book1D(histo,pedLim);
00316 sprintf (histo, "HcalDigiTask_pedestal_capId1_Depth3_%s", sub);
00317 mePed1Depth3 = book1D(histo,pedLim);
00318 sprintf (histo, "HcalDigiTask_pedestal_capId2_Depth3_%s", sub);
00319 mePed2Depth3 = book1D(histo,pedLim);
00320 sprintf (histo, "HcalDigiTask_pedestal_capId3_Depth3_%s", sub);
00321 mePed3Depth3 = book1D(histo,pedLim);
00322
00323 sprintf (histo, "HcalDigiTask_pedestal_width_capId0_Depth3_%s", sub);
00324 mePedWidth0Depth3 = book1D(histo,pedWidthLim);
00325 sprintf (histo, "HcalDigiTask_pedestal_width_capId1_Depth3_%s", sub);
00326 mePedWidth1Depth3 = book1D(histo,pedWidthLim);
00327 sprintf (histo, "HcalDigiTask_pedestal_width_capId2_Depth3_%s", sub);
00328 mePedWidth2Depth3 = book1D(histo,pedWidthLim);
00329 sprintf (histo, "HcalDigiTask_pedestal_width_capId3_Depth3_%s", sub);
00330 mePedWidth3Depth3 = book1D(histo,pedWidthLim);
00331
00332 }
00333
00334 if(subdet_ == "HO") {
00335 sprintf (histo, "HcalDigiTask_gain_capId0_Depth4_%s", sub);
00336 meGain0Depth4 = book1D(histo,gainLim);
00337 sprintf (histo, "HcalDigiTask_gain_capId1_Depth4_%s", sub);
00338 meGain1Depth4 = book1D(histo,gainLim);
00339 sprintf (histo, "HcalDigiTask_gain_capId2_Depth4_%s", sub);
00340 meGain2Depth4 = book1D(histo,gainLim);
00341 sprintf (histo, "HcalDigiTask_gain_capId3_Depth4_%s", sub);
00342 meGain3Depth4 = book1D(histo,gainLim);
00343
00344 sprintf (histo, "HcalDigiTask_gainWidth_capId0_Depth4_%s", sub);
00345 meGainWidth0Depth4 = book1D(histo,gainWidthLim);
00346 sprintf (histo, "HcalDigiTask_gainWidth_capId1_Depth4_%s", sub);
00347 meGainWidth1Depth4 = book1D(histo,gainWidthLim);
00348 sprintf (histo, "HcalDigiTask_gainWidth_capId2_Depth4_%s", sub);
00349 meGainWidth2Depth4 = book1D(histo,gainWidthLim);
00350 sprintf (histo, "HcalDigiTask_gainWidth_capId3_Depth4_%s", sub);
00351 meGainWidth3Depth4 = book1D(histo,gainWidthLim);
00352
00353
00354 sprintf (histo, "HcalDigiTask_pedestal_capId0_Depth4_%s", sub);
00355 mePed0Depth4 = book1D(histo,pedLim);
00356 sprintf (histo, "HcalDigiTask_pedestal_capId1_Depth4_%s", sub);
00357 mePed1Depth4 = book1D(histo,pedLim);
00358 sprintf (histo, "HcalDigiTask_pedestal_capId2_Depth4_%s", sub);
00359 mePed2Depth4 = book1D(histo,pedLim);
00360 sprintf (histo, "HcalDigiTask_pedestal_capId3_Depth4_%s", sub);
00361 mePed3Depth4 = book1D(histo,pedLim);
00362
00363 sprintf (histo, "HcalDigiTask_pedestal_width_capId0_Depth4_%s", sub);
00364 mePedWidth0Depth4 = book1D(histo,pedWidthLim);
00365 sprintf (histo, "HcalDigiTask_pedestal_width_capId1_Depth4_%s", sub);
00366 mePedWidth1Depth4 = book1D(histo,pedWidthLim);
00367 sprintf (histo, "HcalDigiTask_pedestal_width_capId2_Depth4_%s", sub);
00368 mePedWidth2Depth4 = book1D(histo,pedWidthLim);
00369 sprintf (histo, "HcalDigiTask_pedestal_width_capId3_Depth4_%s", sub);
00370 mePedWidth3Depth4 = book1D(histo,pedWidthLim);
00371
00372 }
00373
00374 sprintf (histo, "HcalDigiTask_gainMap_Depth1_%s", sub);
00375 meGainMap1 = book2D(histo, ietaLim, iphiLim);
00376 sprintf (histo, "HcalDigiTask_gainMap_Depth2_%s", sub);
00377 meGainMap2 = book2D(histo, ietaLim, iphiLim);
00378 sprintf (histo, "HcalDigiTask_gainMap_Depth3_%s", sub);
00379 meGainMap3 = book2D(histo, ietaLim, iphiLim);
00380 sprintf (histo, "HcalDigiTask_gainMap_Depth4_%s", sub);
00381 meGainMap4 = book2D(histo, ietaLim, iphiLim);
00382
00383 sprintf (histo, "HcalDigiTask_pwidthMap_Depth1_%s", sub);
00384 mePwidthMap1 = book2D(histo, ietaLim, iphiLim);
00385 sprintf (histo, "HcalDigiTask_pwidthMap_Depth2_%s", sub);
00386 mePwidthMap2 = book2D(histo, ietaLim, iphiLim);
00387 sprintf (histo, "HcalDigiTask_pwidthMap_Depth3_%s", sub);
00388 mePwidthMap3 = book2D(histo, ietaLim, iphiLim);
00389 sprintf (histo, "HcalDigiTask_pwidthMap_Depth4_%s", sub);
00390 mePwidthMap4 = book2D(histo, ietaLim, iphiLim);
00391
00392 }
00393 }
00394
00395
00396 MonitorElement * HcalSubdetDigiMonitor::book1D(const std::string & name,
00397 HcalSubdetDigiMonitor::HistLim lim)
00398 {
00399 return dbe_->book1D(name, name, lim.n, lim.min, lim.max);
00400 }
00401
00402
00403 MonitorElement * HcalSubdetDigiMonitor::book2D(const std::string & name,
00404 HcalSubdetDigiMonitor::HistLim lim1,
00405 HcalSubdetDigiMonitor::HistLim lim2)
00406 {
00407 return dbe_->book2D(name, name, lim1.n, lim1.min, lim1.max,
00408 lim2.n, lim2.min, lim2.max);
00409 }
00410
00411 MonitorElement * HcalSubdetDigiMonitor::bookProfile(const std::string & name,
00412 HcalSubdetDigiMonitor::HistLim lim1,
00413 HcalSubdetDigiMonitor::HistLim lim2)
00414 {
00415 return dbe_->bookProfile(name, name, lim1.n, lim1.min, lim1.max,
00416 lim2.n, lim2.min, lim2.max);
00417 }
00418
00419
00420