1 #ifndef SiStripBadStrip_h
2 #define SiStripBadStrip_h
7 #include<boost/cstdint.hpp>
50 typedef std::pair<ContainerIterator, ContainerIterator>
Range;
65 void getDetIds(std::vector<uint32_t>& DetIds_)
const;
83 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
std::vector< unsigned int >::const_iterator ContainerIterator
virtual ~SiStripBadStrip()
Registry::const_iterator RegistryIterator
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_
const Range getRange(const uint32_t &detID) const
std::vector< unsigned int > Container
RegistryIterator getRegistryVectorBegin() 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_