43 theDisabledModules.insert(theDisabledModules.end(), idVector.begin(), idVector.end());
48 std::vector<uint32_t> vdets;
51 std::vector<uint32_t>::const_iterator iter = vdets.begin();
52 std::vector<uint32_t>::const_iterator iterEnd = vdets.end();
54 for (; iter != iterEnd; ++iter) {
56 BadModule.
DetID = *iter;
59 if (IsModuleUsable(BadModule.
DetID))
60 addDisabledModule(BadModule);
77 std::vector<SiPixelQuality::disabledModuleType> disabledModules = theDisabledModules;
81 if (iter != disabledModules.end() && iter->DetID == detid && iter->errorType == 0)
87 std::vector<SiPixelQuality::disabledModuleType> disabledModules = theDisabledModules;
89 return disabledModules.size();
96 std::vector<SiPixelQuality::disabledModuleType> disabledModules = theDisabledModules;
101 if (iter != disabledModules.end() && iter->DetID == detid && iter->errorType == 0)
108 if (IsModuleBad(detid))
110 std::vector<SiPixelQuality::disabledModuleType> disabledModules = theDisabledModules;
114 if (iter != disabledModules.end() && iter->DetID == detid) {
115 return ((iter->BadRocs >> rocNb) & 0x1);
123 std::vector<SiPixelQuality::disabledModuleType> disabledModules = theDisabledModules;
127 if (iter != disabledModules.end() && iter->DetID == detid)
128 return iter->BadRocs;
135 std::vector<LocalPoint> badrocpositions(0);
136 for (
unsigned int i = 0;
i < 16;
i++) {
137 if (IsRocBad(detid,
i) ==
true) {
138 std::vector<CablingPathToDetUnit>
path =
map->pathToDetUnit(detid);
139 typedef std::vector<CablingPathToDetUnit>::const_iterator
IT;
140 for (
IT it =
path.begin(); it !=
path.end(); ++it) {
150 LocalPoint localpoint = topology->localPosition(thepoint);
151 badrocpositions.push_back(localpoint);
157 return badrocpositions;