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";
79 ss <<
"TCC" << inner.second <<
" TT1";
82 ss <<
"TCC" << outer.first <<
" TT1";
85 ss <<
"TCC" << outer.second <<
" TT1";
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++)
299 int nbinsY(me->
getTH1()->GetNbinsY());
300 for (
int iY(1); iY <= nbinsY; iY++)
319 int nbinsY(me->
getTH1()->GetNbinsY());
320 for (
int iY(1); iY <= nbinsY; iY++)
389 int nbinsX(me->
getTH1()->GetNbinsX());
390 int nbinsY(me->
getTH1()->GetNbinsY());
391 for (
int iY(1); iY <= nbinsY; iY++)
412 int nbinsX(me->
getTH1()->GetNbinsX());
413 int nbinsY(me->
getTH1()->GetNbinsY());
414 for (
int iY(1); iY <= nbinsY; iY++)
435 int nbinsX(me->
getTH1()->GetNbinsX());
436 int nbinsY(me->
getTH1()->GetNbinsY());
437 for (
int iY(1); iY <= nbinsY; iY++)
456 int nbinsX(me->
getTH1()->GetNbinsX());
473 int nbinsX(me->
getTH1()->GetNbinsX());
490 int nbinsX(me->
getTH1()->GetNbinsX());
505 int nbinsX(me->
getTH1()->GetNbinsX());
521 int nbinsX(me->
getTH1()->GetNbinsX());
537 int nbinsX(me->
getTH1()->GetNbinsX());
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());
621 int nbinsX(me->
getTH1()->GetNbinsX());
639 int nbinsX(me->
getTH1()->GetNbinsX());
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++) {
747 int bin(is2D ? (nbinsX + 2) * iy + ix : ix);
MonitorElement::Kind kind_
void setBinContent(int binx, double content)
set content of bin (1-D)
void reset(double=0., double=0., double=0.) override
virtual void checkME_(unsigned _iME) const
Ecal readout channel identification [32:20] Unused (so far) [19:13] DCC id [12:6] tower [5:3] strip [...
double getBinContent(DetId const &, int=0) const override
unsigned getNObjects(ObjectType)
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
int findBin(DetId const &) const
std::pair< unsigned, unsigned > outerTCCs(unsigned)
ObjectType getObject(ObjectType, unsigned)
MESet * clone(std::string const &="") const override
void setBinContent(DetId const &, double) override
double getBinError(DetId const &, int=0) const override
void throw_(std::string const &_message) const
bool is2D(HitType hitType)
void setBinError(DetId const &, double) override
void setBinError(int binx, double error)
set uncertainty on content of bin (1-D)
MESetDet1D(std::string const &, binning::ObjectType, binning::BinningType, MonitorElement::Kind, binning::AxisSpecs const *=0)
int findBin1D(ObjectType, BinningType, DetId const &)
std::string channelName(uint32_t, BinningType _btype=kDCC)
virtual void fill_(unsigned, int, double)
bin
set the eta bin as selection string.
unsigned findPlotIndex(ObjectType, DetId const &)
double getBinError(int binx) const
get uncertainty on content of bin (1-D) - See TH1::GetBinError for details
double getBinContent(int binx) const
get content of bin (1-D)
void book(DQMStore::IBooker &) override
double getBinEntries(int bin) const
get # of bin entries (for profiles)
std::pair< unsigned, unsigned > innerTCCs(unsigned)
binning::ObjectType otype_
void fill(DetId const &, double=1., double=1., double=0.) override
int getNbinsX() const
get # of bins in X-axis
binning::BinningType btype_
void setBinEntries(int bin, double nentries)
set # of bin entries (to be used for profiles)
double getBinEntries(DetId const &, int=0) const override
void setBinEntries(DetId const &, double) override
std::vector< MonitorElement * > mes_
void book(DQMStore::IBooker &) override