9 MESetEcal(_fullPath, _otype, _btype, _kind, 1, 0, _yaxis, 0)
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";
96 for(
int iBin(4); iBin <= 80; iBin += 4){
97 if(iBin == 28) offset = 24;
98 else if(iBin == 52) offset = 48;
99 else if(iBin == 68) offset = 64;
121 fill_(iME, xbin, _wy, _w);
123 fill_(iME, xbin, _wy);
138 fill_(iME, xbin, _wy, _w);
140 fill_(iME, xbin, _wy);
155 fill_(iME, xbin, _wy, _w);
157 fill_(iME, xbin, _wy);
174 int nbinsY(me->
getTH1()->GetNbinsY());
175 for(
int iY(1); iY <= nbinsY; iY++)
196 int nbinsY(me->
getTH1()->GetNbinsY());
197 for(
int iY(1); iY <= nbinsY; iY++)
218 int nbinsY(me->
getTH1()->GetNbinsY());
219 for(
int iY(1); iY <= nbinsY; iY++)
288 int nbinsY(me->
getTH1()->GetNbinsY());
289 for(
int iY(1); iY <= nbinsY; iY++)
310 int nbinsY(me->
getTH1()->GetNbinsY());
311 for(
int iY(1); iY <= nbinsY; iY++)
332 int nbinsY(me->
getTH1()->GetNbinsY());
333 for(
int iY(1); iY <= nbinsY; iY++)
403 int nbinsX(me->
getTH1()->GetNbinsX());
404 int nbinsY(me->
getTH1()->GetNbinsY());
405 for(
int iY(1); iY <= nbinsY; iY++)
427 int nbinsX(me->
getTH1()->GetNbinsX());
428 int nbinsY(me->
getTH1()->GetNbinsY());
429 for(
int iY(1); iY <= nbinsY; iY++)
451 int nbinsX(me->
getTH1()->GetNbinsX());
452 int nbinsY(me->
getTH1()->GetNbinsY());
453 for(
int iY(1); iY <= nbinsY; iY++)
473 int nbinsX(me->
getTH1()->GetNbinsX());
490 int nbinsX(me->
getTH1()->GetNbinsX());
507 int nbinsX(me->
getTH1()->GetNbinsX());
523 int nbinsX(me->
getTH1()->GetNbinsX());
540 int nbinsX(me->
getTH1()->GetNbinsX());
557 int nbinsX(me->
getTH1()->GetNbinsX());
574 int nbinsX(me->
getTH1()->GetNbinsX());
576 return me->
getBinError((nbinsX + 2) * _ybin + xbin);
591 int nbinsX(me->
getTH1()->GetNbinsX());
593 return me->
getBinError((nbinsX + 2) * _ybin + xbin);
608 int nbinsX(me->
getTH1()->GetNbinsX());
610 return me->
getBinError((nbinsX + 2) * _ybin + xbin);
626 int nbinsX(me->
getTH1()->GetNbinsX());
644 int nbinsX(me->
getTH1()->GetNbinsX());
662 int nbinsX(me->
getTH1()->GetNbinsX());
719 int nbinsX(me->
getTH1()->GetNbinsX());
720 return xbin + (nbinsX + 2) * me->
getTH1()->GetYaxis()->FindBin(_y);
736 int nbinsX(me->
getTH1()->GetNbinsX());
737 return xbin + (nbinsX + 2) * me->
getTH1()->GetYaxis()->FindBin(_y);
753 int nbinsX(me->
getTH1()->GetNbinsX());
754 return xbin + (nbinsX + 2) * me->
getTH1()->GetYaxis()->FindBin(_y);
765 for(
unsigned iME(0); iME < nME; iME++) {
768 int nbinsX(me->
getTH1()->GetNbinsX());
769 int nbinsY(me->
getTH1()->GetNbinsY());
770 for(
int ix(1); ix <= nbinsX; ix++){
771 for(
int iy(1); iy <= nbinsY; iy++){
772 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
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 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_
void throw_(std::string const &_message) const
bool is2D(HitType hitType)
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)
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)
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)
void setBinEntries(DetId const &, double) override
void book(DQMStore::IBooker &) override