Go to the documentation of this file. 1 #ifndef RECOCALOTOOLS_SELECTORS_CALOCONESELECTOR_H
2 #define RECOCALOTOOLS_SELECTORS_CALOCONESELECTOR_H 1
44 for (CaloSubdetectorGeometry::DetIdSet::iterator
i = dis.begin();
i != dis.end();
i++) {
45 if (
i->subdetId() != subdet)
std::vector< T >::const_iterator const_iterator
void selectCallback(double eta, double phi, const edm::SortedCollection< T > &inputCollection, std::function< void(const T &)> callback)
CaloConeSelector(double dR, const CaloGeometry *geom)
std::set< DetId > DetIdSet
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
virtual DetIdSet getCells(const GlobalPoint &r, double dR) const
Get a list of all cells within a dR of the given cell.
CaloConeSelector(double dR, const CaloGeometry *geom, DetId::Detector detector, int subdet=0)
DetId::Detector detector_
const CaloGeometry * geom_
void selectCallback(const GlobalPoint &p, const edm::SortedCollection< T > &inputCollection, std::function< void(const T &)> callback)