1 #ifndef DD_DDsvalues_type_h
2 #define DD_DDsvalues_type_h
27 return lh.first < rh.first;
30 inline DDsvalues_type::const_iterator
find( DDsvalues_type::const_iterator
begin, DDsvalues_type::const_iterator
end,
unsigned int id) {
33 DDsvalues_type::const_iterator it = std::lower_bound(begin,end,v);
34 if (it!=end && (*it).first==
id)
return it;
39 return find(sv.begin(),sv.end(),id);
51 unsigned int DDfetch(
const std::vector<const DDsvalues_type *> & sp,
53 std::vector<DDValue> &
result);
63 std::ostream & operator<<(std::ostream & , const std::vector<const DDsvalues_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 *.
bool operator<(const FedChannelConnection &, const FedChannelConnection &)
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
std::maps an index to a DDValue. The index corresponds to the index assigned to the name of the std::...
Container::value_type value_type
DDsvalues_type::value_type DDsvalues_Content_type