|
|
Go to the documentation of this file.
11 :
MESetEcal(_fullPath, _otype, _btype, _kind, 1, nullptr, _yaxis) {
17 throw_(
"Unsupported MonitorElement kind");
25 throw_(
"Unsupported binning");
67 unsigned nIds(ids.size());
69 for (
unsigned iId(0); iId < nIds; iId++)
72 for (
unsigned iId(0); iId < nIds; iId++)
79 if (ieta < 18 && ieta > 0)
98 mes_[iME]->Fill(_x, _w);
120 mes_[iME]->Fill(_x, _w);
135 unsigned nIds(ids.size());
138 for (
unsigned iId(0); iId < nIds; iId++) {
145 for (
unsigned iId(0); iId < nIds; iId++) {
172 if (ieta < 18 && ieta > 0)
180 int bin(
me->getTH1()->FindBin(x));
196 unsigned nIds(ids.size());
199 for (
unsigned iId(0); iId < nIds; iId++) {
203 me->setBinError(
bin, _error);
206 for (
unsigned iId(0); iId < nIds; iId++) {
210 me->setBinError(
bin, _error);
233 if (ieta < 18 && ieta > 0)
241 int bin(
me->getTH1()->FindBin(x));
242 me->setBinError(
bin, _error);
257 unsigned nIds(ids.size());
260 for (
unsigned iId(0); iId < nIds; iId++) {
264 me->setBinEntries(
bin, _entries);
267 for (
unsigned iId(0); iId < nIds; iId++) {
271 me->setBinEntries(
bin, _entries);
294 if (ieta < 18 && ieta > 0)
302 int bin(
me->getTH1()->FindBin(x));
303 me->setBinEntries(
bin, _entries);
320 return me->getBinContent(
bin);
323 return me->getBinContent(
bin);
345 if (ieta < 18 && ieta > 0)
353 int bin(
me->getTH1()->FindBin(x));
354 return me->getBinContent(
bin);
371 return me->getBinError(
bin);
374 return me->getBinError(
bin);
396 if (ieta < 18 && ieta > 0)
404 int bin(
me->getTH1()->FindBin(x));
405 return me->getBinError(
bin);
422 return me->getBinEntries(
bin);
425 return me->getBinEntries(
bin);
447 if (ieta < 18 && ieta > 0)
455 int bin(
me->getTH1()->FindBin(x));
456 return me->getBinEntries(
bin);
static const float crystalUnitToEta
void throw_(std::string const &_message) const
MESetProjection(std::string const &, binning::ObjectType, binning::BinningType, MonitorElement::Kind, binning::AxisSpecs const *=nullptr)
virtual void fill_(unsigned, int, double)
double getBinError(DetId const &, int=0) const override
void setBinError(DetId const &, double) override
bool isEndcapTTId(DetId const &)
void fill(DetId const &, double=1., double=0., double=0.) override
binning::ObjectType otype_
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
binning::BinningType btype_
unsigned findPlotIndex(ObjectType, DetId const &)
MESet * clone(std::string const &="") const override
int ieta() const
get the tower ieta
const EcalTrigTowerConstituentsMap * getTrigTowerMap()
double getBinEntries(DetId const &, int=0) const override
std::vector< MonitorElement * > mes_
virtual void checkME_(unsigned _iME) const
~MESetProjection() override
double getBinContent(DetId const &, int=0) const override
void setBinContent(DetId const &, double) override
MonitorElement::Kind kind_
void setBinEntries(DetId const &, double) override
double phi(EBDetId const &)
double eta(EBDetId const &)