13 #include <ext/hash_map>
21 std::unique_ptr<SiStripBadStrip>
getNewObject()
override;
39 auto obj = std::make_unique<SiStripBadStrip>();
41 unsigned int firstBadStrip = 0;
42 unsigned short NconsecutiveBadStrips;
43 unsigned int theBadStripRange;
46 std::vector<unsigned int> theSiStripVector;
48 NconsecutiveBadStrips = detInfo.getNumberOfApvsAndStripLength(*it).first * 128;
49 theBadStripRange =
obj->encode(firstBadStrip, NconsecutiveBadStrips);
52 <<
" BadModule " << *it <<
" \t"
53 <<
" firstBadStrip " << firstBadStrip <<
"\t "
54 <<
" NconsecutiveBadStrips " << NconsecutiveBadStrips <<
"\t "
55 <<
" packed integer " << std::hex << theBadStripRange <<
std::dec << std::endl;
57 theSiStripVector.push_back(theBadStripRange);
61 <<
"[SiStripBadModuleByHandBuilder::analyze] detid already exists" << std::endl;