9 "file",
edm::FileInPath(
"CalibTracker/SiStripCommon/data/SiStripDetInfo.dat"));
19 auto obj = std::make_unique<SiStripBadStrip>();
21 unsigned int firstBadStrip = 0;
22 unsigned short NconsecutiveBadStrips;
23 unsigned int theBadStripRange;
26 std::vector<unsigned int> theSiStripVector;
29 theBadStripRange =
obj->encode(firstBadStrip, NconsecutiveBadStrips);
32 <<
" BadModule " << *it <<
" \t" 33 <<
" firstBadStrip " << firstBadStrip <<
"\t " 34 <<
" NconsecutiveBadStrips " << NconsecutiveBadStrips <<
"\t " 35 <<
" packed integer " << std::hex << theBadStripRange <<
std::dec << std::endl;
37 theSiStripVector.push_back(theBadStripRange);
39 if (!
obj->put(*it, range))
41 <<
"[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 &)