void resetTowers(edm::Event &iEvent, const edm::EventSetup &iSetup)
static const double etacent[]
int eta2ieta(double eta) const
DetId getNearestTower(const reco::PFCandidate &in) const
CaloGeometry const * geo_
~ParticleTowerProducer() override
edm::EDGetTokenT< reco::PFCandidateCollection > src_
void produce(edm::Event &, const edm::EventSetup &) override
static const double etatow[]
std::map< DetId, double > towers_
int phi2iphi(double phi, int ieta) const
ParticleTowerProducer(const edm::ParameterSet &)