47 theDisabledModules.insert(theDisabledModules.end(), idVector.begin(), idVector.end());
52 std::vector<uint32_t> vdets;
55 std::vector<uint32_t>::const_iterator iter = vdets.begin();
56 std::vector<uint32_t>::const_iterator iterEnd = vdets.end();
58 for (; iter != iterEnd; ++iter) {
60 BadModule.
DetID = *iter;
63 if (IsModuleUsable(BadModule.
DetID))
64 addDisabledModule(BadModule);
81 std::vector<SiPixelQuality::disabledModuleType> disabledModules = theDisabledModules;
85 if (iter != disabledModules.end() && iter->DetID == detid && iter->errorType == 0)
91 std::vector<SiPixelQuality::disabledModuleType> disabledModules = theDisabledModules;
93 return disabledModules.size();
100 std::vector<SiPixelQuality::disabledModuleType> disabledModules = theDisabledModules;
105 if (iter != disabledModules.end() && iter->DetID == detid && iter->errorType == 0)
112 if (IsModuleBad(detid))
114 std::vector<SiPixelQuality::disabledModuleType> disabledModules = theDisabledModules;
118 if (iter != disabledModules.end() && iter->DetID == detid) {
119 return ((iter->BadRocs >> rocNb) & 0x1);
127 std::vector<SiPixelQuality::disabledModuleType> disabledModules = theDisabledModules;
131 if (iter != disabledModules.end() && iter->DetID == detid)
132 return iter->BadRocs;
139 std::vector<LocalPoint> badrocpositions(0);
140 for (
unsigned int i = 0;
i < 16;
i++) {
141 if (IsRocBad(detid,
i) ==
true) {
142 std::vector<CablingPathToDetUnit>
path =
map->pathToDetUnit(detid);
143 typedef std::vector<CablingPathToDetUnit>::const_iterator
IT;
144 for (
IT it =
path.begin(); it !=
path.end(); ++it) {
158 badrocpositions.push_back(localpoint);
164 return badrocpositions;