10 geom_(geom),
deltaR_(dR),detector_(detector),subdet_(subdet) {
15 return select(p,inputCollection);
31 for (CaloSubdetectorGeometry::DetIdSet::iterator
i=dis.begin();
i!=dis.end();
i++) {
32 if (
i->subdetId()!=subdet)
continue;
33 j=inputCollection.
find(*
i);
34 if (j!=je) c->
add(&(*j));
39 return std::auto_ptr<CaloRecHitMetaCollectionV>(
c);
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
std::set< DetId > DetIdSet
std::auto_ptr< CaloRecHitMetaCollectionV > select(double eta, double phi, const CaloRecHitMetaCollectionV &inputCollection)
CaloConeSelector(double dR, const CaloGeometry *geom)
virtual DetIdSet getCells(const GlobalPoint &r, double dR) const
Get a list of all cells within a dR of the given cell.
DetId::Detector detector_
const CaloGeometry * geom_