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++)
78 int ieta(ttid.
ieta());
79 if (ieta < 18 && ieta > 0)
81 else 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++) {
141 if (bins.find(
bin) != bins.end())
146 for (
unsigned iId(0); iId < nIds; iId++) {
148 if (bins.find(
bin) != bins.end())
172 int ieta(ttid.
ieta());
173 if (ieta < 18 && ieta > 0)
175 else if (ieta > -18 && ieta < 0)
197 unsigned nIds(ids.size());
200 for (
unsigned iId(0); iId < nIds; iId++) {
202 if (bins.find(
bin) != bins.end())
207 for (
unsigned iId(0); iId < nIds; iId++) {
209 if (bins.find(
bin) != bins.end())
233 int ieta(ttid.
ieta());
234 if (ieta < 18 && ieta > 0)
236 else if (ieta > -18 && ieta < 0)
258 unsigned nIds(ids.size());
261 for (
unsigned iId(0); iId < nIds; iId++) {
263 if (bins.find(
bin) != bins.end())
268 for (
unsigned iId(0); iId < nIds; iId++) {
270 if (bins.find(
bin) != bins.end())
294 int ieta(ttid.
ieta());
295 if (ieta < 18 && ieta > 0)
297 else if (ieta > -18 && ieta < 0)
345 int ieta(ttid.
ieta());
346 if (ieta < 18 && ieta > 0)
348 else if (ieta > -18 && ieta < 0)
396 int ieta(ttid.
ieta());
397 if (ieta < 18 && ieta > 0)
399 else if (ieta > -18 && ieta < 0)
447 int ieta(ttid.
ieta());
448 if (ieta < 18 && ieta > 0)
450 else if (ieta > -18 && ieta < 0)
MonitorElement::Kind kind_
virtual void checkME_(unsigned _iME) const
virtual double getBinError(int binx) const
get uncertainty on content of bin (1-D) - See TH1::GetBinError for details
double getBinContent(EcalDQMSetupObjects const, DetId const &, int=0) const override
MESet * clone(std::string const &="") const override
void fill(EcalDQMSetupObjects const, DetId const &, double=1., double=0., double=0.) override
int ieta() const
get the tower ieta
void setBinContent(EcalDQMSetupObjects const, DetId const &, double) override
bool isEndcapTTId(DetId const &)
~MESetProjection() override
double getBinEntries(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)
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
static const float crystalUnitToEta
virtual double getBinContent(int binx) const
get content of bin (1-D)
EcalElectronicsMapping const * electronicsMap
std::vector< DetId > constituentsOf(const EcalTrigTowerDetId &id) const
Get the constituent detids for this tower id.
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)
void setBinEntries(EcalDQMSetupObjects const, DetId const &, double) override
EcalTrigTowerConstituentsMap const * trigtowerMap
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
CaloGeometry const * geometry
binning::ObjectType otype_
double eta(EBDetId const &, CaloGeometry const *)
void setBinError(EcalDQMSetupObjects const, DetId const &, double) override
virtual void setBinError(int binx, double error)
set uncertainty on content of bin (1-D)
binning::BinningType btype_
double getBinError(EcalDQMSetupObjects const, DetId const &, int=0) const override
double phi(EBDetId const &)
virtual TH1 * getTH1() const
std::vector< MonitorElement * > mes_