|
|
Go to the documentation of this file.
11 edm::LogError(
"SiStripBadStrip") <<
"[" << __PRETTY_FUNCTION__ <<
"] SiStripBadStrip for DetID " <<
DetId
12 <<
" is already stored. Skippig 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;
static const std::string input
const Range getRange(const uint32_t detID) const
data decode(const unsigned int &value) const
bool put(const uint32_t &detID, const InputVector &vect)
std::pair< ContainerIterator, ContainerIterator > Range
void printDebug(std::stringstream &ss, const TrackerTopology *trackerTopo) const
__host__ constexpr __device__ RandomIt lower_bound(RandomIt first, RandomIt last, const T &value, Compare comp={})
unsigned short firstStrip
Range getRangeByPos(unsigned short pos) const
void getDetIds(std::vector< uint32_t > &DetIds_) const
void printSummary(std::stringstream &ss, const TrackerTopology *trackerTopo) const
Registry::const_iterator RegistryIterator