12 :
MESetEcal(_fullPath, _otype, _btype, _kind, 1, nullptr, _yaxis, nullptr) {
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";
122 fill_(iME, xbin, _wy, _w);
124 fill_(iME, xbin, _wy);
139 fill_(iME, xbin, _wy, _w);
141 fill_(iME, xbin, _wy);
156 fill_(iME, xbin, _wy, _w);
158 fill_(iME, xbin, _wy);
174 int nbinsY(me->
getTH1()->GetNbinsY());
175 for (
int iY(1); iY <= nbinsY; iY++)
194 int nbinsY(me->
getTH1()->GetNbinsY());
195 for (
int iY(1); iY <= nbinsY; iY++)
214 int nbinsY(me->
getTH1()->GetNbinsY());
215 for (
int iY(1); iY <= nbinsY; iY++)
285 int nbinsY(me->
getTH1()->GetNbinsY());
286 for (
int iY(1); iY <= nbinsY; iY++)
305 int nbinsY(me->
getTH1()->GetNbinsY());
306 for (
int iY(1); iY <= nbinsY; iY++)
325 int nbinsY(me->
getTH1()->GetNbinsY());
326 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++)
418 int nbinsX(me->
getTH1()->GetNbinsX());
419 int nbinsY(me->
getTH1()->GetNbinsY());
420 for (
int iY(1); iY <= nbinsY; iY++)
441 int nbinsX(me->
getTH1()->GetNbinsX());
442 int nbinsY(me->
getTH1()->GetNbinsY());
443 for (
int iY(1); iY <= nbinsY; iY++)
462 int nbinsX(me->
getTH1()->GetNbinsX());
482 int nbinsX(me->
getTH1()->GetNbinsX());
499 int nbinsX(me->
getTH1()->GetNbinsX());
514 int nbinsX(me->
getTH1()->GetNbinsX());
532 int nbinsX(me->
getTH1()->GetNbinsX());
548 int nbinsX(me->
getTH1()->GetNbinsX());
564 int nbinsX(me->
getTH1()->GetNbinsX());
566 return me->
getBinError((nbinsX + 2) * _ybin + xbin);
582 int nbinsX(me->
getTH1()->GetNbinsX());
584 return me->
getBinError((nbinsX + 2) * _ybin + xbin);
598 int nbinsX(me->
getTH1()->GetNbinsX());
600 return me->
getBinError((nbinsX + 2) * _ybin + xbin);
616 int nbinsX(me->
getTH1()->GetNbinsX());
636 int nbinsX(me->
getTH1()->GetNbinsX());
654 int nbinsX(me->
getTH1()->GetNbinsX());
711 int nbinsX(me->
getTH1()->GetNbinsX());
712 return xbin + (nbinsX + 2) * me->
getTH1()->GetYaxis()->FindBin(_y);
728 int nbinsX(me->
getTH1()->GetNbinsX());
729 return xbin + (nbinsX + 2) * me->
getTH1()->GetYaxis()->FindBin(_y);
745 int nbinsX(me->
getTH1()->GetNbinsX());
746 return xbin + (nbinsX + 2) * me->
getTH1()->GetYaxis()->FindBin(_y);
758 for (
unsigned iME(0); iME < nME; iME++) {
761 int nbinsX(me->
getTH1()->GetNbinsX());
762 int nbinsY(me->
getTH1()->GetNbinsY());
763 for (
int ix(1); ix <= nbinsX; ix++) {
764 for (
int iy(1); iy <= nbinsY; iy++) {
765 int bin(is2D ? (nbinsX + 2) * iy + ix : ix);
MonitorElement::Kind kind_
double getBinError(EcalDQMSetupObjects const, DetId const &, int=0) const 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 [...
unsigned getNObjects(ObjectType)
virtual double getBinError(int binx) const
get uncertainty on content of bin (1-D) - See TH1::GetBinError for details
int findBin(EcalDQMSetupObjects const, DetId const &) const
std::pair< unsigned, unsigned > outerTCCs(unsigned)
ObjectType getObject(ObjectType, unsigned)
void setBinContent(EcalDQMSetupObjects const, DetId const &, double) override
void setBinEntries(EcalDQMSetupObjects const, DetId const &, double) override
virtual int getNbinsX() const
get # of bins in X-axis
void fill(EcalDQMSetupObjects const, DetId const &, double=1., double=1., double=0.) override
void throw_(std::string const &_message) const
MESetDet1D(std::string const &, binning::ObjectType, binning::BinningType, MonitorElement::Kind, binning::AxisSpecs const *=nullptr)
bool is2D(HitType hitType)
MESet * clone(std::string const &="") const override
void setBinError(EcalDQMSetupObjects const, DetId const &, double) override
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)
EcalElectronicsMapping const * electronicsMap
void book(DQMStore::IBooker &, EcalElectronicsMapping const *) override
virtual void fill_(unsigned, int, double)
unsigned findPlotIndex(EcalElectronicsMapping const *, ObjectType, DetId const &)
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)
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
double getBinEntries(EcalDQMSetupObjects const, DetId const &, int=0) const override
std::pair< unsigned, unsigned > innerTCCs(unsigned)
binning::ObjectType otype_
std::string channelName(EcalElectronicsMapping const *, uint32_t, BinningType _btype=kDCC)
virtual void setBinError(int binx, double error)
set uncertainty on content of bin (1-D)
void book(DQMStore::IBooker &, EcalElectronicsMapping const *) override
void reset(EcalElectronicsMapping const *, double=0., double=0., double=0.) override
binning::BinningType btype_
double getBinContent(EcalDQMSetupObjects const, DetId const &, int=0) const override
int findBin1D(EcalElectronicsMapping const *, ObjectType, BinningType, DetId const &)
virtual TH1 * getTH1() const
std::vector< MonitorElement * > mes_