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::set< DetId > DetIdSet
void tanh(data_T data[CONFIG_T::n_in], res_T res[CONFIG_T::n_in])
CaloConeSelector(double dR, const CaloGeometry *geom, DetId::Detector detector, int subdet=0)
std::vector< T >::const_iterator const_iterator
void selectCallback(const GlobalPoint &p, const edm::SortedCollection< T > &inputCollection, std::function< void(const T &)> callback)
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.
CaloConeSelector(double dR, const CaloGeometry *geom)
void selectCallback(double eta, double phi, const edm::SortedCollection< T > &inputCollection, std::function< void(const T &)> callback)
DetId::Detector detector_
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly