17 toleranceMeanFwd_(0.),
20 minChannelEntries_(0),
21 minChannelEntriesFwd_(0),
23 minTowerEntriesFwd_(0),
24 tailPopulThreshold_(0.) {
67 float EBentries(0.), EEentries(0.);
68 float EBmean(0.), EEmean(0.);
69 float EBrms(0.), EErms(0.);
98 rItr->setBinContent(-1.);
110 rItr->setBinContent(
rms);
112 bool negative(
false);
117 if (ebid.
zside() < 0) {
124 if (eeid.
zside() < 0) {
136 qItr->setBinContent(doMask ?
kMBad :
kBad);
156 EBentries += entriesLS;
160 EEentries += entriesLS;
168 if (EBentries > 0.) {
174 if (EEentries > 0.) {
185 DetId tId(qsItr->getId());
187 std::vector<DetId> ids;
212 float towerEntries(0.);
214 float towerMean2(0.);
218 for (std::vector<DetId>::iterator idItr(ids.begin()); idItr != ids.end(); ++idItr) {
228 towerEntries += entries;
230 towerMean +=
mean * entries;
240 towerMean /= towerEntries;
241 towerMean2 /= towerEntries;
243 float towerRMS(
sqrt(towerMean2 - towerMean * towerMean));
245 if (
std::abs(towerMean) > meanThresh || towerRMS > rmsThresh)
double getBinContent() const
#define DEFINE_ECALDQM_WORKER(TYPE)
edm::LuminosityBlockNumber_t iLumi
static const int PHYSICS_BAD_CHANNEL_WARNING
std::vector< DetId > constituentsOf(const EcalTrigTowerDetId &id) const
Get the constituent detids for this tower id.
MESet & at(const std::string &key)
const_iterator & toNextChannel(EcalElectronicsMapping const *electronicsMap)
int minChannelEntriesFwd_
bool isForward(DetId const &)
float tailPopulThreshold_
EEDetId switchZSide() const
std::set< std::string > qualitySummaries_
void setParams(edm::ParameterSet const &) override
double getBinEntries() const
StatusManager const * statusManager_
Abs< T >::type abs(const T &t)
virtual void fill(EcalDQMSetupObjects const, DetId const &, double=1., double=1., double=1.)
int zside() const
get the z-side of the crystal (1/-1)
EBDetId switchZSide() const
EcalElectronicsMapping const * GetElectronicsMap()
EcalDQMSetupObjects const getEcalDQMSetupObjects()
std::vector< DetId > scConstituents(EcalScDetId const &)
EcalTrigTowerConstituentsMap const * GetTrigTowerMap()
void producePlots(ProcessType) override
double getBinError() const