40 if(
cache_.second.size() == 0)
return 0.;
45 int nbinsX(
mes_[
cache_.first]->getTH1()->GetNbinsX());
46 bin += (_bin - 1) * nbinsX;
57 if(
cache_.second.size() == 0)
return 0.;
62 int nbinsX(
mes_[
cache_.first]->getTH1()->GetNbinsX());
63 bin += (_bin - 1) * nbinsX;
74 if(
cache_.second.size() == 0)
return 0.;
79 int nbinsX(
mes_[
cache_.first]->getTH1()->GetNbinsX());
80 bin += (_bin - 1) * nbinsX;
91 if(
cache_.second.size() == 0)
return 0.;
96 int nbinsX(
mes_[
cache_.first]->getTH1()->GetNbinsX());
97 bin += (_bin - 1) * nbinsX;
108 if(
cache_.second.size() == 0)
return 0.;
113 int nbinsX(
mes_[
cache_.first]->getTH1()->GetNbinsX());
114 bin += (_bin - 1) * nbinsX;
125 if(
cache_.second.size() == 0)
return 0.;
130 int nbinsX(
mes_[
cache_.first]->getTH1()->GetNbinsX());
131 bin += (_bin - 1) * nbinsX;
158 throw cms::Exception(
"InvalidCall") <<
"ME array index overflow" << std::endl;
173 int iy(
h->GetYaxis()->FindBin(_wy));
174 int nbinsX(
h->GetNbinsX());
175 for(
unsigned iBin(0); iBin < bins.size(); iBin++)
176 bins[iBin] += (iy - 1) * nbinsX;
178 for(
unsigned iBin(0); iBin < bins.size(); iBin++)
BinService::ObjectType otype
double getBinContent(DetId const &, int _bin=0) const
void fill(DetId const &, double _wy=1., double _w=1., double _unused=0.)
MonitorElement::Kind kind
virtual void fill_(double)
std::vector< MonitorElement * > mes_
void fill_(double, double)
BinService::BinningType btype
std::pair< unsigned, std::vector< int > > findBinsNoMap(ObjectType, BinningType, const DetId &) const
std::pair< unsigned, std::vector< int > > cache_
virtual void fill_(unsigned, int, double)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
virtual double getBinContent_(unsigned, int) const
virtual double getBinError_(unsigned, int) const
static BinService const * binService_
std::pair< unsigned, std::vector< int > > findBins(ObjectType, BinningType, const DetId &) const
double getBinError(DetId const &, int _bin=0) const
virtual double getBinEntries_(unsigned, int) const
double getBinEntries(DetId const &, int _bin=0) const
MESetDet1D(std::string const &, MEData const &, bool _readOnly=false)
void find_(uint32_t) const