8 geom_(geom),deltaRmin_(dRmin),deltaRmax_(dRmax),detector_(
DetId::
Detector(0)),subdet_(0) {
12 geom_(geom),deltaRmin_(dRmin),deltaRmax_(dRmax),detector_(detector),subdet_(subdet) {
17 return select(p,inputCollection);
33 std::set_difference(dis_all.begin(),dis_all.end(),
34 dis_excl.begin(),dis_excl.end(),
35 std::inserter(dis,dis.begin()));
39 for (CaloSubdetectorGeometry::DetIdSet::iterator
i=dis.begin();
i!=dis.end();
i++) {
40 if (
i->subdetId()!=subdet)
continue;
41 j=inputCollection.
find(*
i);
42 if (j!=je) c->
add(&(*j));
47 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
virtual DetIdSet getCells(const GlobalPoint &r, double dR) const
Get a list of all cells within a dR of the given cell.
std::auto_ptr< CaloRecHitMetaCollectionV > select(double eta, double phi, const CaloRecHitMetaCollectionV &inputCollection)
DetId::Detector detector_
CaloDualConeSelector(double dRmin, double dRmax, const CaloGeometry *geom)
const CaloGeometry * geom_