8 std::vector<int>::const_iterator badbegin =
chambers.begin();
9 std::vector<int>::const_iterator badend =
chambers.end();
10 std::vector<int>::const_iterator
it =
std::find(badbegin, badend, ichamber);
IndexType chamberIndex(IndexType ie, IndexType is, IndexType ir, IndexType ic) const
std::vector< int > chambers
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
bool isInBadChamber(IndexType ichamber) const
Is the chamber with index 'ichamber' flagged as bad?
int numberOfChambers() const
How many bad chambers are there>