|
|
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)
99 mes_[iME]->Fill(_x, _w);
121 mes_[iME]->Fill(_x, _w);
136 unsigned nIds(ids.size());
139 for (
unsigned iId(0); iId < nIds; iId++) {
146 for (
unsigned iId(0); iId < nIds; iId++) {
173 if (ieta < 18 && ieta > 0)
181 int bin(
me->getTH1()->FindBin(x));
197 unsigned nIds(ids.size());
200 for (
unsigned iId(0); iId < nIds; iId++) {
204 me->setBinError(
bin, _error);
207 for (
unsigned iId(0); iId < nIds; iId++) {
211 me->setBinError(
bin, _error);
234 if (ieta < 18 && ieta > 0)
242 int bin(
me->getTH1()->FindBin(x));
243 me->setBinError(
bin, _error);
258 unsigned nIds(ids.size());
261 for (
unsigned iId(0); iId < nIds; iId++) {
265 me->setBinEntries(
bin, _entries);
268 for (
unsigned iId(0); iId < nIds; iId++) {
272 me->setBinEntries(
bin, _entries);
295 if (ieta < 18 && ieta > 0)
303 int bin(
me->getTH1()->FindBin(x));
304 me->setBinEntries(
bin, _entries);
321 return me->getBinContent(
bin);
324 return me->getBinContent(
bin);
346 if (ieta < 18 && ieta > 0)
354 int bin(
me->getTH1()->FindBin(x));
355 return me->getBinContent(
bin);
372 return me->getBinError(
bin);
375 return me->getBinError(
bin);
397 if (ieta < 18 && ieta > 0)
405 int bin(
me->getTH1()->FindBin(x));
406 return me->getBinError(
bin);
423 return me->getBinEntries(
bin);
426 return me->getBinEntries(
bin);
448 if (ieta < 18 && ieta > 0)
456 int bin(
me->getTH1()->FindBin(x));
457 return me->getBinEntries(
bin);
double eta(EBDetId const &, CaloGeometry const *)
static const float crystalUnitToEta
double getBinError(EcalDQMSetupObjects const, DetId const &, int=0) const override
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)
bool isEndcapTTId(DetId const &)
double getBinEntries(EcalDQMSetupObjects const, DetId const &, int=0) const override
void fill(EcalDQMSetupObjects const, DetId const &, double=1., double=0., double=0.) override
void setBinError(EcalDQMSetupObjects const, DetId const &, double) override
binning::ObjectType otype_
void setBinContent(EcalDQMSetupObjects const, DetId const &, double) override
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
binning::BinningType btype_
const CaloGeometry * geometry
MESet * clone(std::string const &="") const override
int ieta() const
get the tower ieta
const EcalTrigTowerConstituentsMap * trigtowerMap
std::vector< MonitorElement * > mes_
const EcalElectronicsMapping * electronicsMap
std::vector< DetId > constituentsOf(const EcalTrigTowerDetId &id) const
Get the constituent detids for this tower id.
virtual void checkME_(unsigned _iME) const
~MESetProjection() override
void setBinEntries(EcalDQMSetupObjects const, DetId const &, double) override
unsigned findPlotIndex(EcalElectronicsMapping const *, ObjectType, DetId const &)
double getBinContent(EcalDQMSetupObjects const, DetId const &, int=0) const override
MonitorElement::Kind kind_
double phi(EBDetId const &)