8 MESetEcal(_fullPath, _otype, _btype, _kind, 1, 0, _yaxis)
15 throw_(
"Unsupported MonitorElement kind");
23 throw_(
"Unsupported binning");
40 if(_path !=
"")
path_ = _path;
74 unsigned nIds(ids.size());
76 for(
unsigned iId(0); iId < nIds; iId++)
80 for(
unsigned iId(0); iId < nIds; iId++)
87 int ieta(ttid.
ieta());
88 if(ieta < 18 && ieta > 0)
90 else if(ieta > -18 && ieta < 0)
108 mes_[iME]->Fill(_x, _w);
126 mes_[iME]->Fill(_x, _w);
142 unsigned nIds(ids.size());
145 for(
unsigned iId(0); iId < nIds; iId++){
147 if(bins.find(
bin) != bins.end())
continue;
152 for(
unsigned iId(0); iId < nIds; iId++){
154 if(bins.find(
bin) != bins.end())
continue;
179 int ieta(ttid.
ieta());
180 if(ieta < 18 && ieta > 0)
182 else if(ieta > -18 && ieta < 0)
206 unsigned nIds(ids.size());
209 for(
unsigned iId(0); iId < nIds; iId++){
211 if(bins.find(
bin) != bins.end())
continue;
216 for(
unsigned iId(0); iId < nIds; iId++){
218 if(bins.find(
bin) != bins.end())
continue;
243 int ieta(ttid.
ieta());
244 if(ieta < 18 && ieta > 0)
246 else if(ieta > -18 && ieta < 0)
270 unsigned nIds(ids.size());
273 for(
unsigned iId(0); iId < nIds; iId++){
275 if(bins.find(
bin) != bins.end())
continue;
280 for(
unsigned iId(0); iId < nIds; iId++){
282 if(bins.find(
bin) != bins.end())
continue;
307 int ieta(ttid.
ieta());
308 if(ieta < 18 && ieta > 0)
310 else if(ieta > -18 && ieta < 0)
363 int ieta(ttid.
ieta());
364 if(ieta < 18 && ieta > 0)
366 else if(ieta > -18 && ieta < 0)
419 int ieta(ttid.
ieta());
420 if(ieta < 18 && ieta > 0)
422 else if(ieta > -18 && ieta < 0)
475 int ieta(ttid.
ieta());
476 if(ieta < 18 && ieta > 0)
478 else if(ieta > -18 && ieta < 0)
MonitorElement::Kind kind_
void setBinEntries(DetId const &, double) override
void setBinContent(int binx, double content)
set content of bin (1-D)
void setBinError(DetId const &, double) override
virtual void checkME_(unsigned _iME) const
double getBinEntries(DetId const &, int=0) const override
MESet * clone(std::string const &="") const override
int ieta() const
get the tower ieta
double getBinContent(DetId const &, int=0) const override
bool isEndcapTTId(DetId const &)
std::vector< MonitorElement * > mes_
tuple path
else: Piece not in the list, fine.
void throw_(std::string const &_message) const
EcalTrigTowerConstituentsMap const * getTrigTowerMap()
static const float crystalUnitToEta
void setBinError(int binx, double error)
set uncertainty on content of bin (1-D)
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
virtual void fill_(unsigned, int, double)
unsigned findPlotIndex(ObjectType, DetId const &)
double getBinError(int binx) const
get uncertainty on content of bin (1-D) - See TH1::GetBinError for details
void fill(DetId const &, double=1., double=0., double=0.) override
double getBinContent(int binx) const
get content of bin (1-D)
double getBinError(DetId const &, int=0) const override
double getBinEntries(int bin) const
get # of bin entries (for profiles)
binning::ObjectType otype_
binning::BinningType btype_
MESetProjection(std::string const &, binning::ObjectType, binning::BinningType, MonitorElement::Kind, binning::AxisSpecs const *=0)
double eta(EBDetId const &)
double phi(EBDetId const &)
void setBinEntries(int bin, double nentries)
set # of bin entries (to be used for profiles)
void setBinContent(DetId const &, double) override