27 for (
int i = 0;
i < 4;
i++) {
28 sprintf(
histoName,
"h_numberOfFiredHits_%d",
i);
29 sprintf(histoTitle,
"NumberOfFiredHits Plane %d",
i);
33 for (
int i = 0;
i < 4;
i++) {
35 sprintf(histoTitle,
"firedHits Plane %d",
i);
46 for (
int i = 0;
i < 4;
i++)
49 for (
int i = 0;
i < 4;
i++)
61 if (!ecalRawHodoscope.
isValid()) {
64 hodoscopeRawInfo = ecalRawHodoscope.
product();
68 for (
int i = 0;
i < 4;
i++) {
69 std::ostringstream
str;
71 std::vector<int> firedHits;
73 for (
int j = 0;
j < 64;
j++)
74 if ((*hodoscopeRawInfo)[
i][
j]) {
76 firedHits.push_back(
j);
79 LogDebug(
"EcalTBHodoscope") <<
"Looking plane " <<
i <<
" number of hits "
80 << (*hodoscopeRawInfo)[
i].numberOfFiredHits() <<
str.str();