12 :
MESetEcal(_fullPath, _otype, _btype, _kind, 1, nullptr, _yaxis, nullptr) {
20 throw_(
"Unsupported MonitorElement kind");
41 for (
unsigned iME(0); iME <
mes_.size(); iME++) {
46 for (
int iBin(1); iBin <=
me->getNbinsX(); iBin++)
49 for (
int iBin(1); iBin <=
me->getNbinsX() / 2; iBin++) {
54 for (
int iBin(1); iBin <=
me->getNbinsX(); iBin++)
57 for (
int iBin(1); iBin <=
me->getNbinsX(); iBin++)
62 for (
unsigned iME(0); iME <
mes_.size(); iME++) {
70 dccid = iME <=
kEEmHigh ? iME + 1 : iME + 37;
76 ss <<
"TCC" <<
inner.first <<
" TT1";
77 me->setBinLabel(1,
ss.str());
79 ss <<
"TCC" <<
inner.second <<
" TT1";
82 ss <<
"TCC" <<
outer.first <<
" TT1";
85 ss <<
"TCC" <<
outer.second <<
" TT1";
103 me->setBinLabel(iBin,
ss.str());
122 fill_(iME, xbin, _wy, _w);
124 fill_(iME, xbin, _wy);
139 fill_(iME, xbin, _wy, _w);
141 fill_(iME, xbin, _wy);
156 fill_(iME, xbin, _wy, _w);
158 fill_(iME, xbin, _wy);
174 int nbinsY(
me->getTH1()->GetNbinsY());
175 for (
int iY(1); iY <=
nbinsY; iY++)
194 int nbinsY(
me->getTH1()->GetNbinsY());
195 for (
int iY(1); iY <=
nbinsY; iY++)
214 int nbinsY(
me->getTH1()->GetNbinsY());
215 for (
int iY(1); iY <=
nbinsY; iY++)
285 int nbinsY(
me->getTH1()->GetNbinsY());
286 for (
int iY(1); iY <=
nbinsY; iY++)
287 me->setBinError(xbin, iY, _error);
289 me->setBinError(xbin, _error);
305 int nbinsY(
me->getTH1()->GetNbinsY());
306 for (
int iY(1); iY <=
nbinsY; iY++)
307 me->setBinError(xbin, iY, _error);
309 me->setBinError(xbin, _error);
325 int nbinsY(
me->getTH1()->GetNbinsY());
326 for (
int iY(1); iY <=
nbinsY; iY++)
327 me->setBinError(xbin, iY, _error);
329 me->setBinError(xbin, _error);
345 me->setBinError(xbin, _ybin, _error);
361 me->setBinError(xbin, _ybin, _error);
377 me->setBinError(xbin, _ybin, _error);
395 int nbinsX(
me->getTH1()->GetNbinsX());
396 int nbinsY(
me->getTH1()->GetNbinsY());
397 for (
int iY(1); iY <=
nbinsY; iY++)
398 me->setBinEntries((
nbinsX + 2) * iY + xbin, _entries);
400 me->setBinEntries(xbin, _entries);
418 int nbinsX(
me->getTH1()->GetNbinsX());
419 int nbinsY(
me->getTH1()->GetNbinsY());
420 for (
int iY(1); iY <=
nbinsY; iY++)
421 me->setBinEntries((
nbinsX + 2) * iY + xbin, _entries);
423 me->setBinEntries(xbin, _entries);
441 int nbinsX(
me->getTH1()->GetNbinsX());
442 int nbinsY(
me->getTH1()->GetNbinsY());
443 for (
int iY(1); iY <=
nbinsY; iY++)
444 me->setBinEntries((
nbinsX + 2) * iY + xbin, _entries);
446 me->setBinEntries(xbin, _entries);
462 int nbinsX(
me->getTH1()->GetNbinsX());
463 me->setBinEntries((
nbinsX + 2) * _ybin + xbin, _entries);
482 int nbinsX(
me->getTH1()->GetNbinsX());
483 me->setBinEntries((
nbinsX + 2) * _ybin + xbin, _entries);
499 int nbinsX(
me->getTH1()->GetNbinsX());
500 me->setBinEntries((
nbinsX + 2) * _ybin + xbin, _entries);
514 int nbinsX(
me->getTH1()->GetNbinsX());
516 return me->getBinContent((
nbinsX + 2) * _ybin + xbin);
532 int nbinsX(
me->getTH1()->GetNbinsX());
534 return me->getBinContent((
nbinsX + 2) * _ybin + xbin);
548 int nbinsX(
me->getTH1()->GetNbinsX());
550 return me->getBinContent((
nbinsX + 2) * _ybin + xbin);
564 int nbinsX(
me->getTH1()->GetNbinsX());
566 return me->getBinError((
nbinsX + 2) * _ybin + xbin);
582 int nbinsX(
me->getTH1()->GetNbinsX());
584 return me->getBinError((
nbinsX + 2) * _ybin + xbin);
598 int nbinsX(
me->getTH1()->GetNbinsX());
600 return me->getBinError((
nbinsX + 2) * _ybin + xbin);
616 int nbinsX(
me->getTH1()->GetNbinsX());
618 return me->getBinEntries((
nbinsX + 2) * _ybin + xbin);
636 int nbinsX(
me->getTH1()->GetNbinsX());
638 return me->getBinEntries((
nbinsX + 2) * _ybin + xbin);
654 int nbinsX(
me->getTH1()->GetNbinsX());
656 return me->getBinEntries((
nbinsX + 2) * _ybin + xbin);
711 int nbinsX(
me->getTH1()->GetNbinsX());
712 return xbin + (
nbinsX + 2) *
me->getTH1()->GetYaxis()->FindBin(_y);
728 int nbinsX(
me->getTH1()->GetNbinsX());
729 return xbin + (
nbinsX + 2) *
me->getTH1()->GetYaxis()->FindBin(_y);
745 int nbinsX(
me->getTH1()->GetNbinsX());
746 return xbin + (
nbinsX + 2) *
me->getTH1()->GetYaxis()->FindBin(_y);
758 for (
unsigned iME(0); iME < nME; iME++) {
761 int nbinsX(
me->getTH1()->GetNbinsX());
762 int nbinsY(
me->getTH1()->GetNbinsY());
763 for (
int ix(1); ix <=
nbinsX; ix++) {
764 for (
int iy(1); iy <=
nbinsY; iy++) {
767 me->setBinError(
bin, _err);
769 me->setBinEntries(
bin, _entries);