11 :
MESet(_fullPath, _otype, _btype, _kind),
36 MESetNonObject const *pRhs(dynamic_cast<MESetNonObject const *>(&_rhs));
62 if (
path_.find(
'%') != string::npos)
63 throw_(
"book() called with incompletely formed path");
65 size_t slashPos(
path_.find_last_of(
'/'));
78 throw_(
"No xaxis found for MESetNonObject");
88 throw_(
"No xaxis found for MESetNonObject");
110 throw_(
"No x/yaxis found for MESetNonObject");
122 throw_(
"No x/yaxis found for MESetNonObject");
124 throw_(
"Variable bin size for 2D profile not implemented");
126 double high(0.), low(0.);
149 throw_(
"Unsupported MonitorElement kind");
188 *_failedPath =
path_;
211 mes_[0]->Fill(_x, _wy);
215 mes_[0]->Fill(_x, _wy, _w);
231 mes_[0]->setBinContent(_bin, _content);
243 mes_[0]->setBinError(_bin, _error);
255 mes_[0]->setBinEntries(_bin, _entries);
267 return mes_[0]->getBinContent(_bin);
272 return mes_[0]->getFloatValue();
286 return mes_[0]->getBinError(_bin);
298 return mes_[0]->getBinEntries(_bin);
309 return mes_[0]->getTH1()->FindBin(_x);
311 return mes_[0]->getTH1()->FindBin(_x, _y);
binning::AxisSpecs const * zaxis_
MonitorElement::Kind kind_
MESet & operator=(MESet const &) override
void setBinEntries(int, double) override
bool retrieve(DQMStore::IGetter &, std::string *=0) const override
virtual void clear() const
MonitorElement * bookProfile(Args &&...args)
binning::AxisSpecs const * xaxis_
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)
binning::AxisSpecs const * yaxis_
void setBinError(int, double) override
double getBinEntries(int, int=0) const override
double getBinContent(int, int=0) const override
~MESetNonObject() override
void book(DQMStore::IBooker &) override
void setLumiFlag()
this ME is meant to be stored for each luminosity section
void setCurrentFolder(std::string const &fullpath)
void setBinContent(int, double) override
void throw_(std::string const &_message) const
MonitorElement * bookProfile2D(Args &&...args)
double getBinError(int, int=0) const override
MonitorElement * book1D(Args &&...args)
int findBin(double, double=0.) const
MonitorElement * get(std::string const &path)
bool isVariableBinning() const override
MonitorElement * book2D(Args &&...args)
MESetNonObject(std::string const &, binning::ObjectType, binning::BinningType, MonitorElement::Kind, binning::AxisSpecs const *=0, binning::AxisSpecs const *=0, binning::AxisSpecs const *=0)
double getFloatValue() const
void fill(double, double=1., double=1.) override
MonitorElement * bookFloat(Args &&...args)
virtual MESet & operator=(MESet const &)
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MESet * clone(std::string const &="") const override
std::vector< MonitorElement * > mes_