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);
172 for (
int iY(1); iY <=
nbinsY; iY++)
192 for (
int iY(1); iY <=
nbinsY; iY++)
212 for (
int iY(1); iY <=
nbinsY; iY++)
280 for (
int iY(1); iY <=
nbinsY; iY++)
300 for (
int iY(1); iY <=
nbinsY; iY++)
320 for (
int iY(1); iY <=
nbinsY; iY++)
391 for (
int iY(1); iY <=
nbinsY; iY++)
414 for (
int iY(1); iY <=
nbinsY; iY++)
437 for (
int iY(1); iY <=
nbinsY; iY++)
697 return xbin + (
nbinsX + 2) * me->
getTH1()->GetYaxis()->FindBin(_y);
714 return xbin + (
nbinsX + 2) * me->
getTH1()->GetYaxis()->FindBin(_y);
731 return xbin + (
nbinsX + 2) * me->
getTH1()->GetYaxis()->FindBin(_y);
740 for (
unsigned iME(0); iME < nME; iME++) {
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 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)
virtual double getBinError(int binx) const
get uncertainty on content of bin (1-D) - See TH1::GetBinError for details
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
virtual int getNbinsX() const
get # of bins in X-axis
void throw_(std::string const &_message) const
bool is2D(HitType hitType)
void setBinError(DetId const &, double) override
MESetDet1D(std::string const &, binning::ObjectType, binning::BinningType, MonitorElement::Kind, binning::AxisSpecs const *=0)
virtual 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)
virtual double getBinContent(int binx) const
get content of bin (1-D)
int findBin1D(ObjectType, BinningType, DetId const &)
std::string channelName(uint32_t, BinningType _btype=kDCC)
virtual void fill_(unsigned, int, double)
virtual void setBinEntries(int bin, double nentries)
set # of bin entries (to be used for profiles)
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
unsigned findPlotIndex(ObjectType, DetId const &)
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
void book(DQMStore::IBooker &) override
std::pair< unsigned, unsigned > innerTCCs(unsigned)
binning::ObjectType otype_
void fill(DetId const &, double=1., double=1., double=0.) override
virtual void setBinError(int binx, double error)
set uncertainty on content of bin (1-D)
binning::BinningType btype_
virtual TH1 * getTH1() const
double getBinEntries(DetId const &, int=0) const override
void setBinEntries(DetId const &, double) override
std::vector< MonitorElement * > mes_
void book(DQMStore::IBooker &) override