1 #ifndef CalibFormats_SiStripObjects_SiStripHashedDetId_H
2 #define CalibFormats_SiStripObjects_SiStripHashedDetId_H
42 typedef std::vector<uint32_t>::iterator
iterator;
50 inline uint32_t
unhashIndex(uint32_t hashed_index)
const;
60 void init(
const std::vector<uint32_t> &);
80 return iter -
begin();
88 if (hashed_index < static_cast<uint32_t>(
end() -
begin())) {
97 #endif // CalibFormats_SiStripObjects_SiStripHashedDetId_H
uint32_t unhashIndex(uint32_t hashed_index) const
std::vector< uint32_t >::const_iterator const_iterator
std::vector< uint32_t >::iterator iterator
static const uint32_t invalid32_
std::ostream & operator<<(std::ostream &out, const ALILine &li)
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
uint32_t hashedIndex(uint32_t det_id)
Provides dense hash map in place of DetId.
const_iterator begin() const
std::vector< uint32_t > detIds_
const_iterator end() const
void init(const std::vector< uint32_t > &)