1 #include "../interface/TimingClient.h"
16 minChannelEntries_(0),
18 tailPopulThreshold_(0.)
21 expectedMean_ = taskParams.getUntrackedParameter<
double>(
"expectedMean");
22 meanThreshold_ = taskParams.getUntrackedParameter<
double>(
"meanThreshold");
23 rmsThreshold_ = taskParams.getUntrackedParameter<
double>(
"rmsThreshold");
59 for(
unsigned dccid(1); dccid <= 54; dccid++){
64 if(ids.size() == 0)
continue;
67 float summaryEntries(0.);
68 if(dccid <= 9 || dccid >= 46){
70 for(vector<EcalScDetId>::iterator scItr(scids.begin()); scItr != scids.end(); ++scItr)
76 float towerEntries(0.);
80 for(vector<DetId>::iterator idItr(ids.begin()); idItr != ids.end(); ++idItr){
87 towerMean2 += mean *
mean;
123 towerMean /= ids.size();
124 towerMean2 /= ids.size();
127 float variance(towerMean2 - towerMean * towerMean);
128 if(variance > 0.) towerRMS =
sqrt(variance);
136 if(dccid <= 9 || dccid >= 46){
138 for(vector<EcalScDetId>::iterator scItr(scs.begin()); scItr != scs.end(); ++scItr)
TimingClient(const edm::ParameterSet &, const edm::ParameterSet &)
const EcalElectronicsMapping * getElectronicsMap()
static const int PHYSICS_BAD_CHANNEL_WARNING
EBDetId switchZSide() const
float tailPopulThreshold_
ParameterSet getUntrackedParameterSet(std::string const &name, ParameterSet const &defaultValue) const
void source_(unsigned, std::string const &, unsigned, edm::ParameterSet const &)
void producePlots() override
Abs< T >::type abs(const T &t)
EEDetId switchZSide() const
std::vector< MESet * > MEs_
unsigned getNSuperCrystals(unsigned)
static void setMEData(std::vector< MEData > &)
std::vector< MESet const * > sources_
DEFINE_ECALDQM_WORKER(CertificationClient)
void fillQuality_(unsigned, DetId const &, uint32_t, float)