10 DDsvalues_type::const_iterator sit =
sv.begin();
11 DDsvalues_type::const_iterator sed =
sv.end();
30 DDsvalues_type::const_iterator ted =
target.end();
31 for (; sit != sed; ++sit) {
32 DDsvalues_type::const_iterator
it =
find(
target.begin(), ted, (*sit).first);
43 DDsvalues_type::const_iterator
it =
s.begin();
44 for (;
it !=
s.end(); ++
it) {
57 std::ostream &operator<<(std::ostream &os, const std::vector<const DDsvalues_type *> &
v) {
58 for (
const auto &
i :
v) {
81 DDsvalues_type::const_iterator
it =
find(*
p,
v);
89 unsigned int DDfetch(
const std::vector<const DDsvalues_type *> &sp,
DDValue &toFetch, std::vector<DDValue> &
result) {
90 unsigned int count = 0;
91 for (
const auto &
it : sp) {
93 result.emplace_back(toFetch);
DDsvalues_type::value_type DDsvalues_Content_type
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
void merge(DDsvalues_type &target, DDsvalues_type const &sv, bool sortit)
std::ostream & operator<<(std::ostream &os, const DDsvalues_type &s)
bool DDfetch(const DDsvalues_type *p, DDValue &v)
helper for retrieving DDValues from DDsvalues_type *.