Go to the documentation of this file.
40 throw cms::Exception(
"InvalidConfiguration") <<
"Nothing to do in TowerStatusTask";
51 if (daqHndl->
barrel(
id).getStatusCode() != 0) {
57 if (daqHndl->
endcap(
id).getStatusCode() != 0) {
74 if (dcsHndl->
barrel(
id).getStatusCode() != 0) {
80 if (dcsHndl->
endcap(
id).getStatusCode() != 0) {
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");
111 float totalFraction(0.);
112 for (
int iDCC(0); iDCC <
nDCC; iDCC++) {
115 totalFraction += _status[iDCC] /
nCrystals(iDCC + 1);
const Item & endcap(size_t hashedIndex) const
virtual void setBinContent(EcalDQMSetupObjects const, DetId const &, double)
void producePlots(ProcessType) override
virtual void fill(EcalDQMSetupObjects const, DetId const &, double=1., double=1., double=1.)
static EcalScDetId unhashIndex(int hi)
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
Log< level::Warning, false > LogWarning
const EcalElectronicsMapping * GetElectronicsMap()
virtual void reset(EcalElectronicsMapping const *, double=0., double=0., double=0.)
unsigned nCrystals(unsigned)
MESet & at(const std::string &key)
void erase(const std::string &key)
unsigned dccId(DetId const &, EcalElectronicsMapping const *)
std::vector< DetId > scConstituents(EcalScDetId const &)
const EcalDQMSetupObjects getEcalDQMSetupObjects()
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 &)