27 unsigned const nPhiRings(56);
42 double digiPhiRingMean[nPhiRings];
43 std::fill_n(digiPhiRingMean, nPhiRings, 0.);
44 double rechitPhiRingMean[nPhiRings];
45 std::fill_n(rechitPhiRingMean, nPhiRings, 0.);
46 int numCrystals[nPhiRings];
47 std::fill_n(numCrystals, nPhiRings, 0);
55 float entries(dItr->getBinContent());
56 float rhentries(rItr->getBinContent());
71 digiPhiRingMean[
index] += entries;
72 rechitPhiRingMean[
index] += rhentries;
73 numCrystals[
index] += 1;
76 for (
unsigned ie(0); ie < nPhiRings; ie++) {
77 digiPhiRingMean[ie] /= numCrystals[ie];
78 rechitPhiRingMean[ie] /= numCrystals[ie];
82 std::vector<float> Nentries(
nDCC, 0.);
83 std::vector<float> Nrhentries(
nDCC, 0.);
94 float entries(dItr->getBinContent());
95 float rhentries(rItr->getBinContent());
125 Nentries[iDCC] += entries;
127 Nrhentries[iDCC] += rhentries;
130 double tpdigiPhiRingMean[nPhiRings];
131 std::fill_n(tpdigiPhiRingMean, nPhiRings, 0.);
139 tpdigiPhiRingMean[
index] += entries;
142 for (
int ie(0); ie < 28; ie++) {
148 tpdigiPhiRingMean[ie] /=
denom;
149 tpdigiPhiRingMean[55 - ie] /=
denom;
170 for (
unsigned iD(0); iD < ids.size(); ++iD) {
177 meQualitySummary.setBinContent(
static EcalTrigTowerDetId detIdFromDenseIndex(uint32_t di)
#define DEFINE_ECALDQM_WORKER(TYPE)
static const int PHYSICS_BAD_CHANNEL_WARNING
int ieta() const
get the tower ieta
MESet & at(const std::string &key)
static const int PEDESTAL_ONLINE_HIGH_GAIN_RMS_ERROR
static const int PHYSICS_BAD_CHANNEL_ERROR
void setParams(edm::ParameterSet const &) override
EcalTrigTowerDetId towerOf(const DetId &id) const
Get the tower id for this det id (or null if not known)
std::set< std::string > qualitySummaries_
float deviationThreshold_
StatusManager const * statusManager_
unsigned dccId(DetId const &, EcalElectronicsMapping const *)
EcalElectronicsMapping const * GetElectronicsMap()
EcalDQMSetupObjects const getEcalDQMSetupObjects()
void producePlots(ProcessType) override
const_iterator & toNextChannel(EcalElectronicsMapping const *)
std::vector< DetId > scConstituents(EcalScDetId const &)
EcalTrigTowerConstituentsMap const * GetTrigTowerMap()