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());
121 fill_(iME, xbin, _wy, _w);
123 fill_(iME, xbin, _wy);
137 fill_(iME, xbin, _wy, _w);
139 fill_(iME, xbin, _wy);
153 fill_(iME, xbin, _wy, _w);
155 fill_(iME, xbin, _wy);
171 int nbinsY(
me->getTH1()->GetNbinsY());
172 for (
int iY(1); iY <=
nbinsY; iY++)
191 int nbinsY(
me->getTH1()->GetNbinsY());
192 for (
int iY(1); iY <=
nbinsY; iY++)
211 int nbinsY(
me->getTH1()->GetNbinsY());
212 for (
int iY(1); iY <=
nbinsY; iY++)
279 int nbinsY(
me->getTH1()->GetNbinsY());
280 for (
int iY(1); iY <=
nbinsY; iY++)
281 me->setBinError(xbin, iY, _error);
283 me->setBinError(xbin, _error);
299 int nbinsY(
me->getTH1()->GetNbinsY());
300 for (
int iY(1); iY <=
nbinsY; iY++)
301 me->setBinError(xbin, iY, _error);
303 me->setBinError(xbin, _error);
319 int nbinsY(
me->getTH1()->GetNbinsY());
320 for (
int iY(1); iY <=
nbinsY; iY++)
321 me->setBinError(xbin, iY, _error);
323 me->setBinError(xbin, _error);
339 me->setBinError(xbin, _ybin, _error);
355 me->setBinError(xbin, _ybin, _error);
371 me->setBinError(xbin, _ybin, _error);
389 int nbinsX(
me->getTH1()->GetNbinsX());
390 int nbinsY(
me->getTH1()->GetNbinsY());
391 for (
int iY(1); iY <=
nbinsY; iY++)
392 me->setBinEntries((
nbinsX + 2) * iY + xbin, _entries);
394 me->setBinEntries(xbin, _entries);
412 int nbinsX(
me->getTH1()->GetNbinsX());
413 int nbinsY(
me->getTH1()->GetNbinsY());
414 for (
int iY(1); iY <=
nbinsY; iY++)
415 me->setBinEntries((
nbinsX + 2) * iY + xbin, _entries);
417 me->setBinEntries(xbin, _entries);
435 int nbinsX(
me->getTH1()->GetNbinsX());
436 int nbinsY(
me->getTH1()->GetNbinsY());
437 for (
int iY(1); iY <=
nbinsY; iY++)
438 me->setBinEntries((
nbinsX + 2) * iY + xbin, _entries);
440 me->setBinEntries(xbin, _entries);
456 int nbinsX(
me->getTH1()->GetNbinsX());
457 me->setBinEntries((
nbinsX + 2) * _ybin + xbin, _entries);
473 int nbinsX(
me->getTH1()->GetNbinsX());
474 me->setBinEntries((
nbinsX + 2) * _ybin + xbin, _entries);
490 int nbinsX(
me->getTH1()->GetNbinsX());
491 me->setBinEntries((
nbinsX + 2) * _ybin + xbin, _entries);
505 int nbinsX(
me->getTH1()->GetNbinsX());
507 return me->getBinContent((
nbinsX + 2) * _ybin + xbin);
521 int nbinsX(
me->getTH1()->GetNbinsX());
523 return me->getBinContent((
nbinsX + 2) * _ybin + xbin);
537 int nbinsX(
me->getTH1()->GetNbinsX());
539 return me->getBinContent((
nbinsX + 2) * _ybin + xbin);
553 int nbinsX(
me->getTH1()->GetNbinsX());
555 return me->getBinError((
nbinsX + 2) * _ybin + xbin);
569 int nbinsX(
me->getTH1()->GetNbinsX());
571 return me->getBinError((
nbinsX + 2) * _ybin + xbin);
585 int nbinsX(
me->getTH1()->GetNbinsX());
587 return me->getBinError((
nbinsX + 2) * _ybin + xbin);
603 int nbinsX(
me->getTH1()->GetNbinsX());
605 return me->getBinEntries((
nbinsX + 2) * _ybin + xbin);
621 int nbinsX(
me->getTH1()->GetNbinsX());
623 return me->getBinEntries((
nbinsX + 2) * _ybin + xbin);
639 int nbinsX(
me->getTH1()->GetNbinsX());
641 return me->getBinEntries((
nbinsX + 2) * _ybin + xbin);
696 int nbinsX(
me->getTH1()->GetNbinsX());
697 return xbin + (
nbinsX + 2) *
me->getTH1()->GetYaxis()->FindBin(_y);
713 int nbinsX(
me->getTH1()->GetNbinsX());
714 return xbin + (
nbinsX + 2) *
me->getTH1()->GetYaxis()->FindBin(_y);
730 int nbinsX(
me->getTH1()->GetNbinsX());
731 return xbin + (
nbinsX + 2) *
me->getTH1()->GetYaxis()->FindBin(_y);
740 for (
unsigned iME(0); iME < nME; iME++) {
743 int nbinsX(
me->getTH1()->GetNbinsX());
744 int nbinsY(
me->getTH1()->GetNbinsY());
745 for (
int ix(1); ix <=
nbinsX; ix++) {
746 for (
int iy(1); iy <=
nbinsY; iy++) {
749 me->setBinError(
bin, _err);
751 me->setBinEntries(
bin, _entries);