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()
const std::pair< unsigned short, double > getNumberOfApvsAndStripLength(uint32_t detId) const
tuple SiStripDetInfoFileReader
std::vector< uint32_t > BadModuleList_
SiStripBadStrip * getNewObject()
std::pair< ContainerIterator, ContainerIterator > Range
std::string fullPath() const
bool put(const uint32_t &detID, const InputVector &vect)
SiStripDetInfoFileReader * reader
unsigned int encode(const unsigned short &first, const unsigned short &NconsecutiveBadStrips, const unsigned short &flag=0)
SiStripBadModuleByHandBuilder(const edm::ParameterSet &)