95 : m_rhm(consumesCollector()),
96 m_monitoredspq(iConfig.getParameter<
std::vector<
edm::
ParameterSet> >(
"monitoredSiPixelQuality")),
97 m_mode(iConfig.getUntrackedParameter<unsigned
int>(
"granularityMode",
Module)),
98 m_run(iConfig.getParameter<
bool>(
"runProcess")),
99 m_maxLS(iConfig.getUntrackedParameter<unsigned
int>(
"maxLSBeforeRebin", 100)),
100 m_LSfrac(iConfig.getUntrackedParameter<unsigned
int>(
"startingLSFraction", 4)),
114 sprintf(hrunname,
"badmodrun_%s",
name.c_str());
116 sprintf(hruntitle,
"Number of bad modules %s",
name.c_str());
147 std::vector<SiPixelQuality::disabledModuleType> bads = spq->getBadComponentList();
149 LogDebug(
"BadComponents") << bads.size() <<
" bad components found";
151 for (std::vector<SiPixelQuality::disabledModuleType>::const_iterator bc = bads.begin(); bc != bads.end(); ++bc) {
153 if (spq->IsModuleBad(bc->DetID))
157 for (
int roc = 1;
roc < 2 * 2 * 2 * 2 * 2 * 2 * 2 + 1;
roc *= 2) {
158 if ((bc->BadRocs &
roc) > 0)
199 LogDebug(
"BadComponents") << bads.size() <<
" bad components found";
201 for (std::vector<SiPixelQuality::disabledModuleType>::const_iterator bc = bads.begin(); bc != bads.end();
208 for (
int roc = 1;
roc < 2 * 2 * 2 * 2 * 2 * 2 * 2 + 1;
roc *= 2) {
209 if ((bc->BadRocs &
roc) > 0)
216 sprintf(runname,
"%d", iRun.
run());
217 LogDebug(
"AnalyzedRun") <<
name <<
" " << runname <<
" " << nbad;