18 const std::size_t sz =
data_.size();
21 const std::size_t szm1 = sz - 1;
22 for (std::size_t
i = 0;
i < szm1; ++
i)
41 "In HcalIndexLookup::lookup:" 42 " collection is not sorted");
48 if (it->first ==
detId)
55 const std::size_t sz =
data_.size();
58 for (std::size_t
i = 0;
i < sz; ++
i)
unsigned largestIndex() const
std::vector< T >::const_iterator search(const cond::Time_t &val, const std::vector< T > &container)
std::vector< std::pair< uint32_t, uint32_t > > data_
U second(std::pair< T, U > const &p)
void add(unsigned transformedId, unsigned index)
unsigned find(unsigned detId) const
static const unsigned InvalidIndex