6 virtual int find(
const DetId&
id)
const = 0;
16 typename T::const_iterator
i;
21 return &((*m_collection)[index-
m_start]);
28 typedef std::multimap<int, CaloRecHitMetaCollectionItem*>::const_iterator
find_iterator;
31 return id.rawId()>>25;
38 pos=
i->second->find(
id);
45 std::map<int, CaloRecHitMetaCollectionItem*>::const_iterator
q=
m_items.lower_bound(i);
46 return (q==
m_items.end())?(0):(q->second->at(i));
50 for (std::map<int, CaloRecHitMetaCollectionItem*>::iterator
i=
m_items.begin();
i!=
m_items.end();
i++)
56 if (hbhe->
size()==0)
return;
59 m_items.insert(std::pair<int,CaloRecHitMetaCollectionItem*>(size_-1,i));
65 if (ho->
size()==0)
return;
68 m_items.insert(std::pair<int,CaloRecHitMetaCollectionItem*>(size_-1,i));
73 if (hf->
size()==0)
return;
76 m_items.insert(std::pair<int,CaloRecHitMetaCollectionItem*>(size_-1,i));
82 if (ecal->
size()==0)
return;
85 m_items.insert(std::pair<int,CaloRecHitMetaCollectionItem*>(size_-1,i));