9 if (hits->find(thisDet) != hits->end())
10 hit.push_back( hits->find(thisDet) );
15 if (hits->find(thisDet) != hits->end())
16 hit.push_back( hits->find(thisDet) );
21 edm::PCaloHitContainer::const_iterator ihit;
22 for (ihit=hits->begin(); ihit!=hits->end(); ihit++) {
23 DetId detId(ihit->id());
24 if (detId == thisDet) {
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)