1 #ifndef SiStripBadStrip_h 2 #define SiStripBadStrip_h 9 #include<boost/cstdint.hpp> 56 typedef std::pair<ContainerIterator, ContainerIterator>
Range;
68 bool put(
const uint32_t& detID,
const InputVector& vect){
return put(detID,
Range(vect.begin(),vect.end()));}
69 bool put(
const uint32_t& detID,Range
input);
70 const Range
getRange(
const uint32_t detID)
const;
72 void getDetIds(std::vector<uint32_t>& DetIds_)
const;
90 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
Range getRangeByPos(unsigned short pos) const
std::vector< unsigned int >::const_iterator ContainerIterator
virtual ~SiStripBadStrip()
Registry::const_iterator RegistryIterator
void printDebug(std::stringstream &ss, const TrackerTopology *trackerTopo) const
static std::string const input
ContainerIterator getDataVectorEnd() const
static const uint32_t RangeBadStripShift_
RegistryIterator getRegistryVectorEnd() const
SiStripBadStrip(const SiStripBadStrip &orig)
static const uint32_t FirstBadStripMask_
static const uint32_t RangeBadStripMask_
ContainerIterator getDataVectorBegin() const
std::vector< DetRegistry > Registry
unsigned short firstStrip
static const uint32_t FlagBadStripShift_
#define COND_SERIALIZABLE
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)
void printSummary(std::stringstream &ss, const TrackerTopology *trackerTopo) const
data decode(const unsigned int &value) const
static const uint32_t FlagBadStripMask_