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;
std::string fullPath() const
~SiStripBadModuleByHandBuilder() override=default
T getUntrackedParameter(std::string const &, T const &) const
#define DEFINE_FWK_MODULE(type)
SiStripDetInfo read(std::string filePath)
std::unique_ptr< SiStripBadStrip > getNewObject() override
std::vector< uint32_t > BadModuleList_
Log< level::Info, false > LogInfo
std::pair< ContainerIterator, ContainerIterator > Range
static constexpr char const *const kDefaultFile
SiStripBadModuleByHandBuilder(const edm::ParameterSet &)