18 throw_(
"Unsupported MonitorElement kind");
35 if(_path !=
"")
path_ = _path;
47 for(
unsigned iME(0); iME <
mes_.size(); iME++){
52 for(
int iBin(1); iBin <= me->
getNbinsX(); iBin++)
56 for(
int iBin(1); iBin <= me->
getNbinsX() / 2; iBin++){
62 for(
int iBin(1); iBin <= me->
getNbinsX(); iBin++)
66 for(
int iBin(1); iBin <= me->
getNbinsX(); iBin++)
72 for(
unsigned iME(0); iME <
mes_.size(); iME++){
84 ss <<
"TCC" << inner.first <<
" TT1";
87 ss <<
"TCC" << inner.second <<
" TT1";
90 ss <<
"TCC" << outer.first <<
" TT1";
93 ss <<
"TCC" << outer.second <<
" TT1";
126 fill_(iME, xbin, _wy, _w);
128 fill_(iME, xbin, _wy);
143 fill_(iME, xbin, _wy, _w);
145 fill_(iME, xbin, _wy);
160 fill_(iME, xbin, _wy, _w);
162 fill_(iME, xbin, _wy);
179 int nbinsY(me->
getTH1()->GetNbinsY());
180 for(
int iY(1); iY <= nbinsY; iY++)
201 int nbinsY(me->
getTH1()->GetNbinsY());
202 for(
int iY(1); iY <= nbinsY; iY++)
223 int nbinsY(me->
getTH1()->GetNbinsY());
224 for(
int iY(1); iY <= nbinsY; iY++)
293 int nbinsY(me->
getTH1()->GetNbinsY());
294 for(
int iY(1); iY <= nbinsY; iY++)
315 int nbinsY(me->
getTH1()->GetNbinsY());
316 for(
int iY(1); iY <= nbinsY; iY++)
337 int nbinsY(me->
getTH1()->GetNbinsY());
338 for(
int iY(1); iY <= nbinsY; iY++)
408 int nbinsX(me->
getTH1()->GetNbinsX());
409 int nbinsY(me->
getTH1()->GetNbinsY());
410 for(
int iY(1); iY <= nbinsY; iY++)
432 int nbinsX(me->
getTH1()->GetNbinsX());
433 int nbinsY(me->
getTH1()->GetNbinsY());
434 for(
int iY(1); iY <= nbinsY; iY++)
456 int nbinsX(me->
getTH1()->GetNbinsX());
457 int nbinsY(me->
getTH1()->GetNbinsY());
458 for(
int iY(1); iY <= nbinsY; iY++)
478 int nbinsX(me->
getTH1()->GetNbinsX());
495 int nbinsX(me->
getTH1()->GetNbinsX());
512 int nbinsX(me->
getTH1()->GetNbinsX());
528 int nbinsX(me->
getTH1()->GetNbinsX());
545 int nbinsX(me->
getTH1()->GetNbinsX());
562 int nbinsX(me->
getTH1()->GetNbinsX());
579 int nbinsX(me->
getTH1()->GetNbinsX());
581 return me->
getBinError((nbinsX + 2) * _ybin + xbin);
596 int nbinsX(me->
getTH1()->GetNbinsX());
598 return me->
getBinError((nbinsX + 2) * _ybin + xbin);
613 int nbinsX(me->
getTH1()->GetNbinsX());
615 return me->
getBinError((nbinsX + 2) * _ybin + xbin);
631 int nbinsX(me->
getTH1()->GetNbinsX());
649 int nbinsX(me->
getTH1()->GetNbinsX());
667 int nbinsX(me->
getTH1()->GetNbinsX());
724 int nbinsX(me->
getTH1()->GetNbinsX());
725 return xbin + (nbinsX + 2) * me->
getTH1()->GetYaxis()->FindBin(_y);
741 int nbinsX(me->
getTH1()->GetNbinsX());
742 return xbin + (nbinsX + 2) * me->
getTH1()->GetYaxis()->FindBin(_y);
758 int nbinsX(me->
getTH1()->GetNbinsX());
759 return xbin + (nbinsX + 2) * me->
getTH1()->GetYaxis()->FindBin(_y);
770 for(
unsigned iME(0); iME < nME; iME++) {
773 int nbinsX(me->
getTH1()->GetNbinsX());
774 int nbinsY(me->
getTH1()->GetNbinsY());
775 for(
int ix(1); ix <= nbinsX; ix++){
776 for(
int iy(1); iy <= nbinsY; iy++){
777 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
std::vector< MonitorElement * > mes_
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)
int getNbinsX(void) const
get # of bins in X-axis
std::pair< unsigned, unsigned > innerTCCs(unsigned)
binning::ObjectType otype_
void fill(DetId const &, double=1., double=1., double=0.) override
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
void book(DQMStore::IBooker &) override