Go to the documentation of this file. 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
static const uint32_t invalid32_
uint32_t hashedIndex(uint32_t det_id)
std::vector< uint32_t > detIds_
std::vector< uint32_t >::const_iterator const_iterator
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
const_iterator begin() const
Provides dense hash map in place of DetId.
std::ostream & operator<<(std::ostream &os, const SiStripHashedDetId &)
std::vector< uint32_t >::iterator iterator
const_iterator end() const
void init(const std::vector< uint32_t > &)
uint32_t unhashIndex(uint32_t hashed_index) const