1 #include "../interface/IntegrityClient.h"
12 errFractionThreshold_(0.)
44 for(
unsigned dccid(1); dccid <= 54; dccid++){
48 if(ids.size() == 0)
continue;
50 float towerEntries(0.);
53 for(std::vector<DetId>::iterator idItr(ids.begin()); idItr != ids.end(); ++idItr){
61 if(entries + gain + chid + gainswitch < 1.){
66 float chErr((gain + chid + gainswitch) / (entries + gain + chid + gainswitch));
81 if(towerEntries + towerid + blocksize > 1.){
82 float towerErr((towerid + blocksize) / (towerEntries + towerid + blocksize));
85 quality = towerGood ? 1. : 0.;
91 if(dccid <= 9 || dccid >= 46){
93 for(std::vector<EcalScDetId>::iterator scItr(scs.begin()); scItr != scs.end(); ++scItr)
const EcalElectronicsMapping * getElectronicsMap()
void producePlots() override
IntegrityClient(const edm::ParameterSet &, const edm::ParameterSet &)
static const int TT_SIZE_ERROR
ParameterSet getUntrackedParameterSet(std::string const &name, ParameterSet const &defaultValue) const
void source_(unsigned, std::string const &, unsigned, edm::ParameterSet const &)
static const int CH_GAIN_SWITCH_ERROR
static void setMEData(std::vector< MEData > &)
std::vector< MESet * > MEs_
unsigned getNSuperCrystals(unsigned)
static const int CH_GAIN_ZERO_ERROR
float errFractionThreshold_
std::vector< MESet const * > sources_
static const int TT_ID_ERROR
DEFINE_ECALDQM_WORKER(CertificationClient)
void fillQuality_(unsigned, DetId const &, uint32_t, float)
static const int CH_ID_ERROR