1 #ifndef RECOCALOTOOLS_SELECTORS_CALODUALCONESELECTOR_H 2 #define RECOCALOTOOLS_SELECTORS_CALODUALCONESELECTOR_H 1 44 dis_all.begin(), dis_all.end(), dis_excl.begin(), dis_excl.end(), std::inserter(dis, dis.begin()));
49 for (CaloSubdetectorGeometry::DetIdSet::iterator
i = dis.begin();
i != dis.end();
i++) {
50 if (
i->subdetId() != subdet)
DetId::Detector detector_
std::set< DetId > DetIdSet
std::vector< T >::const_iterator const_iterator
CaloDualConeSelector(double dRmin, double dRmax, 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.
const CaloGeometry * geom_
CaloDualConeSelector(double dRmin, double dRmax, const CaloGeometry *geom, DetId::Detector detector, int subdet=0)
void selectCallback(const GlobalPoint &p, const edm::SortedCollection< T > &inputCollection, std::function< void(const T &)> callback)
void selectCallback(double eta, double phi, const edm::SortedCollection< T > &inputCollection, std::function< void(const T &)> callback)
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly