47 throw cms::Exception(
"InvalidConfiguration") <<
"Nothing to do in TowerStatusTask";
68 unsigned dccid(
dccId(scid));
92 unsigned dccid(
dccId(scid));
112 MESet* meSummary(
nullptr);
113 MESet* meSummaryMap(
nullptr);
114 MESet* meContents(
nullptr);
115 meSummary = &
MEs_.at(_type +
"Summary");
116 meSummaryMap = &
MEs_.at(_type +
"SummaryMap");
117 meContents = &
MEs_.at(_type +
"Contents");
119 meSummary->
reset(-1.);
121 meSummaryMap->
reset();
122 meContents->
reset(-1.);
124 float totalFraction(0.);
125 for(
int iDCC(0); iDCC <
nDCC; iDCC++){
127 meContents->
fill(iDCC + 1, _status[iDCC]);
128 totalFraction += _status[iDCC] /
nCrystals(iDCC + 1);
131 meSummary->
fill(totalFraction);
T getUntrackedParameter(std::string const &, T const &) const
static EcalTrigTowerDetId detIdFromDenseIndex(uint32_t di)
const Item & endcap(size_t hashedIndex) const
#define DEFINE_ECALDQM_WORKER(TYPE)
Code getStatusCode() const
return decoded status
static EcalScDetId unhashIndex(int hi)
virtual void setBinContent(DetId const &, double)
void producePlots(ProcessType) override
void producePlotsTask_(float const *, std::string const &)
void setParams(edm::ParameterSet const &) override
unsigned nCrystals(unsigned)
virtual void reset(double=0., double=0., double=0.)
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
virtual void fill(DetId const &, double=1., double=1., double=1.)
virtual void resetAll(double=0., double=0., double=0.)
uint16_t getStatusCode() const
const Item & barrel(size_t hashedIndex) const
std::vector< DetId > scConstituents(EcalScDetId const &)
unsigned dccId(DetId const &)