22 const std::size_t sz =
data_.size();
26 const std::size_t szm1 = sz - 1;
27 for (std::size_t
i=0;
i<szm1; ++
i)
38 data_.push_back(std::pair<uint32_t,uint32_t>(detId, index));
48 " collection is not sorted");
49 std::pair<uint32_t,uint32_t>
search(detId, 0U);
54 if (it->first == detId)
62 const std::size_t sz =
data_.size();
66 for (std::size_t
i=0;
i<sz; ++
i)
std::vector< T >::const_iterator search(const cond::Time_t &val, const std::vector< T > &container)
unsigned largestIndex() const
U second(std::pair< T, U > const &p)
void add(unsigned transformedId, unsigned index)
std::vector< std::pair< uint32_t, uint32_t > > data_
unsigned find(unsigned detId) const
static const unsigned InvalidIndex