9 MESetEcal(_fullPath, _otype, _btype, _kind, 1, 0, _yaxis, 0)
18 throw_(
"Unsupported MonitorElement kind");
35 if(_path !=
"")
path_ = _path;
65 fill_(iME, xbin, _wy, _w);
67 fill_(iME, xbin, _wy);
82 fill_(iME, xbin, _wy, _w);
84 fill_(iME, xbin, _wy);
99 fill_(iME, xbin, _wy, _w);
101 fill_(iME, xbin, _wy);
118 int nbinsY(me->
getTH1()->GetNbinsY());
119 for(
int iY(1); iY <= nbinsY; iY++)
140 int nbinsY(me->
getTH1()->GetNbinsY());
141 for(
int iY(1); iY <= nbinsY; iY++)
162 int nbinsY(me->
getTH1()->GetNbinsY());
163 for(
int iY(1); iY <= nbinsY; iY++)
232 int nbinsY(me->
getTH1()->GetNbinsY());
233 for(
int iY(1); iY <= nbinsY; iY++)
254 int nbinsY(me->
getTH1()->GetNbinsY());
255 for(
int iY(1); iY <= nbinsY; iY++)
276 int nbinsY(me->
getTH1()->GetNbinsY());
277 for(
int iY(1); iY <= nbinsY; iY++)
347 int nbinsX(me->
getTH1()->GetNbinsX());
348 int nbinsY(me->
getTH1()->GetNbinsY());
349 for(
int iY(1); iY <= nbinsY; iY++)
371 int nbinsX(me->
getTH1()->GetNbinsX());
372 int nbinsY(me->
getTH1()->GetNbinsY());
373 for(
int iY(1); iY <= nbinsY; iY++)
395 int nbinsX(me->
getTH1()->GetNbinsX());
396 int nbinsY(me->
getTH1()->GetNbinsY());
397 for(
int iY(1); iY <= nbinsY; iY++)
417 int nbinsX(me->
getTH1()->GetNbinsX());
434 int nbinsX(me->
getTH1()->GetNbinsX());
451 int nbinsX(me->
getTH1()->GetNbinsX());
467 int nbinsX(me->
getTH1()->GetNbinsX());
484 int nbinsX(me->
getTH1()->GetNbinsX());
501 int nbinsX(me->
getTH1()->GetNbinsX());
518 int nbinsX(me->
getTH1()->GetNbinsX());
520 return me->
getBinError((nbinsX + 2) * _ybin + xbin);
535 int nbinsX(me->
getTH1()->GetNbinsX());
537 return me->
getBinError((nbinsX + 2) * _ybin + xbin);
552 int nbinsX(me->
getTH1()->GetNbinsX());
554 return me->
getBinError((nbinsX + 2) * _ybin + xbin);
570 int nbinsX(me->
getTH1()->GetNbinsX());
588 int nbinsX(me->
getTH1()->GetNbinsX());
606 int nbinsX(me->
getTH1()->GetNbinsX());
663 int nbinsX(me->
getTH1()->GetNbinsX());
664 return xbin + (nbinsX + 2) * me->
getTH1()->GetYaxis()->FindBin(_y);
680 int nbinsX(me->
getTH1()->GetNbinsX());
681 return xbin + (nbinsX + 2) * me->
getTH1()->GetYaxis()->FindBin(_y);
697 int nbinsX(me->
getTH1()->GetNbinsX());
698 return xbin + (nbinsX + 2) * me->
getTH1()->GetYaxis()->FindBin(_y);
709 for(
unsigned iME(0); iME < nME; iME++) {
712 int nbinsX(me->
getTH1()->GetNbinsX());
713 int nbinsY(me->
getTH1()->GetNbinsY());
714 for(
int ix(1); ix <= nbinsX; ix++){
715 for(
int iy(1); iy <= nbinsY; iy++){
716 int bin(is2D ? (nbinsX + 2) * iy + ix : ix);
725 template<
class Bookable>
732 for(
unsigned iME(0); iME <
mes_.size(); iME++){
737 for(
int iBin(1); iBin <= me->
getNbinsX(); iBin++)
741 for(
int iBin(1); iBin <= me->
getNbinsX() / 2; iBin++){
747 for(
int iBin(1); iBin <= me->
getNbinsX(); iBin++)
751 for(
int iBin(1); iBin <= me->
getNbinsX(); iBin++)
757 for(
unsigned iME(0); iME <
mes_.size(); iME++){
766 std::stringstream
ss;
769 ss <<
"TCC" << inner.first <<
" TT1";
772 ss <<
"TCC" << inner.second <<
" TT1";
775 ss <<
"TCC" << outer.first <<
" TT1";
778 ss <<
"TCC" << outer.second <<
" TT1";
781 for(
int iBin(4); iBin <= 80; iBin += 4){
782 if(iBin == 28) offset = 24;
783 else if(iBin == 52) offset = 48;
784 else if(iBin == 68) offset = 64;
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
double getBinEntries(DetId const &, int=0) const override
Ecal readout channel identification [32:20] Unused (so far) [19:13] DCC id [12:6] tower [5:3] strip [...
unsigned getNObjects(ObjectType)
void book(DQMStore &) override
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)
double getBinError(DetId const &, int=0) const override
void setBinContent(DetId const &, double) override
std::vector< MonitorElement * > mes_
tuple path
else: Piece not in the list, fine.
void throw_(std::string const &_message) const
void setBinError(DetId const &, double) override
MESet * clone(std::string const &="") const override
double getBinContent(DetId const &, int=0) const override
void setBinError(int binx, double error)
set uncertainty on content of bin (1-D)
unsigned int offset(bool)
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)
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)
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 book(DQMStore &) override
void setBinEntries(int bin, double nentries)
set # of bin entries (to be used for profiles)
void setBinEntries(DetId const &, double) override