11 edm::LogError(
"SiStripBadStrip") <<
"[" << __PRETTY_FUNCTION__ <<
"] SiStripBadStrip for DetID " <<
DetId 12 <<
" is already stored. Skipping this put" << std::endl;
35 __builtin_prefetch((&
v_badstrips.front()) +
p->ibegin + 24);
36 __builtin_prefetch((&
v_badstrips.front()) +
p->iend - 24);
46 __builtin_prefetch((&
v_badstrips.front()) +
p->ibegin + 24);
47 __builtin_prefetch((&
v_badstrips.front()) +
p->iend - 24);
56 DetIds_.push_back(
p->detid);
65 Registry::const_iterator it =
indexes.begin();
66 for (; it !=
indexes.end(); ++it) {
67 summaryBadModules.add(it->detid);
68 summaryBadStrips.add(it->iend - it->ibegin);
70 ss <<
"Summary of bad modules in detector:" << std::endl;
71 summaryBadModules.print(
ss,
false);
72 ss <<
"Summary of bad strip in detectors:" << std::endl;
73 summaryBadStrips.print(
ss,
false);
77 ss <<
"Printing all bad strips for all DetIds" << std::endl;
79 Registry::const_iterator it =
indexes.begin();
80 for (; it !=
indexes.end(); ++it) {
83 for (std::vector<unsigned int>::const_iterator badStrip =
range.first; badStrip !=
range.second; ++badStrip) {
85 <<
" flag=" <<
decode(*badStrip).
flag << std::endl;
void printSummary(std::stringstream &ss, const TrackerTopology *trackerTopo) const
Registry::const_iterator RegistryIterator
Log< level::Error, false > LogError
const Range getRange(const uint32_t detID) const
void getDetIds(std::vector< uint32_t > &DetIds_) const
static std::string const input
void printDebug(std::stringstream &ss, const TrackerTopology *trackerTopo) const
Range getRangeByPos(unsigned short pos) const
unsigned short firstStrip
std::pair< ContainerIterator, ContainerIterator > Range
data decode(const unsigned int &value) const
bool put(const uint32_t &detID, const InputVector &vect)