23 auto obj = std::make_unique<SiStripBadStrip>();
25 unsigned int firstBadStrip=0;
26 unsigned short NconsecutiveBadStrips;
27 unsigned int theBadStripRange;
31 std::vector<unsigned int> theSiStripVector;
34 theBadStripRange =
obj->encode(firstBadStrip,NconsecutiveBadStrips);
36 edm::LogInfo(
"SiStripBadModuleByHandBuilder") <<
" BadModule " << *it <<
" \t" 37 <<
" firstBadStrip " << firstBadStrip <<
"\t " 38 <<
" NconsecutiveBadStrips " << NconsecutiveBadStrips <<
"\t " 39 <<
" packed integer " << std::hex << theBadStripRange <<
std::dec 42 theSiStripVector.push_back(theBadStripRange);
44 if ( !
obj->put(*it,range) )
45 edm::LogError(
"SiStripBadModuleByHandBuilder")<<
"[SiStripBadModuleByHandBuilder::analyze] detid already exists"<<std::endl;
T getUntrackedParameter(std::string const &, T const &) const
~SiStripBadModuleByHandBuilder() override
const std::pair< unsigned short, double > getNumberOfApvsAndStripLength(uint32_t detId) const
std::unique_ptr< SiStripBadStrip > getNewObject() override
std::vector< uint32_t > BadModuleList_
std::pair< ContainerIterator, ContainerIterator > Range
std::string fullPath() const
SiStripDetInfoFileReader * reader
SiStripBadModuleByHandBuilder(const edm::ParameterSet &)