1 #ifndef RECOCALOTOOLS_SELECTORS_CALOCONESELECTOR_H
2 #define RECOCALOTOOLS_SELECTORS_CALOCONESELECTOR_H 1
39 for (CaloSubdetectorGeometry::DetIdSet::iterator
i=dis.begin();
i!=dis.end();
i++) {
40 if (
i->subdetId()!=subdet)
continue;
41 j=inputCollection.
find(*
i);
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
std::set< DetId > DetIdSet
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.
helper::RootFunctionHelper< F, args >::root_function function(F &f)
CaloConeSelector(double dR, const CaloGeometry *geom)
const_iterator end() const
void selectCallback(double eta, double phi, const edm::SortedCollection< T > &inputCollection, std::function< void(const T &)> callback)
iterator find(key_type k)
DetId::Detector detector_