47 if (iConfig.
exists(
"simHits")) {
70 msm_ =
new std::map<std::string, MonitorElement*>();
75 edm::LogInfo(
"OutputInfo") <<
" Hcal Digi Task histograms will NOT be saved";
133 HistLim tp_hl_et(260, -10, 250);
134 HistLim tp_hl_ntp(640, -20, 3180);
135 HistLim tp_hl_ntp_sub(404, -20, 2000);
136 HistLim tp_hl_ieta(85, -42.5, 42.5);
137 HistLim tp_hl_iphi(74, -0.5, 73.5);
139 book1D(
ib,
"HcalDigiTask_tp_et", tp_hl_et);
140 book1D(
ib,
"HcalDigiTask_tp_et_HB", tp_hl_et);
141 book1D(
ib,
"HcalDigiTask_tp_et_HE", tp_hl_et);
142 book1D(
ib,
"HcalDigiTask_tp_et_HF", tp_hl_et);
143 book1D(
ib,
"HcalDigiTask_tp_ntp", tp_hl_ntp);
144 book1D(
ib,
"HcalDigiTask_tp_ntp_HB", tp_hl_ntp_sub);
145 book1D(
ib,
"HcalDigiTask_tp_ntp_HE", tp_hl_ntp_sub);
146 book1D(
ib,
"HcalDigiTask_tp_ntp_HF", tp_hl_ntp_sub);
147 book1D(
ib,
"HcalDigiTask_tp_ntp_ieta", tp_hl_ieta);
148 book1D(
ib,
"HcalDigiTask_tp_ntp_iphi", tp_hl_iphi);
149 book1D(
ib,
"HcalDigiTask_tp_ntp_10_ieta", tp_hl_ieta);
150 book2D(
ib,
"HcalDigiTask_tp_et_ieta", tp_hl_ieta, tp_hl_et);
151 book2D(
ib,
"HcalDigiTask_tp_ieta_iphi", tp_hl_ieta, tp_hl_iphi);
152 bookPf(
ib,
"HcalDigiTask_tp_ave_et_ieta", tp_hl_ieta, tp_hl_et,
" ");
154 book1D(
ib,
"HcalDigiTask_tp_et_v0", tp_hl_et);
155 book1D(
ib,
"HcalDigiTask_tp_et_v1", tp_hl_et);
156 book1D(
ib,
"HcalDigiTask_tp_et_HF_v0", tp_hl_et);
157 book1D(
ib,
"HcalDigiTask_tp_et_HF_v1", tp_hl_et);
158 book1D(
ib,
"HcalDigiTask_tp_ntp_v0", tp_hl_ntp);
159 book1D(
ib,
"HcalDigiTask_tp_ntp_v1", tp_hl_ntp);
160 book1D(
ib,
"HcalDigiTask_tp_ntp_HF_v0", tp_hl_ntp_sub);
161 book1D(
ib,
"HcalDigiTask_tp_ntp_HF_v1", tp_hl_ntp_sub);
162 book1D(
ib,
"HcalDigiTask_tp_ntp_ieta_v0", tp_hl_ieta);
163 book1D(
ib,
"HcalDigiTask_tp_ntp_ieta_v1", tp_hl_ieta);
164 book1D(
ib,
"HcalDigiTask_tp_ntp_iphi_v0", tp_hl_iphi);
165 book1D(
ib,
"HcalDigiTask_tp_ntp_iphi_v1", tp_hl_iphi);
166 book1D(
ib,
"HcalDigiTask_tp_ntp_10_ieta_v0", tp_hl_ieta);
167 book1D(
ib,
"HcalDigiTask_tp_ntp_10_ieta_v1", tp_hl_ieta);
168 book2D(
ib,
"HcalDigiTask_tp_et_ieta_v0", tp_hl_ieta, tp_hl_et);
169 book2D(
ib,
"HcalDigiTask_tp_et_ieta_v1", tp_hl_ieta, tp_hl_et);
170 book2D(
ib,
"HcalDigiTask_tp_ieta_iphi_v0", tp_hl_ieta, tp_hl_iphi);
171 book2D(
ib,
"HcalDigiTask_tp_ieta_iphi_v1", tp_hl_ieta, tp_hl_iphi);
172 bookPf(
ib,
"HcalDigiTask_tp_ave_et_ieta_v0", tp_hl_ieta, tp_hl_et,
" ");
173 bookPf(
ib,
"HcalDigiTask_tp_ave_et_ieta_v1", tp_hl_ieta, tp_hl_et,
" ");
180 HistLim Ndigis(2600, 0., 2600.);
183 HistLim digiAmp(360, -100., 7100.);
184 HistLim digiAmpWide(2410, -3000., 720000.);
186 HistLim sumAmp(100, -500., 1500.);
191 HistLim pedestalfC(400, -10., 30.);
196 HistLim pedWidthLim(100, 0., 2.);
199 HistLim gainWidthLim(160, 0., 0.32);
201 HistLim ietaLim(85, -42.5, 42.5);
202 HistLim iphiLim(74, -0.5, 73.5);
204 HistLim depthLim(15, -0.5, 14.5);
206 if (bsubdet ==
"HB") {
208 }
else if (bsubdet ==
"HE") {
211 }
else if (bsubdet ==
"HF") {
213 pedLim =
HistLim(100, 0., 20.);
214 pedWidthLim =
HistLim(100, 0., 5.);
217 }
else if (bsubdet ==
"HO") {
219 gainLim =
HistLim(160, 0., 1.6);
226 else if (bsubdet ==
"HE")
228 else if (bsubdet ==
"HO")
230 else if (bsubdet ==
"HF")
233 edm::LogWarning(
"HcalDigisValidation") <<
"HcalDigisValidation Warning: not HB/HE/HF/HO " << bsubdet << std::endl;
236 const char* sub = bsubdet.c_str();
239 sprintf(
histo,
"HcalDigiTask_Ndigis_%s", sub);
244 sprintf(
histo,
"HcalDigiTask_ieta_iphi_occupancy_map_depth%d_%s",
depth, sub);
249 sprintf(
histo,
"HcalDigiTask_depths_%s", sub);
254 sprintf(
histo,
"HcalDigiTask_occupancy_vs_ieta_depth%d_%s",
depth, sub);
259 sprintf(
histo,
"HcalDigiTask_sum_all_amplitudes_%s", sub);
265 sprintf(
histo,
"HcalDigiTask_number_of_amplitudes_above_10fC_%s", sub);
269 sprintf(
histo,
"HcalDigiTask_ADC0_adc_depth%d_%s",
depth, sub);
274 sprintf(
histo,
"HcalDigiTask_ADC0_fC_depth%d_%s",
depth, sub);
278 sprintf(
histo,
"HcalDigiTask_signal_amplitude_%s", sub);
284 if (
hep17_ && bsubdet ==
"HE") {
285 sprintf(
histo,
"HcalDigiTask_signal_amplitude_HEP17");
290 sprintf(
histo,
"HcalDigiTask_signal_amplitude_depth%d_%s",
depth, sub);
295 if (
hep17_ && bsubdet ==
"HE") {
296 sprintf(
histo,
"HcalDigiTask_signal_amplitude_depth%d_HEP17",
depth);
301 sprintf(
histo,
"HcalDigiTask_signal_amplitude_vs_bin_all_depths_%s", sub);
306 if (
hep17_ && bsubdet ==
"HE") {
307 sprintf(
histo,
"HcalDigiTask_signal_amplitude_vs_bin_all_depths_HEP17");
312 sprintf(
histo,
"HcalDigiTask_all_amplitudes_vs_bin_1D_depth%d_%s",
depth, sub);
314 if (
hep17_ && bsubdet ==
"HE") {
315 sprintf(
histo,
"HcalDigiTask_all_amplitudes_vs_bin_1D_depth%d_HEP17",
depth);
320 sprintf(
histo,
"HcalDigiTask_SOI_frac_%s", sub);
322 sprintf(
histo,
"HcalDigiTask_postSOI_frac_%s", sub);
326 sprintf(
histo,
"HcalDigiTask_amplitude_vs_simhits_%s", sub);
329 sprintf(
histo,
"HcalDigiTask_amplitude_vs_simhits_depth%d_%s",
depth, sub);
333 sprintf(
histo,
"HcalDigiTask_amplitude_vs_simhits_profile_%s", sub);
336 sprintf(
histo,
"HcalDigiTask_amplitude_vs_simhits_profile_depth%d_%s",
depth, sub);
340 sprintf(
histo,
"HcalDigiTask_ratio_amplitude_vs_simhits_%s", sub);
343 sprintf(
histo,
"HcalDigiTask_ratio_amplitude_vs_simhits_depth%d_%s",
depth, sub);
354 sprintf(
histo,
"HcalDigiTask_gain_capId0_Depth%d_%s",
depth, sub);
356 sprintf(
histo,
"HcalDigiTask_gain_capId1_Depth%d_%s",
depth, sub);
358 sprintf(
histo,
"HcalDigiTask_gain_capId2_Depth%d_%s",
depth, sub);
360 sprintf(
histo,
"HcalDigiTask_gain_capId3_Depth%d_%s",
depth, sub);
363 sprintf(
histo,
"HcalDigiTask_gainWidth_capId0_Depth%d_%s",
depth, sub);
365 sprintf(
histo,
"HcalDigiTask_gainWidth_capId1_Depth%d_%s",
depth, sub);
367 sprintf(
histo,
"HcalDigiTask_gainWidth_capId2_Depth%d_%s",
depth, sub);
369 sprintf(
histo,
"HcalDigiTask_gainWidth_capId3_Depth%d_%s",
depth, sub);
372 sprintf(
histo,
"HcalDigiTask_pedestal_capId0_Depth%d_%s",
depth, sub);
374 sprintf(
histo,
"HcalDigiTask_pedestal_capId1_Depth%d_%s",
depth, sub);
376 sprintf(
histo,
"HcalDigiTask_pedestal_capId2_Depth%d_%s",
depth, sub);
378 sprintf(
histo,
"HcalDigiTask_pedestal_capId3_Depth%d_%s",
depth, sub);
381 sprintf(
histo,
"HcalDigiTask_pedestal_width_capId0_Depth%d_%s",
depth, sub);
383 sprintf(
histo,
"HcalDigiTask_pedestal_width_capId1_Depth%d_%s",
depth, sub);
385 sprintf(
histo,
"HcalDigiTask_pedestal_width_capId2_Depth%d_%s",
depth, sub);
387 sprintf(
histo,
"HcalDigiTask_pedestal_width_capId3_Depth%d_%s",
depth, sub);
393 sprintf(
histo,
"HcalDigiTask_gainMap_Depth%d_%s",
depth, sub);
395 sprintf(
histo,
"HcalDigiTask_pwidthMap_Depth%d_%s",
depth, sub);
483 int c = 0, chb = 0, che = 0, chf = 0, cv0 = 0, cv1 = 0, chfv0 = 0, chfv1 = 0;
515 fill1D(
"HcalDigiTask_tp_et", en);
518 fillPf(
"HcalDigiTask_tp_ave_et_ieta",
ieta, en);
526 fill1D(
"HcalDigiTask_tp_et_v0", en);
527 fill2D(
"HcalDigiTask_tp_et_ieta_v0",
ieta, en);
529 fillPf(
"HcalDigiTask_tp_ave_et_ieta_v0",
ieta, en);
533 fill1D(
"HcalDigiTask_tp_ntp_10_ieta_v0",
ieta);
538 fill1D(
"HcalDigiTask_tp_et_v1", en);
539 fill2D(
"HcalDigiTask_tp_et_ieta_v1",
ieta, en);
541 fillPf(
"HcalDigiTask_tp_ave_et_ieta_v1",
ieta, en);
545 fill1D(
"HcalDigiTask_tp_ntp_10_ieta_v1",
ieta);
550 fill1D(
"HcalDigiTask_tp_et_HB", en);
558 fill1D(
"HcalDigiTask_tp_et_HE", en);
566 fill1D(
"HcalDigiTask_tp_et_HF", en);
570 fill1D(
"HcalDigiTask_tp_et_HF_v0", en);
576 fill1D(
"HcalDigiTask_tp_et_HF_v1", en);
584 fill1D(
"HcalDigiTask_tp_ntp",
c);
585 fill1D(
"HcalDigiTask_tp_ntp_HB", chb);
586 fill1D(
"HcalDigiTask_tp_ntp_HE", che);
587 fill1D(
"HcalDigiTask_tp_ntp_HF", chf);
589 fill1D(
"HcalDigiTask_tp_ntp_v0", cv0);
590 fill1D(
"HcalDigiTask_tp_ntp_v1", cv1);
591 fill1D(
"HcalDigiTask_tp_ntp_HF_v0", chfv0);
592 fill1D(
"HcalDigiTask_tp_ntp_HF_v1", chfv1);
598 template <
class Digi>
637 std::vector<double> v_ampl_c(
maxDepth_[isubdet] + 1, 0);
644 double emax_Sim = -9999.;
652 if (isubdet != 0 &&
noise_ == 0) {
654 for (std::vector<PCaloHit>::const_iterator
simhits = simhitResult->begin();
simhits != simhitResult->end();
656 unsigned int id_ =
simhits->id();
669 if (en > emax_Sim && sub == isubdet) {
674 if (
mode_ ==
"multi" && ((sub == 4 && en < 100. && en > 1.) || ((sub != 4) && en < 1. && en > 0.02))) {
683 if (
mode_ !=
"multi" && emax_Sim > 0.)
693 int depth = cell.depth();
694 int iphi = cell.iphi();
695 int ieta = cell.ieta();
696 int sub = cell.subdet();
700 <<
", iphi: " <<
iphi <<
", ieta: " <<
ieta
701 <<
". Max depth from geometry is: " <<
maxDepth_[isubdet]
707 std::vector<double> v_ampl(
maxDepth_[isubdet] + 1, 0);
710 if (((
nevent1 == 1 && isubdet == 1) || (
nevent2 == 1 && isubdet == 2) || (
nevent3 == 1 && isubdet == 3) ||
711 (
nevent4 == 1 && isubdet == 4)) &&
712 noise_ == 1 && sub == isubdet) {
719 for (
int i = 0;
i < 4;
i++) {
740 if (sub == isubdet &&
noise_ == 0) {
746 coder.
adc2fC(*digiItr, tool);
750 int lastbin = tool.
size() - 1;
752 double noiseADC = (*digiItr)[0].adc();
753 double noisefC = tool[0];
768 if (
ieta == ieta_Sim &&
iphi == iphi_Sim)
772 int capid = (*digiItr)[
ii].capid();
778 strtmp =
"HcalDigiTask_all_amplitudes_vs_bin_1D_depth" +
str(
depth) +
"_" +
subdet_;
783 strtmp =
"HcalDigiTask_signal_amplitude_vs_bin_all_depths_" +
subdet_;
788 if (
ii >= soi &&
ii <= lastbin) {
802 strtmp =
"HcalDigiTask_sum_all_amplitudes_" +
subdet_;
803 fill1D(strtmp, v_ampl[0]);
805 std::vector<int> v_ampl_sub(v_ampl.begin() + 1, v_ampl.end());
806 double ampl_max = *std::max_element(v_ampl_sub.begin(), v_ampl_sub.end());
812 if (v_ampl[
depth] > 30.) {
813 double fbinSOI = tool[soi] -
calibrations.pedestal((*digiItr)[soi].capid());
816 for (
int j = soi + 1;
j <= lastbin;
j++)
819 fbinSOI /= v_ampl[
depth];
820 fbinPS /= v_ampl[
depth];
821 strtmp =
"HcalDigiTask_SOI_frac_" +
subdet_;
823 strtmp =
"HcalDigiTask_postSOI_frac_" +
subdet_;
827 strtmp =
"HcalDigiTask_signal_amplitude_" +
subdet_;
828 fill1D(strtmp, v_ampl[0]);
829 strtmp =
"HcalDigiTask_signal_amplitude_depth" +
str(
depth) +
"_" +
subdet_;
834 if (isubdet != 0 &&
noise_ == 0) {
835 strtmp =
"HcalDigiTask_number_of_amplitudes_above_10fC_" +
subdet_;
840 std::vector<double> v_ehits(
maxDepth_[isubdet] + 1, 0);
846 for (std::vector<PCaloHit>::const_iterator
simhits = simhitResult->begin();
simhits != simhitResult->end();
848 unsigned int id_ =
simhits->id();
861 edm::LogWarning(
"HcalDetId") <<
"HcalDetID(SimHit) presents conflicting information. Depth: " <<
depth
862 <<
", iphi: " <<
iphi <<
", ieta: " <<
ieta
863 <<
". Max depth from geometry is: " <<
maxDepth_[isubdet]
869 if (sub == isubdet &&
ieta == ieta_Sim &&
iphi == iphi_Sim) {
873 v_ehits[
depth] += en;
877 strtmp =
"HcalDigiTask_amplitude_vs_simhits_" +
subdet_;
878 if (v_ehits[0] > eps)
879 fill2D(strtmp, v_ehits[0], v_ampl_c[0]);
881 strtmp =
"HcalDigiTask_amplitude_vs_simhits_depth" +
str(
depth) +
"_" +
subdet_;
882 if (v_ehits[
depth] > eps)
886 strtmp =
"HcalDigiTask_amplitude_vs_simhits_profile_" +
subdet_;
887 if (v_ehits[0] > eps)
888 fillPf(strtmp, v_ehits[0], v_ampl_c[0]);
890 strtmp =
"HcalDigiTask_amplitude_vs_simhits_profile_depth" +
str(
depth) +
"_" +
subdet_;
891 if (v_ehits[
depth] > eps)
895 strtmp =
"HcalDigiTask_ratio_amplitude_vs_simhits_" +
subdet_;
896 if (v_ehits[0] > eps)
897 fill1D(strtmp, v_ampl_c[0] / v_ehits[0]);
899 strtmp =
"HcalDigiTask_amplitude_vs_simhits_profile_depth" +
str(
depth) +
"_" +
subdet_;
900 if (v_ehits[
depth] > eps)
902 strtmp =
"HcalDigiTask_ratio_amplitude_vs_simhits_depth" +
str(
depth) +
"_" +
subdet_;
903 if (v_ehits[
depth] > eps)
909 strtmp =
"HcalDigiTask_Ndigis_" +
subdet_;
910 fill1D(strtmp,
double(Ndig));
914 template <
class dataFrameType>
929 iEvent.getByToken(tok, digiHandle);
954 std::vector<double> v_ampl_c(
maxDepth_[isubdet] + 1, 0);
961 double emax_Sim = -9999.;
969 if (isubdet != 0 &&
noise_ == 0) {
971 for (std::vector<PCaloHit>::const_iterator
simhits = simhitResult->begin();
simhits != simhitResult->end();
973 unsigned int id_ =
simhits->id();
986 if (en > emax_Sim && sub == isubdet) {
991 if (
mode_ ==
"multi" && ((sub == 4 && en < 100. && en > 1.) || ((sub != 4) && en < 1. && en > 0.02))) {
1000 if (
mode_ !=
"multi" && emax_Sim > 0.)
1011 dataFrameType dataFrame = *digiItr;
1014 int depth = cell.depth();
1015 int iphi = cell.iphi();
1016 int ieta = cell.ieta();
1017 int sub = cell.subdet();
1020 bool isHEP17 = (
iphi >= 63) && (
iphi <= 66) && (
ieta > 0) && (sub == 2);
1024 <<
", iphi: " <<
iphi <<
", ieta: " <<
ieta
1025 <<
". Max depth from geometry is: " <<
maxDepth_[isubdet]
1031 std::vector<double> v_ampl(
maxDepth_[isubdet] + 1, 0);
1034 if (((
nevent1 == 1 && isubdet == 1) || (
nevent2 == 1 && isubdet == 2) || (
nevent3 == 1 && isubdet == 3) ||
1035 (
nevent4 == 1 && isubdet == 4)) &&
1036 noise_ == 1 && sub == isubdet) {
1043 for (
int i = 0;
i < 4;
i++) {
1065 if (sub == isubdet &&
noise_ == 0) {
1071 coder.
adc2fC(dataFrame, tool);
1075 int lastbin = tool.
size() - 1;
1077 double noiseADC = (dataFrame)[0].
adc();
1078 double noisefC = tool[0];
1093 if (
ieta == ieta_Sim &&
iphi == iphi_Sim)
1094 closen = seedSimHit;
1097 int capid = (dataFrame)[
ii].capid();
1105 strtmp =
"HcalDigiTask_all_amplitudes_vs_bin_1D_depth" +
str(
depth) +
"_" +
subdet_;
1108 strtmp =
"HcalDigiTask_all_amplitudes_vs_bin_1D_depth" +
str(
depth) +
"_HEP17";
1112 strtmp =
"HcalDigiTask_all_amplitudes_vs_bin_1D_depth" +
str(
depth) +
"_" +
subdet_;
1120 strtmp =
"HcalDigiTask_signal_amplitude_vs_bin_all_depths_" +
subdet_;
1123 strtmp =
"HcalDigiTask_signal_amplitude_vs_bin_all_depths_HEP17";
1127 strtmp =
"HcalDigiTask_signal_amplitude_vs_bin_all_depths_" +
subdet_;
1133 if (
ii >= soi &&
ii <= lastbin) {
1146 strtmp =
"HcalDigiTask_sum_all_amplitudes_" +
subdet_;
1147 fill1D(strtmp, v_ampl[0]);
1149 std::vector<int> v_ampl_sub(v_ampl.begin() + 1, v_ampl.end());
1150 double ampl_max = *std::max_element(v_ampl_sub.begin(), v_ampl_sub.end());
1158 (v_ampl[
depth] > 300.)) {
1159 double fbinSOI = tool[soi] -
calibrations.pedestal((dataFrame)[soi].capid());
1162 for (
int j = soi + 1;
j <= lastbin;
j++)
1163 fbinPS += tool[
j] -
calibrations.pedestal((dataFrame)[
j].capid());
1165 fbinSOI /= v_ampl[
depth];
1166 fbinPS /= v_ampl[
depth];
1167 strtmp =
"HcalDigiTask_SOI_frac_" +
subdet_;
1169 strtmp =
"HcalDigiTask_postSOI_frac_" +
subdet_;
1175 strtmp =
"HcalDigiTask_signal_amplitude_" +
subdet_;
1176 fill1D(strtmp, v_ampl[0]);
1177 strtmp =
"HcalDigiTask_signal_amplitude_depth" +
str(
depth) +
"_" +
subdet_;
1180 strtmp =
"HcalDigiTask_signal_amplitude_HEP17";
1181 fill1D(strtmp, v_ampl[0]);
1182 strtmp =
"HcalDigiTask_signal_amplitude_depth" +
str(
depth) +
"_HEP17";
1186 strtmp =
"HcalDigiTask_signal_amplitude_" +
subdet_;
1187 fill1D(strtmp, v_ampl[0]);
1188 strtmp =
"HcalDigiTask_signal_amplitude_depth" +
str(
depth) +
"_" +
subdet_;
1194 if (isubdet != 0 &&
noise_ == 0) {
1195 strtmp =
"HcalDigiTask_number_of_amplitudes_above_10fC_" +
subdet_;
1200 std::vector<double> v_ehits(
maxDepth_[isubdet] + 1, 0);
1206 for (std::vector<PCaloHit>::const_iterator
simhits = simhitResult->begin();
simhits != simhitResult->end();
1208 unsigned int id_ =
simhits->id();
1221 edm::LogWarning(
"HcalDetId") <<
"HcalDetID(SimHit) presents conflicting information. Depth: " <<
depth
1222 <<
", iphi: " <<
iphi <<
", ieta: " <<
ieta
1223 <<
". Max depth from geometry is: " <<
maxDepth_[isubdet]
1229 if (sub == isubdet &&
ieta == ieta_Sim &&
iphi == iphi_Sim) {
1230 double en =
simhits->energy();
1233 v_ehits[
depth] += en;
1237 strtmp =
"HcalDigiTask_amplitude_vs_simhits_" +
subdet_;
1238 if (v_ehits[0] > eps)
1239 fill2D(strtmp, v_ehits[0], v_ampl_c[0]);
1241 strtmp =
"HcalDigiTask_amplitude_vs_simhits_depth" +
str(
depth) +
"_" +
subdet_;
1242 if (v_ehits[
depth] > eps)
1246 strtmp =
"HcalDigiTask_amplitude_vs_simhits_profile_" +
subdet_;
1247 if (v_ehits[0] > eps)
1248 fillPf(strtmp, v_ehits[0], v_ampl_c[0]);
1250 strtmp =
"HcalDigiTask_amplitude_vs_simhits_profile_depth" +
str(
depth) +
"_" +
subdet_;
1251 if (v_ehits[
depth] > eps)
1255 strtmp =
"HcalDigiTask_ratio_amplitude_vs_simhits_" +
subdet_;
1256 if (v_ehits[0] > eps)
1257 fill1D(strtmp, v_ampl_c[0] / v_ehits[0]);
1259 strtmp =
"HcalDigiTask_amplitude_vs_simhits_profile_depth" +
str(
depth) +
"_" +
subdet_;
1260 if (v_ehits[
depth] > eps)
1262 strtmp =
"HcalDigiTask_ratio_amplitude_vs_simhits_depth" +
str(
depth) +
"_" +
subdet_;
1263 if (v_ehits[
depth] > eps)
1269 strtmp =
"HcalDigiTask_Ndigis_" +
subdet_;
1270 fill1D(strtmp,
double(Ndig));
1321 std::stringstream
out;