1 #include "../interface/SelectiveReadoutClient.h"
35 for(
unsigned dccid(1); dccid <= 54; dccid++){
40 if(ids.size() == 0)
continue;
44 float nFullReadoutFlags(0.);
47 float nZSFullReadout(0.);
49 if(dccid <= 9 || dccid >= 46){
51 for(vector<EcalScDetId>::iterator scItr(scids.begin()); scItr != scids.end(); ++scItr){
61 for(vector<EcalScDetId>::iterator scItr(scids.begin()); scItr != scids.end(); ++scItr){
62 if(nFlags > 0.)
MEs_[
kFR]->setBinContent(*scItr, nFullReadoutFlags / nFlags);
63 if(nFlags > 0.)
MEs_[
kZS1]->setBinContent(*scItr, nZS1Flags / nFlags);
64 if(nFlags > 0.)
MEs_[
kRUForced]->setBinContent(*scItr, nRUForced / nFlags);
65 if(nZS12Flags > 0.)
MEs_[
kZSReadout]->setBinContent(*scItr, nZSFullReadout / nZS12Flags);
66 if(nFullReadoutFlags > 0.)
MEs_[
kFRDropped]->setBinContent(*scItr, nFRDropped / nFullReadoutFlags);
79 if(nFlags > 0.)
MEs_[
kFR]->setBinContent(ids[0], nFullReadoutFlags / nFlags);
80 if(nFlags > 0.)
MEs_[
kZS1]->setBinContent(ids[0], nZS1Flags / nFlags);
81 if(nFlags > 0.)
MEs_[
kRUForced]->setBinContent(ids[0], nRUForced / nFlags);
82 if(nZS12Flags > 0.)
MEs_[
kZSReadout]->setBinContent(ids[0], nZSFullReadout / nZS12Flags);
83 if(nFullReadoutFlags > 0.)
MEs_[
kFRDropped]->setBinContent(ids[0], nFRDropped / nFullReadoutFlags);
const EcalElectronicsMapping * getElectronicsMap()
#define DEFINE_ECALDQM_WORKER(TYPE)
static void setMEData(std::vector< MEData > &)
SelectiveReadoutClient(const edm::ParameterSet &, const edm::ParameterSet &)
void source_(unsigned, std::string const &, unsigned, edm::ParameterSet const &)
ParameterSet const & getUntrackedParameterSet(std::string const &name, ParameterSet const &defaultValue) const
std::vector< MESet * > MEs_
unsigned getNSuperCrystals(unsigned)
std::vector< MESet const * > sources_