16 toleranceMeanFwd_(0.),
19 minChannelEntries_(0),
20 minChannelEntriesFwd_(0),
22 minTowerEntriesFwd_(0),
23 tailPopulThreshold_(0.) {
65 float EBentries(0.), EEentries(0.);
66 float EBmean(0.), EEmean(0.);
67 float EBrms(0.), EErms(0.);
89 if (entries < minChannelEntries) {
91 rItr->setBinContent(-1.);
103 rItr->setBinContent(
rms);
105 bool negative(
false);
110 if (ebid.
zside() < 0) {
117 if (eeid.
zside() < 0) {
129 qItr->setBinContent(doMask ?
kMBad :
kBad);
140 if (entriesLS < minChannelEntries)
149 EBentries += entriesLS;
153 EEentries += entriesLS;
161 if (EBentries > 0.) {
167 if (EEentries > 0.) {
178 DetId tId(qsItr->getId());
180 std::vector<DetId> ids;
200 float towerEntries(0.);
202 float towerMean2(0.);
206 for (std::vector<DetId>::iterator idItr(ids.begin()); idItr != ids.end(); ++idItr) {
216 towerEntries += entries;
218 towerMean +=
mean * entries;
224 if (towerEntries / ids.size() > minTowerEntries / 25.) {
228 towerMean /= towerEntries;
229 towerMean2 /= towerEntries;
231 float towerRMS(
sqrt(towerMean2 - towerMean * towerMean));
233 if (
std::abs(towerMean) > meanThresh || towerRMS > rmsThresh)
239 qsItr->setBinContent(quality);
T getUntrackedParameter(std::string const &, T const &) const
#define DEFINE_ECALDQM_WORKER(TYPE)
uint16_t *__restrict__ id
edm::LuminosityBlockNumber_t iLumi
static const int PHYSICS_BAD_CHANNEL_WARNING
MESet & at(const std::string &key)
const_iterator & toNextChannel(EcalElectronicsMapping const *electronicsMap)
int minChannelEntriesFwd_
uint32_t const *__restrict__ Quality * quality
double getBinEntries() const
bool isForward(DetId const &)
EBDetId switchZSide() const
float tailPopulThreshold_
EcalTrigTowerConstituentsMap const * GetTrigTowerMap()
std::set< std::string > qualitySummaries_
void setParams(edm::ParameterSet const &) override
StatusManager const * statusManager_
double getBinError() const
Abs< T >::type abs(const T &t)
virtual void fill(EcalDQMSetupObjects const, DetId const &, double=1., double=1., double=1.)
std::vector< DetId > constituentsOf(const EcalTrigTowerDetId &id) const
Get the constituent detids for this tower id.
EEDetId switchZSide() const
EcalDQMSetupObjects const getEcalDQMSetupObjects()
double getBinContent() const
EcalElectronicsMapping const * GetElectronicsMap()
std::vector< DetId > scConstituents(EcalScDetId const &)
void producePlots(ProcessType) override
int zside() const
get the z-side of the crystal (1/-1)