1 #ifndef DETECTOR_DESCRIPTION_CORE_DDSVALUES_H
2 #define DETECTOR_DESCRIPTION_CORE_DDSVALUES_H
16 return lh.first < rh.first;
19 inline DDsvalues_type::const_iterator
find(DDsvalues_type::const_iterator
begin,
20 DDsvalues_type::const_iterator
end,
25 if (it != end && (*it).first ==
id)
31 return find(sv.begin(), sv.end(),
id);
40 unsigned int DDfetch(
const std::vector<const DDsvalues_type *> &sp,
DDValue &toFetch, std::vector<DDValue> &
result);
43 std::ostream &operator<<(std::ostream &, const std::vector<const DDsvalues_type *> &);
uint16_t *__restrict__ id
DDsvalues_type::value_type DDsvalues_Content_type
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)
bool DDfetch(const DDsvalues_type *, DDValue &)
helper for retrieving DDValues from DDsvalues_type *.
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
Container::value_type value_type
bool operator<(DTCELinkId const &lhs, DTCELinkId const &rhs)
__host__ __device__ constexpr RandomIt lower_bound(RandomIt first, RandomIt last, const T &value, Compare comp={})