Go to the documentation of this file.
40 throw cms::Exception(
"InvalidConfiguration") <<
"Nothing to do in TowerStatusTask";
59 unsigned dccid(
dccId(scid));
82 unsigned dccid(
dccId(scid));
99 MESet* meSummary(
nullptr);
100 MESet* meSummaryMap(
nullptr);
101 MESet* meContents(
nullptr);
102 meSummary = &
MEs_.at(_type +
"Summary");
103 meSummaryMap = &
MEs_.at(_type +
"SummaryMap");
104 meContents = &
MEs_.at(_type +
"Contents");
106 meSummary->
reset(-1.);
108 meSummaryMap->
reset();
109 meContents->
reset(-1.);
111 float totalFraction(0.);
112 for (
int iDCC(0); iDCC <
nDCC; iDCC++) {
114 meContents->
fill(iDCC + 1, _status[iDCC]);
115 totalFraction += _status[iDCC] /
nCrystals(iDCC + 1);
118 meSummary->
fill(totalFraction);
const Item & endcap(size_t hashedIndex) const
void producePlots(ProcessType) override
static EcalScDetId unhashIndex(int hi)
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
virtual void fill(DetId const &, double=1., double=1., double=1.)
unsigned nCrystals(unsigned)
Code getStatusCode() const
return decoded status
uint16_t getStatusCode() const
virtual void reset(double=0., double=0., double=0.)
std::vector< DetId > scConstituents(EcalScDetId const &)
virtual void setBinContent(DetId const &, double)
const Item & barrel(size_t hashedIndex) const
static EcalTrigTowerDetId detIdFromDenseIndex(uint32_t di)
#define DEFINE_ECALDQM_WORKER(TYPE)
virtual void resetAll(double=0., double=0., double=0.)
void setParams(edm::ParameterSet const &) override
void producePlotsTask_(float const *, std::string const &)
unsigned dccId(DetId const &)