1 #include "../interface/PresampleClient.h"
13 minChannelEntries_(0),
18 rmsThresholdHighEta_(0.),
19 noisyFracThreshold_(0.)
24 expectedMean_ = taskParams.getUntrackedParameter<
double>(
"expectedMean");
25 meanThreshold_ = taskParams.getUntrackedParameter<
double>(
"meanThreshold");
26 rmsThreshold_ = taskParams.getUntrackedParameter<
double>(
"rmsThreshold");
57 for(
unsigned dccid(1); dccid <= 54; dccid++){
62 if(ids.size() == 0)
continue;
64 unsigned iSM(dccid - 1);
69 float towerEntries(0.);
73 for(std::vector<DetId>::iterator idItr(ids.begin()); idItr != ids.end(); ++idItr){
79 towerRMS += (rms * rms + mean *
mean) * entries;
99 towerMean /= towerEntries;
100 towerRMS =
std::sqrt(towerRMS / towerEntries - towerMean * towerMean);
109 if(dccid <= 9 || dccid >= 46){
111 for(std::vector<EcalScDetId>::iterator scItr(scs.begin()); scItr != scs.end(); ++scItr){
const EcalElectronicsMapping * getElectronicsMap()
static const int PEDESTAL_ONLINE_HIGH_GAIN_RMS_ERROR
ParameterSet getUntrackedParameterSet(std::string const &name, ParameterSet const &defaultValue) const
void source_(unsigned, std::string const &, unsigned, edm::ParameterSet const &)
float noisyFracThreshold_
PresampleClient(const edm::ParameterSet &, const edm::ParameterSet &)
Abs< T >::type abs(const T &t)
static void setMEData(std::vector< MEData > &)
std::vector< MESet * > MEs_
unsigned getNSuperCrystals(unsigned)
static const int PEDESTAL_ONLINE_HIGH_GAIN_MEAN_ERROR
std::vector< MESet const * > sources_
DEFINE_ECALDQM_WORKER(CertificationClient)
void fillQuality_(unsigned, DetId const &, uint32_t, float)
void producePlots() override
float rmsThresholdHighEta_