1 #ifndef SiStripBadStrip_h
2 #define SiStripBadStrip_h
9 #include<boost/cstdint.hpp>
54 typedef std::pair<ContainerIterator, ContainerIterator>
Range;
70 void getDetIds(std::vector<uint32_t>& DetIds_)
const;
88 inline unsigned int encode (
const unsigned short&
first,
const unsigned short& NconsecutiveBadStrips,
const unsigned short& flag=0) {
static const uint32_t FirstBadStripShift_
void getDetIds(std::vector< uint32_t > &DetIds_) const
void printSummary(std::stringstream &ss) const
Range getRangeByPos(unsigned short pos) const
std::vector< unsigned int >::const_iterator ContainerIterator
virtual ~SiStripBadStrip()
Registry::const_iterator RegistryIterator
static std::string const input
ContainerIterator getDataVectorEnd() const
static const uint32_t RangeBadStripShift_
bool operator()(const DetRegistry &p, const uint32_t &i) const
RegistryIterator getRegistryVectorEnd() const
SiStripBadStrip(const SiStripBadStrip &orig)
static const uint32_t FirstBadStripMask_
void printDebug(std::stringstream &ss) const
static const uint32_t RangeBadStripMask_
ContainerIterator getDataVectorBegin() const
std::vector< DetRegistry > Registry
unsigned short firstStrip
static const uint32_t FlagBadStripShift_
std::vector< unsigned int > Container
RegistryIterator getRegistryVectorBegin() const
const Range getRange(const uint32_t detID) const
std::pair< ContainerIterator, ContainerIterator > Range
bool put(const uint32_t &detID, const InputVector &vect)
unsigned int encode(const unsigned short &first, const unsigned short &NconsecutiveBadStrips, const unsigned short &flag=0)
data decode(const unsigned int &value) const
static const uint32_t FlagBadStripMask_